/*
 * AnyWareX WordPress Core UI
 * Shared structural styles for AnyWareX WordPress plugins.
 * Keep product-specific components in the plugin's own stylesheet.
 */

.awxwp-core-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 14px;
    margin-bottom: 20px;
}

.awxwp-core-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.awxwp-core-logo {
    display: block;
}

.awxwp-core-product-icon {
    display: block;
    border-radius: 6px;
}

.awxwp-core-heading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.awxwp-core-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.awxwp-core-title {
    margin: 0;
    font-size: 1.8em;
    font-weight: 700;
    line-height: 1;
}

.awxwp-core-version-badges {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.awxwp-core-version-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 22px;
    padding: 2px 8px;
    border: 1px solid #c3c4c7;
    border-radius: 999px;
    background: #f6f7f7;
    color: #2c3338;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.awxwp-core-version-badge__label {
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.awxwp-core-version-badge__number {
    font-weight: 500;
    opacity: 0.78;
}

.awxwp-core-version-badge--plus {
    border-color: #72aee6;
    background: #f0f6fc;
    color: #135e96;
}

.awxwp-core-version-badge--pro {
    border-color: #a78bca;
    background: #f7f2fb;
    color: #6b3fa0;
}

.awxwp-core-subtitle {
    margin-top: 2px;
    color: #555;
    font-size: 1.2em;
    line-height: 1;
}

@media (max-width: 782px) {
    .awxwp-core-header {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .awxwp-core-logo {
        max-width: 55vw;
        height: auto;
    }
}
