﻿/* ================== LOGIN & REGISTRATION STYLES ================== */
.section-auth {
    background-color: var(--light-bg);
    padding: 80px 20px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
}

.auth-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.auth-header {
    background: linear-gradient(135deg, var(--primary), var(--light-purple));
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
}

.auth-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.auth-header p {
    opacity: 0.9;
    font-size: 1rem;
    margin-bottom: 0;
}

.auth-body {
    padding: 30px;
}

.auth-form-group {
    margin-bottom: 1.8rem;
    position: relative;
}

.auth-label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    padding-left: 5px;
}

.auth-input-group {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.auth-input-group:focus-within {
    box-shadow: 0 0 0 3px rgba(74, 28, 106, 0.15);
}

.auth-input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    background: var(--light-gray);
    color: var(--primary);
    font-size: 1.1rem;
}

.auth-form-control {
    flex: 1;
    padding: 14px 18px;
    border: none;
    background: white;
    font-size: 1rem;
    color: var(--dark);
    transition: all 0.3s ease;
}

.auth-form-control:focus {
    outline: none;
    background: #fcfcff;
}

.auth-password-wrapper {
    display: flex;
    width: 100%;
}

.auth-toggle-password {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    background: var(--light-gray);
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-toggle-password:hover {
    background: #e6e9ed;
    color: var(--primary);
}

.btn-auth {
    background: linear-gradient(135deg, var(--primary), var(--light-purple));
    border: none;
    color: white;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 5px 15px rgba(90, 45, 130, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-auth:hover {
    background: linear-gradient(135deg, var(--light-purple), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(90, 45, 130, 0.4);
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eee;
    color: #666;
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.auth-footer a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.alert-auth {
    background: rgba(220, 53, 69, 0.08);
    color: #721c24;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 4px solid #dc3545;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 8px;
    padding-left: 5px;
}

/* Gujarati text in forms */
.gujarati.form-text {
    display: block;
    margin-top: 4px;
    font-size: 0.9rem;
}

.gujaratii.form-text {
    display: inline;
    margin-left: 1px;
}

/* Responsive adjustments for auth pages */
@media (max-width: 576px) {
    .auth-header {
        padding: 25px 20px;
    }
    
    .auth-body {
        padding: 25px 20px;
    }
    
    .auth-form-group {
        margin-bottom: 1.5rem;
    }
    
    .auth-form-control {
        padding: 12px 15px;
    }
}