.mr-turnstile-wrap {
    display: flex;
    justify-content: center;
    min-height: 65px;
}

.mr-turnstile-wrap .cf-turnstile {
    width: 100%;
    max-width: 302px;
}

.mr-auth-page {
    background: var(--mr-cream);
    padding: 3rem 0 4rem;
}

.upskill-login-register-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    max-width: 980px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(19, 31, 52, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.auth-left-column {
    position: relative;
    background: linear-gradient(145deg, var(--mr-primary) 0%, #c94e38 45%, var(--mr-navy) 100%);
    color: #fff;
    padding: 3rem 2.5rem;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.auth-welcome-content {
    position: relative;
    z-index: 2;
}

.auth-welcome-title {
    font-family: var(--mr-heading-font);
    font-size: 1.75rem;
    margin: 0 0 1rem;
    color: #fff;
}

.auth-welcome-content p {
    margin: 0;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.auth-decoration-circle {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    right: -60px;
    bottom: -40px;
    z-index: 1;
}

.auth-right-column {
    padding: 2.5rem 2.5rem 2rem;
}

.auth-tabs {
    display: flex;
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
    gap: 1.5rem;
    border-bottom: 2px solid #eee;
}

.auth-tabs li a {
    display: block;
    padding: 0 0 0.85rem;
    font-weight: 700;
    color: #888;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
}

.auth-tabs li.active a,
.auth-tabs li a:hover {
    color: var(--mr-primary);
    border-bottom-color: var(--mr-primary);
}

.auth-form .form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--mr-navy);
}

.btn-google {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    background: #fff;
    border: 1px solid #dadce0;
    color: #3c4043;
    font-weight: 600;
    padding: .65rem 1rem;
    border-radius: 999px;
    transition: background .15s, box-shadow .15s;
    width: 100%;
    cursor: pointer;
}
button.btn-google {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}
.btn-google:hover {
    background: #f8f9fa;
    border-color: #dadce0;
    color: #202124;
    box-shadow: 0 1px 3px rgba(60, 64, 67, 0.15);
}
.auth-google-icon { width: 20px; height: 20px; flex-shrink: 0; }

.auth-form .form-control {
    border-radius: 10px;
    border-color: #e4ddd8;
    padding: 0.8rem 1rem;
}

.auth-form .form-control:focus {
    border-color: var(--mr-primary);
    box-shadow: 0 0 0 0.2rem rgba(223, 89, 65, 0.12);
}

.auth-form .btn-primary {
    padding: 0.85rem 1.5rem;
    font-weight: 700;
}

.social-divider,
.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.25rem 0;
    color: #9a8f88;
    font-size: 0.85rem;
}

.social-divider::before,
.social-divider::after,
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e8e0db;
}

@media (max-width: 991px) {
    .upskill-login-register-wrapper {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .auth-left-column {
        padding: 2rem 1.5rem;
        min-height: 180px;
    }

    .auth-right-column {
        padding: 1.75rem 1.5rem 1.5rem;
    }
}

/* Password recovery — split card matching design */
.mr-auth-recovery {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.mr-auth-recovery__left {
    background: var(--mr-primary, #df5941);
    justify-content: center;
    min-height: 420px;
    padding: 3rem 2.25rem;
}

.mr-auth-recovery__welcome {
    text-align: center;
    width: 100%;
}

.mr-auth-recovery__welcome .auth-welcome-title {
    font-size: clamp(1.65rem, 2.4vw, 2rem);
    margin-bottom: 0.75rem;
}

.mr-auth-recovery__welcome p {
    max-width: 260px;
    margin: 0 auto;
    font-size: 0.98rem;
}

.mr-auth-recovery__orb {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 2.25rem auto 0;
}

.mr-auth-recovery__orb-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.12);
}

.mr-auth-recovery__orb-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    border-radius: 50%;
    background: #fff;
}

.mr-auth-recovery__circle-tl {
    width: 260px;
    height: 260px;
    right: auto;
    left: -110px;
    top: -90px;
    bottom: auto;
    background: rgba(255, 255, 255, 0.1);
}

.mr-auth-recovery__circle-br {
    width: 280px;
    height: 280px;
    right: -120px;
    bottom: -120px;
    background: rgba(255, 255, 255, 0.08);
}

.mr-auth-recovery__right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.75rem 2.5rem;
}

.mr-auth-recovery__form .form-label {
    color: #6b7280;
    font-weight: 500;
    font-size: 0.88rem;
}

.mr-auth-recovery__form .form-control {
    background: #f3f4f6;
    border-color: #e5e7eb;
    border-radius: 10px;
}

.mr-auth-recovery__submit {
    margin-top: 0.35rem;
    padding: 0.9rem 1.5rem;
    border-radius: 10px !important;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(223, 89, 65, 0.28);
}

.mr-auth-recovery__back {
    text-align: center;
    margin-top: 1.15rem;
}

.mr-auth-recovery__back a {
    color: var(--mr-primary, #df5941);
    font-weight: 600;
    text-decoration: none;
}

.mr-auth-recovery__back a:hover {
    text-decoration: underline;
}

.auth-forgot-link {
    display: block;
    text-align: right;
    margin: -0.35rem 0 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--mr-primary, #df5941);
    text-decoration: none;
}

.auth-forgot-link:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .mr-auth-recovery {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .mr-auth-recovery__left {
        min-height: 220px;
        padding: 2rem 1.5rem;
    }

    .mr-auth-recovery__orb {
        margin-top: 1.35rem;
    }
}
