.auth-v19 {
    background: #f5f2e9;
    color: #18372f;
}

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

.auth-v19-hero {
    position: relative;
    overflow: hidden;
    background:         radial-gradient(circle at 83% 16%, rgba(196, 160, 82, 0.18), transparent 28%),         linear-gradient(135deg, #0d3028 0%, #17483c 58%, #0c2b24 100%);
    color: #fff;
    padding-bottom: 72px;
}

.auth-v19-hero::after {
    content: "";
    position: absolute;
    right: -100px;
    bottom: -180px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    box-shadow: 0 0 0 44px rgba(255, 255, 255, 0.025), 0 0 0 88px rgba(255, 255, 255, 0.018);
    pointer-events: none;
}

.auth-v19-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(310px, 0.82fr);
    gap: 60px;
    align-items: end;
}

.auth-v19-kicker, .auth-v19-section-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    color: #d6b767;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.auth-v19-kicker::before, .auth-v19-section-label::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

.auth-v19-hero h1 {
    max-width: 780px;
    margin: 0;
    color: #fff !important;
    font-size: clamp(38px, 5vw, 66px);
    font-weight: 750;
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.auth-v19-hero-copy > p {
    max-width: 720px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 17px;
    line-height: 1.75;
}

.auth-v19-hero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 38px;
}

.auth-v19-hero-points > div {
    display: flex;
    gap: 12px;
    min-width: 0;
}

.auth-v19-hero-points > div > span {
    display: inline-flex;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(214, 183, 103, 0.32);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: #d6b767;
}

.auth-v19-hero-points p {
    margin: 0;
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 12.5px;
    line-height: 1.55;
}

.auth-v19-hero-points strong {
    display: block;
    margin-bottom: 3px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.auth-v19-hero-note {
    display: flex;
    gap: 18px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.075);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(10px);
}

.auth-v19-note-icon {
    display: inline-flex;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #d6b767;
    color: #12362e;
    font-size: 20px;
}

.auth-v19-hero-note span:not(.auth-v19-note-icon) {
    color: #d6b767;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.auth-v19-hero-note h2 {
    margin: 8px 0 10px;
    color: #fff !important;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
}

.auth-v19-hero-note p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68) !important;
    font-size: 13px;
    line-height: 1.65;
}

.auth-v19-main {
    padding: 88px 0 104px;
}

.auth-v19-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.78fr);
    gap: 34px;
    align-items: stretch;
    max-width: 1120px;
    margin: 0 auto;
}

.auth-v19-info-card, .auth-v19-login-card {
    border: 1px solid rgba(24, 55, 47, 0.09);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(18, 54, 46, 0.08);
}

.auth-v19-info-card {
    padding: 48px;
    background:         linear-gradient(180deg, rgba(214, 183, 103, 0.08), transparent 46%),         #fff;
}

.auth-v19-info-card h2, .auth-v19-login-card h2 {
    margin: 0;
    color: #153c33 !important;
    font-weight: 750;
    letter-spacing: -0.03em;
}

.auth-v19-info-card h2 {
    max-width: 580px;
    font-size: clamp(30px, 3vw, 43px);
    line-height: 1.12;
}

.auth-v19-info-card > p {
    max-width: 610px;
    margin: 20px 0 0;
    color: #60736d !important;
    font-size: 15px;
    line-height: 1.75;
}

.auth-v19-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.auth-v19-benefits > div {
    display: flex;
    gap: 13px;
    padding: 18px;
    border: 1px solid rgba(24, 55, 47, 0.08);
    border-radius: 17px;
    background: #fbfaf6;
}

.auth-v19-benefits i {
    flex: 0 0 auto;
    color: #b18a39;
    font-size: 18px;
}

.auth-v19-benefits span {
    color: #71827c;
    font-size: 12.5px;
    line-height: 1.55;
}

.auth-v19-benefits strong {
    display: block;
    margin-bottom: 4px;
    color: #1a443a;
    font-size: 13px;
}

.auth-v19-text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 34px;
    color: #17483c !important;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.auth-v19-text-link:hover {
    color: #9c742c !important;
}

.auth-v19-login-card {
    align-self: start;
    padding: 42px;
}

.auth-v19-card-heading h2 {
    font-size: 32px;
}

.auth-v19-card-heading p {
    margin: 10px 0 0;
    color: #6e7e79 !important;
    font-size: 14px;
    line-height: 1.65;
}

.auth-v19-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 22px;
    padding: 14px 15px;
    border: 1px solid #ebc8c5;
    border-radius: 14px;
    background: #fff4f3;
    color: #8b3029;
    font-size: 13px;
    line-height: 1.5;
}

