/* ============================================
   PREMIUM FORM STYLES - MODERN & MOBILE FIRST
   ============================================ */

.auth-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: transparent;
    /* Assuming main body bg is used */
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    width: 100%;
    max-width: 450px;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    transform: translateY(0);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.auth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-header p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Floating Label Inputs */
.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    padding-top: 1.5rem;
    /* Space for label */
    padding-bottom: 0.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    font-weight: 500;
    color: var(--text-color);
    appearance: none;
    /* Remove default select arrow */
}

.input-group input:focus,
.input-group select:focus {
    border-color: var(--secondary-color);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(56, 178, 172, 0.1);
}

.input-label {
    position: absolute;
    top: 50%;
    left: 1.2rem;
    transform: translateY(-50%);
    font-size: 1rem;
    color: #a0aec0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

/* Active State for Label (Focus or Valid) */
.input-group input:focus~.input-label,
.input-group input:not(:placeholder-shown)~.input-label,
.input-group select:focus~.input-label,
.input-group select:valid~.input-label {
    /* select:valid requires 'required' attr */
    top: 0.8rem;
    font-size: 0.75rem;
    color: var(--secondary-color);
    font-weight: 700;
}

/* Custom Select Arrow */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '\f107';
    /* FontAwesome Angle Down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    pointer-events: none;
    transition: all 0.3s;
}

.input-group select:focus+.select-wrapper::after {
    transform: translateY(-50%) rotate(180deg);
    color: var(--secondary-color);
}

/* Stylish Button */
.btn-block {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    border-radius: 12px;
    background: var(--gradient-accent);
    /* Orange/Accent for Action */
    box-shadow: 0 10px 20px rgba(237, 137, 54, 0.3);
}

.btn-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(237, 137, 54, 0.4);
}

/* Mobile Responsiveness */
@media (max-width: 500px) {
    .auth-card {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .auth-header h2 {
        font-size: 1.75rem;
    }

    .input-group input,
    .input-group select {
        font-size: 16px;
        /* Prevent zoom on mobile */
    }
}