/* Değişkenler */
:root {
    --primary-color: #0082CC; /* Elm Kimya mavi */
    --primary-hover: #006ba8;
    --secondary-color: #97A4AF; /* Elm Kimya gri */
    --secondary-hover: #7a8793;
    --border-color: #e0e0e0;
    --gradient-dark: #005c91;
}

/* Auth Sayfaları Genel Stil */
body.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}

/* Sol Alan - Tanıtım Bölümü */
.auth-intro {
    background: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--gradient-dark) 100%);
    color: white;
    width: 50%;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-intro::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.auth-intro h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.auth-intro .website {
    margin-top: auto;
    font-size: 1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    color: rgba(255,255,255,0.9);
}

/* Sağ Alan - Giriş Formu */
.auth-form-container {
    width: 50%;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
}

.auth-container {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.auth-logo {
    text-align: right;
    margin-bottom: 4rem;
}

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

/* Form Stilleri */
.auth-form .form-control {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    color: var(--secondary-color);
}

.auth-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 130, 204, 0.1);
    color: #2c3e50;
}

.auth-form .form-label {
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Buton Stilleri */
.auth-btn {
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    color: white;
    font-weight: 600;
    width: 100%;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 130, 204, 0.15);
    letter-spacing: 0.5px;
}

.auth-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 130, 204, 0.2);
}

/* Link Stilleri */
.auth-links {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.auth-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Checkbox Stilleri */
.form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.15em;
    cursor: pointer;
    border-color: var(--secondary-color);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    cursor: pointer;
    user-select: none;
    color: var(--secondary-color);
}

/* Alert Stilleri */
.auth-alert {
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.auth-alert.alert-danger {
    background: #fff5f5;
    color: #dc3545;
    border-left: 4px solid #dc3545;
}

.auth-alert.alert-success {
    background: #f0fff4;
    color: #0082CC;
    border-left: 4px solid #0082CC;
}

/* Invalid Feedback */
.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Responsive */
@media (max-width: 992px) {
    body.auth-page {
        flex-direction: column;
    }
    
    .auth-intro,
    .auth-form-container {
        width: 100%;
        min-height: 50vh;
        padding: 2rem;
    }
    
    .auth-intro {
        text-align: center;
        padding: 3rem 1.5rem;
    }
    
    .auth-intro h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .auth-container {
        padding: 0;
        max-width: 100%;
    }
    
    .auth-logo {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .auth-logo img {
        height: 32px;
    }
}

/* Küçük Mobil Cihazlar */
@media (max-width: 576px) {
    .auth-intro,
    .auth-form-container {
        padding: 1.5rem;
    }
    
    .auth-intro {
        min-height: 40vh;
    }
    
    .auth-intro h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .auth-form .form-control {
        padding: 0.7rem 0.9rem;
        font-size: 0.95rem;
    }
    
    .auth-btn {
        padding: 0.8rem 1.2rem;
        margin-top: 1rem;
    }
    
    .auth-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 1.2rem;
    }
    
    .form-check-label {
        font-size: 0.9rem;
    }
    
    .auth-alert {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* Yatay Mobil Görünüm */
@media (max-height: 600px) and (orientation: landscape) {
    body.auth-page {
        min-height: auto;
    }
    
    .auth-intro {
        padding: 2rem;
        min-height: auto;
    }
    
    .auth-intro h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .auth-form-container {
        padding: 2rem;
    }
    
    .auth-logo {
        margin-bottom: 1.5rem;
    }
    
    .auth-form .form-control {
        padding: 0.6rem 0.8rem;
    }
    
    .auth-btn {
        padding: 0.7rem 1rem;
        margin-top: 0.8rem;
    }
}

/* Karanlık Mod Desteği */
@media (prefers-color-scheme: dark) {
    .auth-form-container {
        background: #1a1a1a;
    }
    
    .auth-form .form-control {
        background: #2a2a2a;
        border-color: #3a3a3a;
        color: #fff;
    }
    
    .auth-form .form-label {
        color: #fff;
    }
    
    .auth-links a {
        color: #fff;
    }
    
    .auth-alert.alert-danger {
        background: rgba(220, 53, 69, 0.1);
        color: #ff6b6b;
    }
    
    .auth-alert.alert-success {
        background: rgba(0, 130, 204, 0.1);
        color: #0082CC;
    }
} 

.auth-form .form-label {
    font-weight: 500;
}

.auth-form .invalid-feedback {
    font-size: 12px;
}

.auth-form .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

.input-group-text {
    background-color: #f8f9fa;
    border-right: 0;
}

.input-group-text i {
    color: #6c757d;
}

.input-group .form-control {
    border-left: 0;
}

.input-group .form-control:focus {
    border-color: #ced4da;
    box-shadow: none;
}

.input-group .form-control:focus + .input-group-text {
    border-color: #86b7fe;
}

.input-group .btn-outline-secondary {
    border-color: #ced4da;
    color: #6c757d;
}

.input-group .btn-outline-secondary:hover {
    background-color: #f8f9fa;
    color: #495057;
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.form-check-label {
    font-size: 14px;
    color: #6c757d;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
    border-color: #86b7fe;
}

.remember-me-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.auth-btn {
    position: relative;
}

.auth-btn .spinner-border {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
}

.auth-btn.loading {
    padding-left: 40px;
}

.auth-btn.loading .spinner-border {
    display: inline-block;
}