:root {
    color-scheme: dark;
    --arka-ust: #020617;
    --arka-alt: #0b1736;
    --arka-parlama: #1d4ed8;
    --yuzey: rgba(15, 23, 42, 0.72);
    --yuzey-ikincil: rgba(15, 23, 42, 0.52);
    --yuzey-acik: rgba(148, 163, 184, 0.2);
    --vurgu: #60a5fa;
    --vurgu-ikincil: #c084fc;
    --vurgu-uc: #34d399;
    --vurgu-dort: #f472b6;
    --yazi: #f8fafc;
    --yazi-ikincil: #cbd5f5;
    --cizgi: rgba(148, 163, 184, 0.3);
    --golge: 0 28px 45px rgba(8, 15, 37, 0.45);
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at 10% 10%, rgba(96, 165, 250, 0.2), transparent 55%),
                radial-gradient(circle at 90% 20%, rgba(192, 132, 252, 0.22), transparent 60%),
                linear-gradient(145deg, var(--arka-ust), var(--arka-alt));
    color: var(--yazi);
    position: relative;
    overflow-x: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: 0;
    opacity: 0.6;
}

body::before {
    top: -200px;
    left: -160px;
    background: rgba(96, 165, 250, 0.55);
}

body::after {
    bottom: -220px;
    right: -120px;
    background: rgba(244, 114, 182, 0.45);
}

body > * {
    position: relative;
    z-index: 1;
}

h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.5rem;
}

p {
    margin: 0 0 1.25rem;
    line-height: 1.65;
    color: var(--yazi-ikincil);
}

ul {
    margin: 0 0 1.5rem;
    padding: 0 0 0 1.15rem;
    color: var(--yazi-ikincil);
    line-height: 1.6;
}

a {
    color: var(--vurgu);
    text-decoration: none;
    transition: opacity 0.25s ease;
}

a:hover {
    opacity: 0.75;
}

.container {
    width: min(1200px, 92vw);
    margin: 0 auto;
}

.ust-bar {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.65));
    border-bottom: 1px solid var(--cizgi);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.35);
}

.ust-bar__icerik {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    gap: 1.5rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--yazi);
    text-decoration: none;
}

.logo__imza {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--vurgu), var(--vurgu-ikincil));
    color: #0b1736;
    font-weight: 700;
}

.menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.menu a {
    color: var(--yazi-ikincil);
    font-weight: 600;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background 0.25s ease, border 0.25s ease, color 0.25s ease;
}

.menu a:hover,
.menu a.aktif {
    background: rgba(96, 165, 250, 0.15);
    border-color: rgba(96, 165, 250, 0.45);
    color: var(--yazi);
}

.menu a.cikis {
    color: #fca5a5;
    border-color: rgba(248, 113, 113, 0.3);
}

.menu a.cikis:hover {
    background: rgba(248, 113, 113, 0.12);
    color: #fef2f2;
}

.icerik {
    padding: 4rem 0 5rem;
}

main.container,
main .container {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.kart {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.75));
    border: 1px solid var(--cizgi);
    border-radius: 26px;
    padding: 2.25rem;
    box-shadow: var(--golge);
    position: relative;
    overflow: hidden;
}

.kart::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(96, 165, 250, 0.18), transparent 55%);
    pointer-events: none;
}

.kart > * {
    position: relative;
    z-index: 1;
}

.hero {
    display: grid;
    gap: 2rem;
}

.hero__baslik {
    display: grid;
    gap: 1rem;
}

.hero__etiket {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.55);
    color: var(--yazi-ikincil);
    font-weight: 600;
    width: fit-content;
}

.hero__aksiyonlar {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.hero__istatistikler {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.istatistik-kutu {
    padding: 1.5rem;
    border-radius: 22px;
    border: 1px solid rgba(96, 165, 250, 0.18);
    background: rgba(96, 165, 250, 0.12);
    backdrop-filter: blur(12px);
}

.istatistik-kutu strong {
    display: block;
    font-size: 2rem;
    color: #f1f5ff;
}

.ozellikler-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.ozellik-kart {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 20px;
    padding: 1.75rem;
    border: 1px solid rgba(99, 102, 241, 0.28);
    box-shadow: 0 20px 35px rgba(15, 23, 42, 0.35);
    display: grid;
    gap: 0.75rem;
}

.ozellik-kart__ikon {
    font-size: 1.75rem;
}

.buton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.85rem 1.6rem;
    border-radius: 16px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--vurgu), var(--vurgu-ikincil));
    color: #0b1736;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.25s ease;
    text-decoration: none;
}

.buton:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 40px rgba(96, 165, 250, 0.35);
    filter: brightness(1.05);
}

.buton--ikincil {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.4);
    color: var(--yazi-ikincil);
    backdrop-filter: blur(10px);
}

.buton--ikincil:hover {
    background: rgba(148, 163, 184, 0.12);
    color: var(--yazi);
}

.buton--tehlike {
    background: rgba(248, 113, 113, 0.18);
    color: #fecaca;
    border-color: rgba(248, 113, 113, 0.4);
    box-shadow: none;
}

.buton--tehlike:hover {
    box-shadow: 0 18px 32px rgba(248, 113, 113, 0.2);
    background: rgba(248, 113, 113, 0.24);
}

.form-grup {
    display: grid;
    gap: 0.65rem;
}

label {
    font-weight: 600;
    color: var(--yazi);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="datetime-local"],
input[type="date"],
select,
textarea {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid var(--cizgi);
    border-radius: 16px;
    padding: 0.85rem 1rem;
    color: var(--yazi);
    font: inherit;
    transition: border 0.25s ease, box-shadow 0.25s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(96, 165, 250, 0.6);
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.2);
}

textarea {
    min-height: 160px;
    resize: vertical;
}

