﻿
.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.auth-card {
    max-width: 960px;
    width: 100%;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 18px 40px #053966;
    box-shadow: 0 18px 40px rgba(5, 57, 102, 0.12);
    background: #ffffff;
}

.auth-hero {
    background: linear-gradient(145deg, var(--truemed-primary), var(--truemed-accent-soft));
    color: #ffffff;
    padding: 2rem 2rem 2.5rem;
    position: relative;
    height: 100%;
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.85rem;
    border-radius: 999px;
    background: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.auth-hero-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 1.3rem;
    margin-bottom: 0.25rem;
}

.auth-hero-text {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.95;
    color: #fafafa;
}

.auth-hero-list {
    list-style: none;
    padding-left: 0;
    margin: 0 0 1.5rem 0;
    font-size: 0.86rem;
}

    .auth-hero-list li {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0.4rem;
    }

    .auth-hero-list i {
        font-size: 0.8rem;
    }

.hero-tagline {
    font-size: 0.8rem;
    opacity: 0.9;
}

.hero-circle {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 1px solid #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    right: -40px;
    bottom: -40px;
    opacity: 0.6;
}

.auth-form {
    padding: 2.2rem 2.3rem;
    background: #ffffff;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.auth-logo-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
}

.auth-logo-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--truemed-dark);
    line-height: 1.2;
}

.auth-logo-sub {
    font-size: 0.8rem;
    font-weight: 400;
    color: #6c757d;
}

.auth-subtitle {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1.8rem;
}

.auth-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2.1rem;
    margin-bottom: 1.5rem;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.auth-link {
    font-size: 0.8rem;
    text-decoration: none;
    color: var(--truemed-primary);
}

    .auth-link:hover {
        text-decoration: underline;
    }

.auth-footer-text {
    margin-top: 2.25rem;
    font-size: 1.0rem;
    color: #6c757d;
    text-align: center;
}

    .auth-footer-text a {
        color: var(--truemed-primary);
        text-decoration: none;
        font-weight: 500;
    }

        .auth-footer-text a:hover {
            text-decoration: underline;
        }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    color: #6c757d;
    text-decoration: none;
}

    .back-link i {
        font-size: 0.78rem;
    }

    .back-link:hover {
        color: var(--truemed-primary);
    }

.small-text {
    font-size: 0.78rem;
    color: #6c757d;
}

/* Mobile tweaks */
@media (max-width: 767.98px) {
    .auth-hero {
        display: none;
    }

    .auth-card {
        max-width: 520px;
    }

    .auth-form {
        padding: 2rem 1.5rem 1.8rem;
    }
}
