/* ============================================================
   LOGIN PAGE STYLES - Giriş Sayfası Stilleri
   ============================================================ */

/* ========== LAYOUT ========== */
.login-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.login-main {
    flex: 1;
    min-width: 0;
    order: 1;
}

.login-sidebar {
    width: 340px;
    flex-shrink: 0;
    order: 2;
}

/* ========== KART ========== */
.auth-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* ========== HEADER ========== */
.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 30px;
    color: white;
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 5px 0;
}

.auth-subtitle {
    color: #888;
    margin: 0;
    font-size: 14px;
}

/* ========== PREMIUM BADGE ========== */
.premium-info-badge-login {
    display: inline-block;
    margin-top: 12px;
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: #2c2c2c;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}

.premium-info-badge-login i {
    margin-right: 5px;
}

/* ========== ALERT ========== */
.alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideDown 0.5s ease;
}

.alert-success {
    background: #e8f5e9;
    color: #27ae60;
    border: 1px solid #c8e6c9;
}

.alert-error {
    background: #fff5f5;
    color: #e74c3c;
    border: 1px solid #fecaca;
}

.alert-warning {
    background: #fff3e0;
    color: #f39c12;
    border: 1px solid #ffe0b2;
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.alert-content i {
    font-size: 28px;
    flex-shrink: 0;
}

.alert-content strong {
    display: block;
    margin-bottom: 3px;
}

.alert-content p {
    margin: 0;
    font-size: 13px;
}

.alert-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.alert-close:hover {
    opacity: 1;
    background: rgba(0,0,0,0.05);
}

/* ========== FORM ========== */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-label i {
    color: #667eea;
    width: 16px;
}

.form-control {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
    outline: none;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

/* ========== PASSWORD ========== */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper .form-control {
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
}

.password-toggle:hover {
    color: #667eea;
}

/* ========== BENİ HATIRLA ========== */
.remember-group {
    margin: 5px 0;
}

.remember-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s;
    width: 100%;
}

.remember-label:hover {
    border-color: #667eea;
    background: #f0f4ff;
}

.remember-label input[type="checkbox"] {
    display: none;
}

.remember-label .checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid #ccc;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
    position: relative;
}

.remember-label input[type="checkbox"]:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.remember-label input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.remember-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.remember-text strong {
    font-size: 14px;
    color: #2c3e50;
}

.remember-text small {
    font-size: 12px;
    color: #888;
    font-weight: 400;
}

/* ========== BUTON ========== */
.btn-auth {
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.btn-auth-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-auth-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102,126,234,0.4);
}

/* ========== FOOTER ========== */
.auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.auth-footer p {
    margin: 8px 0;
    font-size: 14px;
    color: #666;
}

.auth-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.forgot-link {
    font-size: 13px;
    color: #999 !important;
}

/* ============================================================
   ANİMASYONLAR
   ============================================================ */

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 992px) {
    .login-layout {
        flex-direction: column;
    }
    
    .login-main {
        order: 1;
        width: 100%;
    }
    
    .login-sidebar {
        order: 2;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .login-layout {
        padding: 15px;
    }
    
    .auth-card {
        padding: 25px 20px;
    }
    
    .auth-title {
        font-size: 24px;
    }
    
    .auth-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .remember-label {
        padding: 10px 14px;
    }
    
    .alert-content {
        flex-wrap: wrap;
    }
    
    .alert-content i {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 20px 15px;
        border-radius: 12px;
    }
    
    .auth-title {
        font-size: 20px;
    }
    
    .auth-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .form-control {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .btn-auth {
        font-size: 14px;
        padding: 12px 16px;
    }
    
    .alert {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .alert-content {
        flex-direction: column;
        text-align: center;
    }
    
    .alert-content i {
        font-size: 28px;
    }
    
    .remember-text strong {
        font-size: 13px;
    }
    
    .remember-text small {
        font-size: 11px;
    }
    
    .premium-info-badge-login {
        font-size: 12px;
        padding: 4px 12px;
    }
}