.auth-v19-form {
    display: grid;
    gap: 20px;
    margin-top: 28px;
}

.auth-v19-field-group label, .auth-v19-label-row label {
    display: block;
    margin-bottom: 8px;
    color: #244a40;
    font-size: 12.5px;
    font-weight: 750;
}

.auth-v19-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.auth-v19-label-row a {
    margin-bottom: 8px;
    color: #9d762d !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.auth-v19-input-wrap {
    position: relative;
}

.auth-v19-input-wrap > i {
    position: absolute;
    top: 50%;
    left: 17px;
    z-index: 1;
    color: #8a9a94;
    font-size: 16px;
    transform: translateY(-50%);
}

.auth-v19-input-wrap input {
    width: 100%;
    height: 54px;
    padding: 0 18px 0 48px;
    border: 1px solid #d9dfdc;
    border-radius: 15px;
    outline: none;
    background: #fff;
    color: #18372f;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.auth-v19-input-wrap input::placeholder {
    color: #a0aaa6;
}

.auth-v19-input-wrap input:focus {
    border-color: #b9964c;
    background: #fffefb;
    box-shadow: 0 0 0 4px rgba(185, 150, 76, 0.12);
}

.auth-v19-submit {
    display: inline-flex;
    width: 100%;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid #173f35;
    border-radius: 15px;
    background: #173f35;
    color: #fff;
    font-size: 13.5px;
    font-weight: 750;
    box-shadow: 0 14px 28px rgba(23, 63, 53, 0.17);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.auth-v19-submit:hover {
    background: #0f322a;
    box-shadow: 0 18px 34px rgba(23, 63, 53, 0.22);
    transform: translateY(-1px);
}

.auth-v19-register-box {
    margin-top: 24px;
    padding: 18px;
    border: 1px solid rgba(177, 138, 57, 0.22);
    border-radius: 17px;
    background: #fbf8ef;
    text-align: center;
}

.auth-v19-register-box > span {
    color: #1b4339;
    font-size: 13px;
    font-weight: 800;
}

.auth-v19-register-box p {
    margin: 6px auto 13px;
    color: #73817c !important;
    font-size: 12.5px;
    line-height: 1.55;
}

.auth-v19-register-box a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 1px solid #b28c42;
    border-radius: 12px;
    background: transparent;
    color: #805f22 !important;
    font-size: 12.5px;
    font-weight: 750;
    text-decoration: none;
}

.auth-v19-register-box a:hover {
    background: #b28c42;
    color: #fff !important;
}

.auth-v19-security-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 18px 0 0;
    color: #82908b !important;
    font-size: 11.5px;
    line-height: 1.55;
}

.auth-v19-security-note i {
    margin-top: 1px;
    color: #69847b;
}

@media (max-width: 991.98px) {
    .auth-v19-hero {
        padding-bottom: 58px;
    }

    .auth-v19-hero-grid,     .auth-v19-layout {
        grid-template-columns: 1fr;
    }

    .auth-v19-hero-grid {
        gap: 34px;
    }

    .auth-v19-hero-note {
        max-width: 680px;
    }

    .auth-v19-layout {
        max-width: 760px;
    }

    .auth-v19-login-card {
        width: 100%;
        max-width: 620px;
        justify-self: center;
    }
}

@media (max-width: 767.98px) {
    .auth-v19-hero {
        padding-bottom: 46px;
    }

    .auth-v19-hero h1 {
        font-size: 39px;
    }

    .auth-v19-hero-copy > p {
        font-size: 15px;
    }

    .auth-v19-hero-points {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 28px;
    }

    .auth-v19-hero-note {
        padding: 22px;
        border-radius: 19px;
    }

    .auth-v19-main {
        padding: 58px 0 72px;
    }

    .auth-v19-info-card,     .auth-v19-login-card {
        padding: 28px;
        border-radius: 21px;
    }

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

@media (max-width: 479.98px) {
    .auth-v19-hero h1 {
        font-size: 34px;
    }

    .auth-v19-hero-note {
        gap: 13px;
        padding: 18px;
    }

    .auth-v19-note-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .auth-v19-hero-note h2 {
        font-size: 18px;
    }

    .auth-v19-info-card,     .auth-v19-login-card {
        padding: 23px;
    }

    .auth-v19-info-card h2 {
        font-size: 30px;
    }

    .auth-v19-card-heading h2 {
        font-size: 28px;
    }
}

/* Login page canonical layout fixes */
.auth-v19 > .auth-v19-hero {
    margin: 0 !important;
}

@media (max-width: 991.98px) {
    .auth-v19-layout {
        display: flex;
        flex-direction: column;
    }

    .auth-v19-login-card {
        order: 1;
    }

    .auth-v19-info-card {
        order: 2;
    }
}

@media (max-width: 767.98px) {
    .auth-v19-hero-points,     .auth-v19-hero-note {
        display: none;
    }

    .auth-v19-hero-grid {
        display: block;
    }

    .auth-v19-hero-copy > p {
        margin-top: 16px;
    }

    .auth-v19-main {
        padding-top: 22px;
    }

    .auth-v19-login-card {
        margin-top: 0;
    }
}

/* Login hero width alignment: use the same canonical frame as Home/About. */
.auth-v19 > .auth-v19-hero > .v19-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1180px;
    margin-right: auto;
    margin-left: auto;
}

