/* Full-page container */
body.auth-body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f9fafb;
    padding: 1rem;
}

/* Flex container for illustration + form */
.auth-wrapper {
    display: flex;
    justify-content: center; /* ✅ keep both together */
    align-items: center;
    gap: 1.5rem; /* ✅ reduce spacing */
    width: 100%;
    max-width: 800px; /* ✅ still good overall width */
    margin: auto;
}

/* Auth card (form container) */
.auth-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 360px; /* ✅ fixed width instead of flex */
    flex-shrink: 0; /* ✅ don’t let it stretch */
}

/* Illustration */
.auth-illustration {
    width: 280px; /* ✅ fixed width */
    height: auto;
    flex-shrink: 0; /* ✅ don’t let it stretch */
}

/* Form elements */
.auth-card .form-control {
    border-radius: 8px;
    padding: 0.75rem 1rem;
}
.auth-card .btn-auth {
    border-radius: 8px;
    padding: 0.75rem;
    font-weight: 600;
}

/* Mobile layout: stack vertically */
@media (max-width: 991px) {
    .auth-wrapper {
        flex-direction: column;
        text-align: center;
        max-width: 420px;
    }

    .auth-illustration {
        width: 200px;
        margin-bottom: 1.5rem;
    }

    .auth-card {
        width: 100%;
        max-width: 360px;
    }
}
