/* Auth Pages Styling */
.auth-main {
    min-height: 100vh;
    background: linear-gradient(135deg, #E74C3C 0%, #F39C12 100%);
    display: flex;
    align-items: center;
    padding: 6rem 0 2rem;
    position: relative;
    z-index: 1;
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 1rem;
}

.auth-card {
    background: white;
    border-radius: 16px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: #7f8c8d;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.auth-form {
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #E74C3C;
    background: white;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group select {
    cursor: pointer;
}

.form-error {
    display: block;
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    min-height: 1rem;
}

.checkbox-group {
    margin: 2rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 0.75rem;
    margin-top: 2px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #E74C3C;
    border-color: #E74C3C;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.terms-link {
    color: #E74C3C;
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

.auth-btn {
    width: 100%;
    background: linear-gradient(135deg, #E74C3C, #F39C12);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
}

.auth-btn:active {
    transform: translateY(0);
}

.auth-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.auth-footer p {
    margin: 0.5rem 0;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.auth-link {
    color: #E74C3C;
    text-decoration: none;
    font-weight: 600;
}

.auth-link:hover {
    text-decoration: underline;
}

.btn-login.active,
.btn-register.active {
    background: #E74C3C;
    color: white;
}

.btn-logout {
    background: #e74c3c;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: #c0392b;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-card {
        padding: 2rem 1.5rem;
        margin: 1rem;
        border-radius: 12px;
    }
    
    .auth-title {
        font-size: 1.75rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-row .form-group {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .auth-main {
        padding: 1rem 0;
    }
    
    .auth-card {
        padding: 1.5rem 1rem;
    }
    
    .checkbox-label {
        font-size: 0.85rem;
    }
}
