/* ===== Giriş Sayfası — Tedkik renk sistemi ===== */
/*
  primary-600: #2E7223  primary-700: #255D1C
  primary-800: #1E4A17  primary-900: #173912
  accent:      #CFD94D
*/

*, *::before, *::after { box-sizing: border-box; }

.giris-wrap {
    display: flex;
    min-height: 100vh;
}

/* ─── Sol Panel ─── */
.giris-sol {
    flex: 0 0 44%;
    background: #173912;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem 3.5rem;
    position: relative;
    overflow: hidden;
}

/* İnce noktalı doku */
.giris-sol::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

/* Sağ kenarda ince lime vurgu bandı */
.giris-sol::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, transparent 0%, #CFD94D 35%, #CFD94D 65%, transparent 100%);
    opacity: 0.5;
}

/* Büyük kitap ikonu — watermark */
.giris-sol-dekor {
    position: absolute;
    bottom: -32px;
    right: -28px;
    font-size: 260px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.04);
    pointer-events: none;
    user-select: none;
}

/* --- Sol: Üst logo --- */
.giris-sol-logo {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.giris-sol-logo img {
    height: 64px;
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

.giris-anasayfa-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.15s;
    white-space: nowrap;
}
.giris-anasayfa-btn:hover { color: rgba(255,255,255,0.85); }

/* --- Sol: Orta içerik --- */
.giris-sol-icerik {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 0;
}

.giris-sol-etiket {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #CFD94D;
    margin-bottom: 1.25rem;
}

.giris-sol-etiket::before {
    content: '';
    display: block;
    width: 18px;
    height: 1.5px;
    background: #CFD94D;
}

.giris-sol-baslik {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -1px;
    margin: 0 0 1rem 0;
}

.giris-sol-baslik em {
    font-style: normal;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 300;
}

.giris-sol-alt {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.38);
    line-height: 1.65;
    max-width: 280px;
    margin: 0;
}

/* --- Sol: Alt bilgi --- */
.giris-sol-footer {
    position: relative;
    z-index: 1;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.18);
}

/* ─── Sağ Panel ─── */
.giris-sag {
    flex: 1;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem;
}

.giris-form-alan {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem 2rem;
    box-shadow: 0 4px 24px rgba(0,0,0,.06), 0 1px 4px rgba(0,0,0,.04);
}

/* --- Sağ: Marka üstbilgi --- */
.giris-marka {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2.25rem;
}

.giris-marka-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.giris-marka-ad {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.3px;
}

.giris-marka-alt {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 400;
    margin-top: 2px;
}

/* --- Sağ: Başlık --- */
.giris-form-baslik {
    font-size: 1rem;
    font-weight: 700;
    color: #374151;
    letter-spacing: -0.2px;
    margin: 0 0 3px 0;
}

.giris-form-alt {
    font-size: 0.78rem;
    color: #b0b7c3;
    margin: 0 0 1.5rem 0;
}

/* --- Sağ: Form elemanları --- */
.giris-alan {
    margin-bottom: 0.875rem;
}

.giris-alan label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 5px;
}

.giris-input {
    width: 100%;
    height: 44px;
    padding: 0 13px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #111827;
    background: #fafafa;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
    outline: none;
    font-family: inherit;
}

.giris-input:focus {
    border-color: #2E7223;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(46, 114, 35, 0.1);
}

.giris-input::placeholder { color: #c4c9d4; }

.giris-sifre-wrap { position: relative; }

.giris-sifre-wrap .giris-input { padding-right: 42px; }

.giris-sifre-goster {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: #c4c9d4;
    cursor: pointer;
    line-height: 1;
    transition: color 0.15s;
    user-select: none;
}
.giris-sifre-goster:hover { color: #6b7280; }

/* --- Şifremi unuttum --- */
.giris-link-satir {
    display: flex;
    justify-content: flex-end;
    margin: 4px 0 1.25rem;
}

.giris-link {
    font-size: 0.78rem;
    font-weight: 500;
    color: #2E7223;
    text-decoration: none;
    transition: opacity 0.15s;
}
.giris-link:hover { opacity: 0.7; color: #2E7223; }

/* --- Giriş butonu --- */
.giris-btn {
    width: 100%;
    height: 44px;
    background: #2E7223;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    letter-spacing: -0.1px;
    box-shadow: 0 1px 3px rgba(46,114,35,0.2), 0 4px 12px rgba(46,114,35,0.12);
}

.giris-btn:hover:not(:disabled) {
    background: #255D1C;
    box-shadow: 0 2px 6px rgba(46,114,35,0.28), 0 6px 16px rgba(46,114,35,0.18);
}

.giris-btn:active:not(:disabled) { transform: scale(0.99); }
.giris-btn:disabled { opacity: 0.65; cursor: not-allowed; box-shadow: none; }

/* --- Ayraç --- */
.giris-ayrac {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 1.125rem 0;
    font-size: 0.75rem;
    color: #d1d5db;
}
.giris-ayrac::before, .giris-ayrac::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #f0f0f0;
}

/* --- OAuth butonu --- */
.giris-oauth-btn {
    width: 100%;
    height: 44px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}
.giris-oauth-btn:hover {
    border-color: #d1d5db;
    background: #f9fafb;
    color: #111827;
}
.giris-oauth-btn + .giris-oauth-btn { margin-top: 8px; }

/* Google'a özel renkli stil */
.giris-oauth-google {
    background: #fff;
    border-color: #dadce0;
    color: #3c4043;
}
.giris-oauth-google i {
    font-size: 1.1rem;
    background: linear-gradient(135deg, #4285F4 0%, #34A853 33%, #FBBC05 66%, #EA4335 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.giris-oauth-google:hover {
    border-color: #4285F4;
    background: #f8faff;
    color: #3c4043;
    box-shadow: 0 1px 6px rgba(66,133,244,0.15);
}

/* --- Bildirim mesajları --- */
.giris-mesaj {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}
.giris-mesaj-basari {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.giris-mesaj-hata {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ─── Mobil ─── */
@media (max-width: 768px) {
    .giris-sol { display: none; }
    .giris-sag { background: #f3f4f6; }
    .giris-form-alan {
        background: #fff;
        border-radius: 16px;
        padding: 2rem 1.75rem;
        box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    }
}