.auth-v19 .auth-v19-hero-grid {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
}

/* Register page */
.register-v19 .register-v19-layout {
    grid-template-columns: minmax(0, 0.82fr) minmax(500px, 1.18fr);
    max-width: 1180px;
}

.register-v19 .register-v19-card {
    padding: 42px;
}

.register-v19-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 18px;
}

.register-v19-form {
    gap: 24px;
}

.register-v19-optional {
    margin-left: 5px;
    color: #8a9893;
    font-size: 10px;
    font-weight: 650;
}

.register-v19-login-box {
    margin-top: 22px;
}

@media (max-width: 991.98px) {
    .register-v19 .register-v19-layout {
        display: flex;
        max-width: 760px;
        flex-direction: column;
    }

    .register-v19 .register-v19-card {
        order: 1;
        width: 100%;
        max-width: 680px;
        align-self: center;
    }

    .register-v19 .register-v19-info {
        order: 2;
    }
}

@media (max-width: 767.98px) {
    .register-v19 .auth-v19-main {
        padding-top: 22px;
    }

    .register-v19-form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .register-v19 .register-v19-card {
        padding: 28px;
    }
}

@media (max-width: 479.98px) {
    .register-v19 .register-v19-card {
        padding: 23px;
    }
}

/* Password recovery pages */
.recovery-v19-hero-grid {
    align-items: center;
}

.recovery-v19-main {
    padding-top: 72px;
}

.recovery-v19-layout {
    display: grid;
    grid-template-columns: minmax(440px, 0.9fr) minmax(0, 1.1fr);
    gap: 34px;
    align-items: stretch;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

.recovery-v19-card, .recovery-v19-info {
    min-width: 0;
}

.recovery-v19-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 46px;
}

