.auth-container {
    min-height: calc(100vh - 100px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.auth-card {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    width: 100%;
    max-width: 450px;
    animation: fadeInUp 0.8s ease;
}

.auth-card h2 {
    color: #7c6fd6;
    margin-bottom: 40px;
    text-align: center;
    font-size: 36px;
    font-weight: 700;
}

.auth-card input, .auth-card select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
    font-size: 15px;
    background: white;
    line-height: 1.5;
}

.auth-card input:focus, .auth-card select:focus {
    border-color: #7c6fd6;
    box-shadow: 0 5px 20px rgba(124, 111, 214, 0.2);
    transform: translateY(-2px);
}

.auth-link {
    text-align: center;
    margin-top: 25px;
    color: #4a5568;
    font-size: 15px;
}

.auth-link a {
    color: #7c6fd6;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
}

.auth-link a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #7c6fd6;
    transition: width 0.3s ease;
}

.auth-link a:hover::after {
    width: 100%;
}

.auth-link a:hover {
    color: #7c6fd6;
}

/* Submit Button Styling */
.auth-card button[type="submit"] {
    width: 100%;
    padding: 15px;
    background: #4cd964;
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 30px rgba(76, 217, 100, 0.4);
    margin-top: 10px;
}

.auth-card button[type="submit"]:hover {
    background: #3ec855;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(76, 217, 100, 0.5);
}

.auth-card button[type="submit"]:active {
    transform: translateY(-1px);
}

/* Auth Icon */
.auth-icon {
    text-align: center;
    margin-bottom: 20px;
}

.auth-icon i {
    font-size: 64px;
    color: #7c6fd6;
}

/* Input Groups with Icons */
.input-group {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 15px;
    z-index: 1;
    pointer-events: none;
    line-height: 1;
    height: 15px;
    width: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-group input,
.input-group select {
    padding-left: 50px !important;
}

.auth-card button[type="submit"] i {
    margin-right: 8px;
}

.auth-link a i {
    margin-right: 5px;
    font-size: 14px;
}

/* Hide subject field by default until role is selected */
#subjectGroup {
    display: none;
    transition: all 0.3s ease;
}
