/*
  Cleanbulans — Admin Giriş Ekranı
  Panelin kendi tasarım diliyle (admin.css) birebir aynı renk paleti.
*/

:root {
    --bg: #f3f5f7;
    --surface: #ffffff;
    --border: #e4e8ec;
    --text: #1f2933;
    --text-muted: #6b7684;
    --accent: #0d9488;
    --accent-koyu: #0b7d73;
    --accent-soft: rgba(13, 148, 136, 0.12);
    --sidebar-bg: #16212b;
    --sidebar-bg-alt: #1c2a36;
    --radius: 10px;
    --radius-lg: 16px;
}

* { box-sizing: border-box; }

html, body {
    height: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

svg {
    width: 20px;
    height: 20px;
    display: block;
    flex-shrink: 0;
}

.giris-shell {
    min-height: 100vh;
    display: flex;
}

/* ---------- Sol: marka paneli ---------- */

.giris-marka {
    position: relative;
    flex: 0 0 44%;
    max-width: 560px;
    background: linear-gradient(160deg, var(--sidebar-bg) 0%, var(--sidebar-bg-alt) 55%, #10181f 100%);
    color: #e3e9ee;
    padding: 3rem 3.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.giris-marka::before,
.giris-marka::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    pointer-events: none;
}

.giris-marka::before {
    width: 420px;
    height: 420px;
    background: var(--accent);
    top: -140px;
    right: -160px;
}

.giris-marka::after {
    width: 320px;
    height: 320px;
    background: #2563eb;
    bottom: -120px;
    left: -100px;
    opacity: 0.22;
}

.giris-marka-ic {
    position: relative;
    z-index: 1;
}

.giris-marka-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    margin-bottom: 3rem;
}

.giris-marka-logo span {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.05rem;
}

.giris-marka h1 {
    font-size: 2rem;
    line-height: 1.25;
    margin: 0 0 0.9rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.giris-marka p {
    margin: 0 0 2.25rem;
    color: #a6b3bf;
    font-size: 0.98rem;
    max-width: 420px;
}

.giris-ozellikler {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.giris-ozellikler li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.92rem;
    color: #cdd6df;
}

.giris-ozellikler svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

.giris-marka-alt {
    position: relative;
    z-index: 1;
    font-size: 0.8rem;
    color: #6d7a86;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------- Sağ: form ---------- */

.giris-form-alan {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
}

.giris-kutu {
    width: 100%;
    max-width: 380px;
}

.giris-kutu h2 {
    margin: 0 0 0.35rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}

.giris-alt-yazi {
    margin: 0 0 1.75rem;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.giris-hata {
    background: #fdecec;
    border: 1px solid #f3c6c6;
    color: #b02a2a;
    font-size: 0.87rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
}

.giris-etiket {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.4rem;
}

.giris-alan {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 1.15rem;
}

.giris-alan svg {
    position: absolute;
    left: 0.85rem;
    width: 17px;
    height: 17px;
    color: var(--text-muted);
    pointer-events: none;
}

.giris-alan input {
    width: 100%;
    padding: 0.72rem 0.9rem 0.72rem 2.55rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.giris-alan input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.giris-alan--sifre input {
    padding-right: 2.6rem;
}

.giris-goz {
    position: absolute;
    right: 0.6rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 7px;
    color: var(--text-muted);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.giris-goz svg {
    position: static;
    width: 18px;
    height: 18px;
    color: inherit;
}

.giris-goz:hover {
    background: var(--bg);
    color: var(--text);
}

.giris-goz.acik {
    color: var(--accent);
}

.giris-secenekler {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: -0.3rem 0 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.giris-hatirla {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
    user-select: none;
}

.giris-hatirla input {
    width: 15px;
    height: 15px;
    accent-color: var(--accent);
}

.giris-buton {
    width: 100%;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-koyu) 100%);
    color: #fff;
    font-size: 0.98rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.05s ease;
}

.giris-buton:hover {
    filter: brightness(1.06);
}

.giris-buton:active {
    transform: translateY(1px);
}

.giris-buton:disabled {
    opacity: 0.65;
    cursor: default;
}

.giris-guvenlik-notu {
    margin-top: 1.75rem;
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .giris-marka {
        display: none;
    }

    .giris-form-alan {
        min-height: 100vh;
    }
}
