/* =====================================================
   AUTH (GİRİŞ/KAYIT) STİLLERİ
   ===================================================== */

.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0fdf4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.auth-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(135deg, #1a7f37 0%, #22c55e 100%);
    border-radius: 0 0 50% 50% / 0 0 100px 100px;
}

.auth-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 1;
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
    width: 100%;
    border: 1px solid rgba(26, 127, 55, 0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    width: 100px;
    height: 100px;
    background: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 20px rgba(26, 127, 55, 0.15);
    border: 2px solid rgba(26, 127, 55, 0.1);
    padding: 0.5rem;
    user-select: none;
}

.auth-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.auth-logo i {
    font-size: 2.5rem;
    color: var(--primary);
}

.auth-header h1 {
    font-size: 1.4rem;
    color: #1a7f37;
    margin-bottom: 0.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.auth-header p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Admin Badge */
.admin-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.admin-badge i {
    font-size: 1.1rem;
}

/* Form Hint */
.form-hint {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-form .form-group {
    margin-bottom: 0;
}

.auth-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.auth-form label i {
    color: var(--gray-400);
    width: 16px;
}

.auth-form input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

.auth-form input:focus {
    outline: none;
    border-color: #1a7f37;
    box-shadow: 0 0 0 3px rgba(26, 127, 55, 0.1);
}

.auth-form input::placeholder {
    color: var(--gray-400);
}

/* Password Input */
.password-input {
    position: relative;
}

.password-input input {
    padding-right: 3rem;
}

.toggle-password {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 0.25rem;
    transition: var(--transition);
}

.toggle-password:hover {
    color: var(--gray-600);
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--gray-600);
}

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

.forgot-link {
    color: #1a7f37;
    text-decoration: none;
    font-weight: 500;
}

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

/* Auth Button */
.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 0.5rem;
}

.auth-btn.primary {
    background: linear-gradient(135deg, #1a7f37 0%, #22c55e 100%);
    color: var(--white);
}

.auth-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(26, 127, 55, 0.4);
}

.auth-btn.primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.auth-btn.loading {
    pointer-events: none;
}

.auth-btn.success {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%) !important;
    animation: successPulse 0.5s ease;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.auth-btn.secondary {
    background: var(--gray-100);
    color: var(--gray-700);
    margin-top: 0.75rem;
}

.auth-btn.secondary:hover {
    background: var(--gray-200);
}

/* Form Info */
.form-info {
    text-align: center;
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.auth-footer p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.auth-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--gray-500);
    font-size: 0.85rem;
    background: var(--gray-50);
    padding: 0.75rem;
    border-radius: var(--radius);
    margin: 0;
}

.auth-note i {
    color: #1a7f37;
}

.auth-footer a {
    color: #1a7f37;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Auth Features */
.auth-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-700);
    text-align: center;
}

.feature i {
    font-size: 1.75rem;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(26, 127, 55, 0.1) 0%, rgba(34, 197, 94, 0.1) 100%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.feature span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-600);
}

/* Copyright */
.auth-copyright {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.8rem;
    margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 480px) {
    .auth-page {
        padding: 1rem;
    }
    
    .auth-page::before {
        height: 200px;
        border-radius: 0 0 40% 40% / 0 0 60px 60px;
    }
    
    .auth-card {
        padding: 1.5rem;
    }
    
    .auth-logo {
        width: 80px;
        height: 80px;
    }
    
    .auth-features {
        gap: 1rem;
        padding: 1rem;
    }
    
    .feature {
        font-size: 0.75rem;
    }
    
    .feature i {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
}