form {
    display: grid;
    gap: 1.25rem;
}

.section-baslik {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.section-baslik h1,
.section-baslik h2 {
    margin: 0;
}

.aksiyon-grup {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tablo-wrapper {
    border-radius: 22px;
    border: 1px solid var(--cizgi);
    overflow: hidden;
    background: rgba(15, 23, 42, 0.65);
    box-shadow: 0 20px 35px rgba(8, 15, 37, 0.35);
}

.tablo {
    width: 100%;
    border-collapse: collapse;
    color: var(--yazi);
}

.tablo thead {
    background: rgba(96, 165, 250, 0.12);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
}

.tablo th,
.tablo td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    text-align: left;
}

.tablo tbody tr {
    transition: background 0.2s ease, transform 0.2s ease;
}

.tablo tbody tr:hover {
    background: rgba(148, 163, 184, 0.12);
    transform: translateX(6px);
}

.tablo tbody tr:last-child td {
    border-bottom: none;
}

.tablo .tab-actions,
.tablo .aksiyon-grup {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.etiket {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.22);
    color: #e0e7ff;
    font-weight: 600;
    font-size: 0.85rem;
}

.detaylar-panel details {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid var(--cizgi);
    border-radius: 18px;
    padding: 1.5rem;
}

.detaylar-panel summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--yazi);
}

.detaylar-panel summary::marker {
    color: var(--vurgu);
}

.mesaj {
    padding: 1.1rem 1.4rem;
    border-radius: 18px;
    border: 1px solid transparent;
    background: rgba(15, 23, 42, 0.65);
    font-weight: 600;
}

.mesaj--basari {
    border-color: rgba(52, 211, 153, 0.45);
    background: rgba(34, 197, 94, 0.18);
    color: #bbf7d0;
}

.mesaj--hata {
    border-color: rgba(248, 113, 113, 0.45);
    background: rgba(248, 113, 113, 0.18);
    color: #fecaca;
}

.mesaj--uyari {
    border-color: rgba(251, 191, 36, 0.45);
    background: rgba(251, 191, 36, 0.18);
    color: #fef3c7;
}

.giris-sayfasi {
    min-height: calc(100vh - 180px);
    display: grid;
    place-items: center;
    padding: 3rem 1rem;
}

.giris-kutusu {
    width: min(480px, 100%);
    display: grid;
    gap: 1rem;
}

.alt-bar {
    border-top: 1px solid var(--cizgi);
    background: rgba(15, 23, 42, 0.75);
    text-align: center;
    padding: 2rem 0;
    color: var(--yazi-ikincil);
    backdrop-filter: blur(16px);
}

.alt-bar a {
    color: inherit;
    text-decoration: underline;
}

.yardim-kutusu {
    display: grid;
    gap: 0.5rem;
    border-radius: 18px;
    padding: 1.25rem;
    background: rgba(15, 23, 42, 0.55);
    border: 1px dashed rgba(148, 163, 184, 0.4);
}

.yardim-kutusu strong {
    color: var(--yazi);
}

.form-cift {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.arama-formu {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: center;
}

.arama-formu .buton {
    justify-self: start;
}

.table-aksiyon form {
    display: inline-flex;
}

.table-aksiyon button,
.tab-actions a {
    font-weight: 600;
    font-size: 0.85rem;
}

.table-aksiyon button {
    border-radius: 12px;
    padding: 0.5rem 1rem;
}

@media (max-width: 860px) {
    .ust-bar__icerik {
        flex-direction: column;
        align-items: stretch;
    }

    .menu {
        justify-content: center;
    }

    .hero {
        text-align: center;
    }

    .hero__aksiyonlar {
        justify-content: center;
    }

    .hero__istatistikler {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
}

@media (max-width: 600px) {
    .kart {
        padding: 1.75rem;
    }

    .buton {
        width: 100%;
    }

    .menu {
        gap: 0.5rem;
    }

    .menu a {
        width: 100%;
        justify-content: center;
    }

    .alt-bar {
        padding: 1.5rem 1rem;
        font-size: 0.9rem;
    }
}

.hero--ana {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: start;
}

.hero-gorsel {
    position: relative;
    min-height: 260px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(192, 132, 252, 0.18));
    border: 1px solid rgba(148, 163, 184, 0.3);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(248, 250, 252, 0.85);
    font-weight: 600;
    letter-spacing: 0.1em;
}

.hero-gorsel::before,
.hero-gorsel::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    filter: blur(80px);
}

.hero-gorsel::before {
    background: rgba(96, 165, 250, 0.35);
    top: -40px;
    left: -50px;
}

.hero-gorsel::after {
    background: rgba(192, 132, 252, 0.28);
    bottom: -60px;
    right: -40px;
}

.hero-gorsel span {
    position: relative;
    z-index: 2;
    font-size: 1.25rem;
    text-transform: uppercase;
}

.kart-icerik {
    display: grid;
    gap: 1.25rem;
}

@media (max-width: 860px) {
    .hero-gorsel {
        min-height: 200px;
    }
}

.buton--mini {
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
}

.buton--mini.buton--tehlike {
    box-shadow: none;
}

.detaylar-panel {
    margin: 1.5rem 0;
}


.detaylar-panel__form {
    margin-top: 1.25rem;
}

.aksiyon-grup--ust {
    margin-top: 1.5rem;
}

.istatistik-kutu__bilgi {
    font-size: 1.1rem;
    line-height: 1.4;
    display: block;
    color: #e2e8f0;
}

.istatistik-kutu__tarih {
    font-size: 0.9rem;
    color: rgba(226, 232, 240, 0.8);
    display: block;
    margin-top: 0.25rem;
}

.istatistik-kutu__bos {
    font-size: 1.1rem;
    display: block;
}
