/* ==========================================================
   COSMETICESIHAINE.RO — AUTENTIFICARE PREMIUM
   ========================================================== */

.auth-premium-page {
    --auth-gold: #b28a3b;
    --auth-gold-dark: #8c692c;
    --auth-gold-soft: #f7f0e3;
    --auth-navy: #07182e;
    --auth-navy-soft: #102943;
    --auth-text: #1d2530;
    --auth-muted: #6d7480;
    --auth-border: #e3e5e8;
    --auth-danger: #b42318;
    --auth-danger-bg: #fff1f0;
    --auth-success: #18794e;

    width: 100%;
    max-width: 100%;
    padding-top: 36px;
    padding-bottom: 54px;
    overflow: hidden;
}

.auth-premium-page *,
.auth-premium-page *::before,
.auth-premium-page *::after {
    box-sizing: border-box;
}

.auth-premium-shell {
    position: relative;
    display: grid;
    grid-template-columns:
        minmax(330px, 0.9fr)
        minmax(450px, 1.1fr);
    width: min(1180px, 100%);
    min-height: 650px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(12, 32, 54, 0.12);
    border-radius: 30px;
    background: #ffffff;
    box-shadow:
        0 30px 80px rgba(9, 28, 49, 0.13),
        0 4px 18px rgba(9, 28, 49, 0.05);
}

.auth-premium-shell--register {
    min-height: 790px;
}

.auth-premium-story {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    padding: 52px 48px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 90% 8%,
            rgba(209, 168, 78, 0.34),
            transparent 30%
        ),
        radial-gradient(
            circle at 5% 95%,
            rgba(54, 98, 140, 0.35),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            #061529 0%,
            #0b213b 55%,
            #132e4a 100%
        );
}

.auth-premium-story::before,
.auth-premium-story::after {
    content: "";
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.auth-premium-story::before {
    top: -120px;
    right: -140px;
    width: 360px;
    height: 360px;
}

.auth-premium-story::after {
    right: -90px;
    bottom: -140px;
    width: 300px;
    height: 300px;
}

.auth-premium-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    color: #ffffff;
    text-decoration: none;
}

.auth-premium-brand__mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(214, 175, 89, 0.55);
    border-radius: 14px;
    color: #f2d593;
    background: rgba(255, 255, 255, 0.07);
    font-size: 14px;
    font-weight: 950;
    letter-spacing: 0.08em;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.auth-premium-brand__name {
    font-size: 16px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.auth-premium-brand__name em {
    color: #e0bd70;
    font-style: normal;
}

.auth-premium-story__content {
    margin: 52px 0;
}

.auth-premium-eyebrow {
    display: block;
    margin-bottom: 14px;
    color: #e6c67f;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.auth-premium-story h1 {
    max-width: 520px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.auth-premium-story__lead {
    max-width: 520px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.75;
}

.auth-premium-benefits {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 32px 0 0;
    list-style: none;
}

.auth-premium-benefit {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
}

.auth-premium-benefit__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(229, 199, 131, 0.24);
    border-radius: 12px;
    color: #e6c67f;
    background: rgba(255, 255, 255, 0.06);
    font-size: 16px;
    font-weight: 900;
}

.auth-premium-benefit strong {
    display: block;
    margin-bottom: 2px;
    color: #ffffff;
    font-size: 13px;
}

.auth-premium-benefit span:last-child {
    display: block;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    line-height: 1.5;
}

.auth-premium-story__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    color: rgba(255, 255, 255, 0.54);
    font-size: 11px;
}

.auth-premium-story__footer a {
    color: rgba(255, 255, 255, 0.76);
    text-decoration: none;
}

.auth-premium-story__footer a:hover {
    color: #e6c67f;
}

.auth-premium-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 54px clamp(34px, 6vw, 74px);
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(178, 138, 59, 0.07),
            transparent 32%
        ),
        #ffffff;
}

.auth-premium-card__header {
    margin-bottom: 30px;
}

