/* Kimlik Doğrulama Sayfaları Stilleri */

.auth-body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.auth-container {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.auth-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    padding: 2.5rem;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.auth-logo {
    max-height: 80px;
    width: auto;
}

.auth-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.auth-icon i {
    font-size: 2rem;
    color: white;
}

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

.auth-subtitle {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.auth-form {
    margin-top: 2rem;
}

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

.auth-form .form-label {
    font-weight: 600;
    color: #555;
    margin-bottom: 0.5rem;
}

.auth-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.auth-form .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.auth-form .input-group {
    position: relative;
}

.auth-form .input-group-text {
    background: transparent;
    border: 2px solid #e9ecef;
    border-right: none;
    border-radius: 0.75rem 0 0 0.75rem;
    color: #6c757d;
}

.auth-form .input-group .form-control {
    border-left: none;
    border-radius: 0 0.75rem 0.75rem 0;
}

.auth-form .input-group:focus-within .input-group-text {
    border-color: #667eea;
}

.btn-auth {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: white;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(102, 126, 234, 0.3);
    color: white;
}

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

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

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

.auth-divider span {
    background: white;
    padding: 0 1rem;
    color: #6c757d;
    font-size: 0.875rem;
}

.auth-footer {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    margin-top: auto;
}

.auth-footer .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Responsive Düzenlemeler */
@media (max-width: 575.98px) {
    .auth-container {
        padding: 1rem;
    }
    
    .auth-card {
        padding: 2rem 1.5rem;
        border-radius: 0.75rem;
    }
    
    .auth-logo {
        max-height: 60px;
    }
    
    .auth-icon {
        width: 60px;
        height: 60px;
    }
    
    .auth-icon i {
        font-size: 1.5rem;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
}

/* Form Validasyon Stilleri */
.was-validated .form-control:valid {
    border-color: #198754;
}

.was-validated .form-control:invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.valid-feedback {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Loading State */
.btn-auth:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-auth .spinner-border {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}

/* Remember Me Checkbox */
.form-check {
    margin: 1rem 0;
}

.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.form-check-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-check-label {
    font-size: 0.9rem;
    color: #555;
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    z-index: 10;
}

.password-toggle:hover {
    color: #495057;
}