.recovery-v19-card h2 {
    margin: 0;
    color: #173c33;
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 750;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.recovery-v19-lead {
    margin: 18px 0 0;
    color: #64746f;
    font-size: 14px;
    line-height: 1.75;
}

.recovery-v19-lead strong {
    color: #244a40;
    overflow-wrap: anywhere;
}

.recovery-v19-form {
    margin-top: 30px;
}

.recovery-v19-field-help {
    display: block;
    margin-top: 9px;
    color: #83918d;
    font-size: 11.5px;
    line-height: 1.5;
}

.recovery-v19-back-row {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    padding-top: 23px;
    border-top: 1px solid rgba(24, 55, 47, 0.09);
}

.recovery-v19-back-row a, .recovery-v19-secondary-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #42685e;
    font-size: 12.5px;
    font-weight: 750;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.recovery-v19-back-row a:hover, .recovery-v19-secondary-link:hover {
    color: #b08c3d;
    transform: translateX(-2px);
}

.recovery-v19-info {
    padding: 46px;
}

.recovery-v19-info > p {
    max-width: 620px;
}

.recovery-v19-steps {
    display: grid;
    gap: 18px;
    margin-top: 30px;
}

.recovery-v19-steps > div {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.recovery-v19-steps > div > span {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(176, 140, 61, 0.2);
    border-radius: 15px;
    background: rgba(214, 183, 103, 0.12);
    color: #9b7730;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.08em;
}

.recovery-v19-steps strong {
    display: block;
    margin: 1px 0 5px;
    color: #254b41;
    font-size: 13.5px;
}

.recovery-v19-steps p {
    margin: 0;
    color: #71807b;
    font-size: 12px;
    line-height: 1.6;
}

.recovery-v19-support-note {
    display: flex;
    gap: 15px;
    margin-top: 34px;
    padding: 20px;
    border: 1px solid rgba(24, 55, 47, 0.08);
    border-radius: 18px;
    background: #f7f8f5;
}

.recovery-v19-support-note > i {
    display: inline-flex;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #173f35;
    color: #d6b767;
    font-size: 17px;
}

.recovery-v19-support-note strong {
    display: block;
    color: #244a40;
    font-size: 12.5px;
}

.recovery-v19-support-note p {
    margin: 5px 0 8px;
    color: #71807b;
    font-size: 11.5px;
    line-height: 1.55;
}

.recovery-v19-support-note a {
    color: #9b7730;
    font-size: 11.5px;
    font-weight: 800;
    text-decoration: none;
}

.recovery-v19-result-icon {
    display: inline-flex;
    width: 66px;
    height: 66px;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border-radius: 20px;
    font-size: 27px;
}

.recovery-v19-result-icon-success {
    background: rgba(35, 121, 91, 0.11);
    color: #23795b;
}

.recovery-v19-result-icon-error {
    background: rgba(166, 67, 67, 0.1);
    color: #a64343;
}

.recovery-v19-message {
    display: flex;
    gap: 13px;
    margin: 26px 0;
    padding: 17px 18px;
    border-radius: 16px;
}

.recovery-v19-message > i {
    margin-top: 1px;
    font-size: 17px;
}

.recovery-v19-message strong, .recovery-v19-message span {
    display: block;
}

.recovery-v19-message strong {
    margin-bottom: 3px;
    font-size: 12.5px;
}

.recovery-v19-message span {
    font-size: 11.5px;
    line-height: 1.55;
}

.recovery-v19-message-success {
    border: 1px solid rgba(35, 121, 91, 0.14);
    background: rgba(35, 121, 91, 0.07);
    color: #2d6754;
}

.recovery-v19-message-error {
    border: 1px solid rgba(166, 67, 67, 0.14);
    background: rgba(166, 67, 67, 0.065);
    color: #8e4545;
}

.recovery-v19-actions {
    display: grid;
    gap: 17px;
}

.recovery-v19-primary-link {
    justify-content: space-between;
    width: 100%;
    text-decoration: none;
}

.recovery-v19-secondary-link {
    justify-content: center;
}

.recovery-v19-password-wrap {
    padding-right: 48px;
}

.recovery-v19-password-toggle {
    position: absolute;
    top: 50%;
    right: 14px;
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #688078;
    cursor: pointer;
}

.recovery-v19-password-toggle:hover {
    background: rgba(24, 55, 47, 0.07);
    color: #173f35;
}

.recovery-v19-password-guide {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: -5px;
    padding: 13px 14px;
    border-radius: 13px;
    background: #f6f7f4;
    color: #6f7f7a;
    font-size: 11px;
    line-height: 1.5;
}

.recovery-v19-password-guide i {
    margin-top: 1px;
    color: #a98639;
}

.recovery-v19-security-list {
    grid-template-columns: 1fr;
    margin-top: 28px;
}

@media (max-width: 991.98px) {
    .recovery-v19-layout {
        display: flex;
        max-width: 720px;
        flex-direction: column;
    }

    .recovery-v19-card {
        order: 1;
    }

    .recovery-v19-info {
        order: 2;
    }
}

@media (max-width: 767.98px) {
    .recovery-v19-main {
        padding: 22px 0 72px;
    }

    .recovery-v19-card,     .recovery-v19-info {
        padding: 28px;
        border-radius: 21px;
    }

    .recovery-v19-card h2 {
        font-size: 30px;
    }

    .recovery-v19-info h2 {
        font-size: 30px;
    }
}

@media (max-width: 479.98px) {
    .recovery-v19-card,     .recovery-v19-info {
        padding: 23px;
    }

    .recovery-v19-card h2,     .recovery-v19-info h2 {
        font-size: 27px;
    }

    .recovery-v19-steps > div {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 13px;
    }

    .recovery-v19-steps > div > span {
        width: 42px;
        height: 42px;
        border-radius: 13px;
    }

    .recovery-v19-support-note {
        padding: 16px;
    }
}

/* Premium recovery return action */
.recovery-v19-primary-link {
    min-height: 50px;
    padding: 0 18px;
    border: 1px solid #173f35;
    border-radius: 13px;
    background: #173f35;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(23, 63, 53, 0.14);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
}

.recovery-v19-primary-link:hover {
    border-color: #0f3129;
    background: #0f3129;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 13px 28px rgba(23, 63, 53, 0.18);
}

.recovery-v19-primary-link i {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.1);
}