.auth-premium-card__kicker {
    display: block;
    margin-bottom: 9px;
    color: var(--auth-gold-dark);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.auth-premium-card h2 {
    margin: 0;
    color: var(--auth-text);
    font-size: clamp(30px, 3vw, 43px);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.auth-premium-card__description {
    margin: 12px 0 0;
    color: var(--auth-muted);
    font-size: 14px;
    line-height: 1.65;
}

.auth-premium-alert {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 22px;
    padding: 14px 16px;
    border: 1px solid #f3b9b5;
    border-radius: 13px;
    color: var(--auth-danger);
    background: var(--auth-danger-bg);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.55;
}

.auth-premium-alert__icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #ffffff;
    background: var(--auth-danger);
    font-size: 12px;
    font-weight: 950;
}

.auth-premium-form {
    display: grid;
    gap: 18px;
}

.auth-premium-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.auth-premium-field {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.auth-premium-field--wide {
    grid-column: 1 / -1;
}

.auth-premium-field__label {
    color: #28303a;
    font-size: 12px;
    font-weight: 850;
}

.auth-premium-field__optional {
    color: #9298a0;
    font-weight: 600;
}

.auth-premium-input-wrap {
    position: relative;
    min-width: 0;
}

.auth-premium-input {
    display: block;
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 0 15px;
    border: 1px solid #d9dde2;
    border-radius: 14px;
    outline: 0;
    color: var(--auth-text);
    background: #ffffff;
    font: inherit;
    font-size: 14px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.auth-premium-input::placeholder {
    color: #a2a8b0;
}

.auth-premium-input:hover {
    border-color: #c7cbd1;
}

.auth-premium-input:focus {
    border-color: var(--auth-gold);
    box-shadow: 0 0 0 4px rgba(178, 138, 59, 0.13);
}

.auth-premium-input:-webkit-autofill {
    -webkit-text-fill-color: var(--auth-text);
    box-shadow: 0 0 0 1000px #ffffff inset;
}

.auth-premium-input--password {
    padding-right: 84px;
}

.auth-premium-password-toggle {
    position: absolute;
    top: 50%;
    right: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 66px;
    min-height: 34px;
    padding: 0 9px;
    border: 0;
    border-radius: 9px;
    color: #6f624b;
    background: var(--auth-gold-soft);
    font-size: 11px;
    font-weight: 850;
    cursor: pointer;
    transform: translateY(-50%);
}

.auth-premium-password-toggle:hover,
.auth-premium-password-toggle:focus-visible {
    color: #ffffff;
    background: var(--auth-gold-dark);
    outline: 0;
}

.auth-premium-field__hint {
    color: #858b93;
    font-size: 11px;
    line-height: 1.5;
}

.auth-premium-form-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    min-height: 24px;
}

.auth-premium-form-meta a {
    color: var(--auth-gold-dark);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.auth-premium-form-meta a:hover {
    text-decoration: underline;
}

.auth-premium-checkbox {
    position: relative;
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    cursor: pointer;
}

.auth-premium-checkbox input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--auth-gold-dark);
}

.auth-premium-checkbox span {
    color: #626a74;
    font-size: 12px;
    line-height: 1.55;
}

.auth-premium-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 0 22px;
    border: 1px solid var(--auth-gold-dark);
    border-radius: 14px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--auth-gold) 0%,
            var(--auth-gold-dark) 100%
        );
    box-shadow: 0 12px 25px rgba(140, 105, 44, 0.22);
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.auth-premium-submit:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: 0 15px 30px rgba(140, 105, 44, 0.27);
}

.auth-premium-submit:active {
    transform: translateY(0);
}

.auth-premium-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 13px;
    align-items: center;
    margin: 25px 0 20px;
    color: #a0a5ad;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-premium-divider::before,
.auth-premium-divider::after {
    content: "";
    height: 1px;
    background: var(--auth-border);
}

.auth-premium-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 20px;
    border: 1px solid #d9dde2;
    border-radius: 14px;
    color: #28313c;
    background: #ffffff;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        color 0.2s ease,
        background-color 0.2s ease;
}

.auth-premium-secondary:hover {
    border-color: var(--auth-gold);
    color: var(--auth-gold-dark);
    background: #fffcf7;
}

.auth-premium-legal {
    margin: 18px 0 0;
    color: #8a9098;
    font-size: 10px;
    line-height: 1.65;
    text-align: center;
}

.auth-premium-legal a {
    color: #6c5a39;
    font-weight: 750;
    text-decoration: none;
}

.auth-premium-legal a:hover {
    text-decoration: underline;
}

/* Indicator parolă */

.auth-password-strength {
    display: grid;
    gap: 7px;
    margin-top: 1px;
}

.auth-password-strength__bars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}

.auth-password-strength__bar {
    height: 4px;
    border-radius: 99px;
    background: #e8eaed;
    transition: background-color 0.2s ease;
}

.auth-password-strength[data-level="1"]
.auth-password-strength__bar:nth-child(-n + 1) {
    background: #d93a32;
}

.auth-password-strength[data-level="2"]
.auth-password-strength__bar:nth-child(-n + 2) {
    background: #d88a1f;
}

.auth-password-strength[data-level="3"]
.auth-password-strength__bar:nth-child(-n + 3) {
    background: #b5a72d;
}

.auth-password-strength[data-level="4"]
.auth-password-strength__bar:nth-child(-n + 4) {
    background: var(--auth-success);
}

.auth-password-strength__text {
    color: #858b93;
    font-size: 10px;
    font-weight: 700;
}

@media (max-width: 980px) {
    .auth-premium-shell {
        grid-template-columns: minmax(280px, 0.8fr) 1.2fr;
    }

    .auth-premium-story {
        padding: 42px 32px;
    }

    .auth-premium-card {
        padding: 46px 34px;
    }
}

@media (max-width: 780px) {
    .auth-premium-page {
        padding-top: 20px;
        padding-bottom: 35px;
    }

    .auth-premium-shell,
    .auth-premium-shell--register {
        grid-template-columns: 1fr;
        min-height: 0;
        border-radius: 22px;
    }

    .auth-premium-story {
        min-height: 330px;
        padding: 30px 26px;
    }

    .auth-premium-story__content {
        margin: 38px 0 12px;
    }

    .auth-premium-story h1 {
        max-width: 600px;
        font-size: clamp(34px, 9vw, 48px);
    }

    .auth-premium-benefits {
        display: none;
    }

    .auth-premium-story__footer {
        display: none;
    }

    .auth-premium-card {
        padding: 38px 26px 42px;
    }
}

@media (max-width: 540px) {
    .auth-premium-page {
        padding-right: 12px;
        padding-left: 12px;
    }

    .auth-premium-shell {
        border-radius: 18px;
    }

    .auth-premium-story {
        min-height: 285px;
        padding: 25px 21px;
    }

    .auth-premium-brand__mark {
        width: 40px;
        height: 40px;
    }

    .auth-premium-story__content {
        margin-top: 32px;
    }

    .auth-premium-card {
        padding: 31px 20px 35px;
    }

    .auth-premium-card__header {
        margin-bottom: 24px;
    }

    .auth-premium-grid {
        grid-template-columns: 1fr;
    }

    .auth-premium-field--wide {
        grid-column: auto;
    }

    .auth-premium-form-meta {
        justify-content: flex-start;
    }
}
