/* Authentication Pages Styles */

/* Auth Section */
.auth-section {
    padding: 60px 0;
    /*background-color: #f8f9fa;*/
}

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

/* Auth Card */
.auth-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 40px;
}

/* Auth Title */
.auth-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    text-align: center;
}

.auth-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 30px;
    text-align: center;
}

/* Auth Form */
.auth-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    font-size: 0.95rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #ff4e9c;
    box-shadow: 0 0 0 2px rgba(255, 78, 156, 0.1);
}

/* Password Field */
.password-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.forgot-password-link {
    font-size: 0.85rem;
    color: #ff4e9c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password-link:hover {
    color: #e0428a;
    text-decoration: underline;
}

/* Remember Me */
.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.remember-me label {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 0;
    cursor: pointer;
}

/* Terms */
.terms {
    margin-bottom: 25px;
}

.terms label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0;
    cursor: pointer;
}

.terms a {
    color: #ff4e9c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms a:hover {
    color: #e0428a;
    text-decoration: underline;
}

/* Buttons */
.btn-full-width {
    width: 100%;
    display: block;
    padding: 12px 0;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: #ff4e9c;
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background-color: #e0428a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 78, 156, 0.3);
}

.btn-secondary {
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background-color: #f8f9fa;
    border-color: #ccc;
}

/* Social Buttons */
.auth-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-social i {
    font-size: 1.1rem;
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #eee;
}

.auth-divider span {
    padding: 0 15px;
    font-size: 0.85rem;
    color: #666;
}

/* Register/Login Links */
.auth-register,
.auth-login,
.auth-back {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

.auth-register a,
.auth-login a,
.auth-back a {
    color: #ff4e9c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-register a:hover,
.auth-login a:hover,
.auth-back a:hover {
    color: #e0428a;
    text-decoration: underline;
}

.auth-back a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-section {
        padding: 40px 0;
    }
    
    .auth-card {
        padding: 30px 20px;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
    
    .form-input {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .btn-full-width {
        padding: 11px 0;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 25px 15px;
    }
    
    .auth-title {
        font-size: 1.3rem;
    }
    
    .form-group {
        margin-bottom: 18px;
    }
    
    .auth-social {
        gap: 10px;
    }
}

/* Success/Error Messages */
.auth-message {
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.auth-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.auth-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Loading State */
.btn-primary.loading {
    background-color: #e0428a;
    cursor: not-allowed;
}

.btn-primary.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-left: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}