/* ==========================================
   ERP SaaS - Kiracı Panel Giriş Stili
   Premium Beyaz Tema - Giriş Sayfası
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #F8FAFC;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.giris-konteyner {
    display: flex;
    width: 100%;
    max-width: 960px;
    min-height: 600px;
    margin: 2rem;
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #E2E8F0;
}

/* Sol Panel */
.giris-sol {
    flex: 1;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #6366F1 100%);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.giris-sol::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.giris-sol::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.giris-marka {
    position: relative;
    z-index: 1;
    margin-bottom: 3rem;
}

.marka-ikon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
}

.giris-marka h1 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.35rem;
}

.giris-marka p {
    font-size: 0.88rem;
    opacity: 0.8;
    font-weight: 400;
}

.giris-ozellikler {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.ozellik-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    opacity: 0.9;
}

.ozellik-item i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    opacity: 0.8;
}

/* Sağ Panel */
.giris-sag {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: #FFFFFF;
}

.giris-form-alan {
    width: 100%;
    max-width: 360px;
}

.giris-form-alan h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1E293B;
    margin-bottom: 0.35rem;
    letter-spacing: -0.3px;
}

.giris-aciklama {
    font-size: 0.88rem;
    color: #64748B;
    margin-bottom: 2rem;
}

/* Form */
.form-grubu {
    margin-bottom: 1.25rem;
}

.form-etiket {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748B;
    margin-bottom: 0.4rem;
}

.form-etiket i {
    margin-right: 0.25rem;
}

.form-input {
    width: 100%;
    padding: 0.7rem 0.95rem;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    color: #1E293B;
    background: #FFFFFF;
    transition: all 0.2s ease;
    outline: none;
}

.form-input:focus {
    border-color: #4F46E5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.form-input::placeholder {
    color: #94A3B8;
}

.sifre-alan {
    position: relative;
}

.sifre-alan .form-input {
    padding-right: 2.75rem;
}

.sifre-goster-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    color: #94A3B8;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.sifre-goster-btn:hover {
    color: #4F46E5;
    background: #EEF2FF;
}

/* Giriş Butonu */
.giris-btn {
    width: 100%;
    padding: 0.75rem;
    background: #4F46E5;
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.giris-btn:hover:not(:disabled) {
    background: #4338CA;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
    transform: translateY(-1px);
}

.giris-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Hata Mesajı */
.alert-danger {
    background: #FEE2E2;
    border: 1px solid #FECACA;
    color: #991B1B;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.d-none { display: none !important; }

/* Spinner */
.spinner-border {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spinGiris 0.6s linear infinite;
}

@keyframes spinGiris {
    to { transform: rotate(360deg); }
}

/* Alt Bilgi */
.giris-alt {
    margin-top: 2.5rem;
    text-align: center;
}

.giris-alt p {
    font-size: 0.72rem;
    color: #94A3B8;
}

/* Responsive */
@media (max-width: 768px) {
    .giris-konteyner {
        flex-direction: column;
        margin: 0;
        min-height: 100vh;
        border-radius: 0;
    }

    .giris-sol {
        padding: 2rem;
        min-height: auto;
    }

    .giris-ozellikler {
        display: none;
    }

    .giris-sag {
        padding: 2rem 1.5rem;
    }
}

