/* Authentication Page Styles (Login, Registration, etc.) */

/* Auth page container */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eafaf1 0%, #f6fdf9 100%);
    padding: 20px;
}

.auth-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 450px;
    position: relative;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo {
    margin-bottom: 20px;
}

.auth-logo img {
    height: 40px;
    width: auto;
}

.auth-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brand-text);
    margin-bottom: 10px;
}

.auth-subtitle {
    color: var(--brand-muted);
    font-size: 1rem;
}

/* Auth form styles */
.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-label {
    font-weight: 600;
    color: var(--brand-text);
    margin-bottom: 8px;
    display: block;
}

.auth-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-form .form-control:focus {
    border-color: var(--brand-green);
    box-shadow: 0 0 0 3px rgba(29, 185, 84, 0.1);
    outline: none;
}

.auth-form .btn {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    margin-top: 10px;
}

/* Auth links */
.auth-links {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.auth-links a {
    color: var(--brand-green);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-links a:hover {
    color: var(--brand-green-dark);
    text-decoration: underline;
}

/* Social login buttons */
.social-login {
    margin: 20px 0;
}

.social-btn {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: #fff;
    color: var(--brand-text);
    font-weight: 500;
    margin-bottom: 10px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.social-btn:hover {
    border-color: var(--brand-green);
    background: var(--brand-green-bg);
    color: var(--brand-green);
}

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

/* Divider */
.auth-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
}

.auth-divider span {
    background: #fff;
    padding: 0 15px;
    color: var(--brand-muted);
    font-size: 0.9rem;
}

/* Error messages */
.auth-error {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.auth-success {
    background: #efe;
    border: 1px solid #cfc;
    color: #3c3;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* Password strength indicator */
.password-strength {
    margin-top: 5px;
    font-size: 0.8rem;
}

.password-strength.weak {
    color: #dc3545;
}

.password-strength.medium {
    color: #ffc107;
}

.password-strength.strong {
    color: #28a745;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .auth-card {
        padding: 30px 20px;
        margin: 10px;
    }

    .auth-title {
        font-size: 1.5rem;
    }
}