@font-face {
    font-family: "Space Grotesk";
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url("/assets/fonts/space-grotesk-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Space Grotesk";
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url("/assets/fonts/space-grotesk-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url("/assets/fonts/inter-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url("/assets/fonts/manrope-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Sora";
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url("/assets/fonts/sora-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Sora";
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url("/assets/fonts/sora-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url("/assets/fonts/dm-sans-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url("/assets/fonts/dm-sans-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url("/assets/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url("/assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   menux.im — temel katman
   Apple "liquid glass" dili: f5f5f7 zemin, buzlu cam, pill butonlar, 3171de
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
::selection { background: rgba(49, 113, 222, .22); }

:root {
    --font-display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
    --bg: #f5f5f7;
    --ink: #1d1d1f;
    --ink-2: #424245;
    --muted: #6e6e73;
    --muted-2: #86868b;
    --line: rgba(0, 0, 0, .09);
    --line-soft: rgba(0, 0, 0, .055);
    --card: rgba(255, 255, 255, .78);
    --blue: #3171de;
    --blue-2: #4a86e8;
    --indigo: #5856d6;
    --green: #28cd41;
    --red: #ff3b30;
    --red-ink: #d70015;
    --amber: #b25000;
    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 24px;
    --shadow-card: 0 0 0 .5px rgba(0, 0, 0, .07), 0 12px 32px -8px rgba(0, 0, 0, .07), 0 2px 6px -1px rgba(0, 0, 0, .03), inset 0 1px 0 rgba(255, 255, 255, .95);
    --shadow-float: 0 0 0 .5px rgba(0, 0, 0, .09), 0 14px 36px -8px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .95);
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    font-size: 16px;
    line-height: 1.55;
    letter-spacing: -.011em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }

/* ---------- marka ---------- */
.brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; letter-spacing: -.02em; }
.brand-icon { display: block; height: 32px; width: auto; flex: none; }
.brand-logo { display: block; height: 20px; width: auto; }
@media (max-width: 620px) {
    .brand-icon { height: 26px; }
    .brand-logo { height: 16px; }
}
.brand-mark { width: 30px; height: 30px; color: var(--ink); flex: none; }
.brand-name { font-size: 1.05rem; color: var(--ink); }
.brand-dot { color: var(--blue); }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-mark { color: #fff; }
.brand-light .brand-dot { color: #7cc4ff; }

/* ---------- butonlar ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    padding: .62rem 1.1rem; border-radius: 999px;
    font-weight: 500; font-size: .9rem; line-height: 1.2; white-space: nowrap;
    border: 0; transition: transform .2s cubic-bezier(.25,.1,.25,1), background .2s ease, box-shadow .2s ease, color .2s ease;
    transform: translateY(0) scale(1);
}
.btn:active { transform: scale(.975); transition-duration: .08s; }
.btn-primary {
    background: linear-gradient(180deg, var(--blue-2) 0%, var(--blue) 100%);
    color: #fff;
    box-shadow: 0 0 0 .5px rgba(0, 82, 168, .35), 0 6px 16px -4px rgba(49, 113, 222, .38), 0 2px 4px -1px rgba(49, 113, 222, .2), inset 0 1px 0 rgba(255, 255, 255, .32);
}
.btn-primary:hover { background: linear-gradient(180deg, #5793ef 0%, #2a63c9 100%); }
.btn-ghost {
    background: rgba(255, 255, 255, .8);
    color: var(--ink);
    box-shadow: 0 0 0 .5px rgba(0, 0, 0, .09), 0 4px 12px -2px rgba(0, 0, 0, .06), inset 0 1px 0 rgba(255, 255, 255, .95);
    backdrop-filter: blur(20px) saturate(180%);
}
.btn-ghost:hover { background: #fff; }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 4px 14px -4px rgba(0, 0, 0, .25), inset 0 1px 0 #fff; }
.btn-danger {
    background: rgba(255, 59, 48, .1); color: var(--red-ink);
    box-shadow: 0 0 0 .5px rgba(215, 0, 21, .14);
}
.btn-danger:hover { background: rgba(255, 59, 48, .16); }
.btn-lg { padding: .8rem 1.4rem; font-size: 1rem; }
.btn-sm { padding: .4rem .8rem; font-size: .82rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 999px; color: var(--muted);
    background: transparent; border: 0;
    transition: background .15s ease, color .15s ease;
}
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn:hover { background: rgba(0, 0, 0, .05); color: var(--ink); }
.icon-btn-danger:hover { background: rgba(255, 59, 48, .1); color: var(--red-ink); }
.icon-btn.is-on { color: var(--blue); background: rgba(49, 113, 222, .1); }
.inline-form { display: inline-flex; margin: 0; }

/* ---------- form ---------- */
.field { display: grid; gap: .35rem; align-content: start; }
.field > label { font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.input {
    width: 100%; padding: .62rem .85rem;
    background: rgba(255, 255, 255, .92);
    border: 0; border-radius: var(--radius-sm);
    font-size: .94rem; color: var(--ink);
    box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1), inset 0 1px 2px rgba(0, 0, 0, .03);
    transition: box-shadow .15s ease, background .15s ease;
    appearance: none;
}
.input::placeholder { color: var(--muted-2); }
.input:focus { outline: none; background: #fff; box-shadow: 0 0 0 3px rgba(49, 113, 222, .22), 0 0 0 .5px var(--blue); }
.textarea { resize: vertical; min-height: 96px; }
.select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236e6e73' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .8rem center; padding-right: 2.2rem;
}
.hint { font-size: .78rem; color: var(--muted); line-height: 1.45; }
.hint a { color: var(--blue); }
.input-prefix, .input-suffix {
    display: flex; align-items: stretch; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .92);
    box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1); overflow: hidden;
}
.input-prefix > span, .input-suffix > span {
    display: flex; align-items: center; padding: 0 .7rem; color: var(--muted); font-size: .86rem;
    white-space: nowrap; background: rgba(0, 0, 0, .035);
}
.input-prefix > .input, .input-suffix > .input { box-shadow: none; background: transparent; border-radius: 0; }
.input-suffix > span { background: rgba(0, 0, 0, .035); }
.input-prefix:focus-within, .input-suffix:focus-within { box-shadow: 0 0 0 3px rgba(49, 113, 222, .22), 0 0 0 .5px var(--blue); }
.form { display: grid; gap: 1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .95rem; }
.field-full { grid-column: 1 / -1; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.check { display: flex; align-items: flex-start; gap: .55rem; font-size: .88rem; color: var(--ink-2); cursor: pointer; }
.check input { margin-top: .2rem; width: 16px; height: 16px; accent-color: var(--blue); flex: none; }
.check-inline { font-size: .82rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- kart / uyarı / rozet ---------- */
.card {
    background: var(--card);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow-card);
}
.card h3 { font-size: 1rem; letter-spacing: -.015em; margin-bottom: .9rem; font-weight: 600; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.card-head h3 { margin: 0; }
.card-actions { display: flex; gap: .5rem; margin-top: 1rem; flex-wrap: wrap; }
.card-sticky { position: sticky; top: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1rem; margin-top: 1rem; align-items: start; }

.alert {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
    padding: .8rem 1rem; border-radius: var(--radius-sm); font-size: .88rem; margin-bottom: 1rem;
    box-shadow: 0 0 0 .5px rgba(0, 0, 0, .06);
    backdrop-filter: blur(18px);
}
.alert ul { list-style: disc; padding-left: 1.1rem; display: grid; gap: .2rem; }
.alert-success { background: rgba(40, 205, 65, .12); color: #0f7a22; }
.alert-error { background: rgba(255, 59, 48, .1); color: #a3120a; }
.alert-info { background: rgba(49, 113, 222, .1); color: #0058b0; }
.alert-x { font-size: 1.15rem; line-height: 1; color: inherit; opacity: .55; padding: 0 .1rem; }
.alert-x:hover { opacity: 1; }

.badge {
    display: inline-flex; align-items: center; gap: .25rem; padding: .18rem .55rem; border-radius: 999px;
    font-size: .72rem; font-weight: 600; background: rgba(0, 0, 0, .055); color: var(--ink-2); white-space: nowrap;
}
.badge-green { background: rgba(40, 205, 65, .14); color: #0f7a22; }
.badge-amber { background: rgba(255, 149, 0, .14); color: var(--amber); }
.badge-red { background: rgba(255, 59, 48, .12); color: var(--red-ink); }
.badge-muted { background: rgba(0, 0, 0, .05); color: var(--muted); }
.tag-chip {
    display: inline-flex; align-items: center; gap: .2rem; font-size: .7rem; color: var(--ink-2);
    background: rgba(0, 0, 0, .045); border-radius: 999px; padding: .1rem .5rem;
}

/* ---------- metin yardımcıları ---------- */
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.empty { text-align: center; padding: 1.5rem .5rem; display: grid; gap: .7rem; justify-items: center; color: var(--muted); }

/* ---------- sayfa başlığı ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.15rem; flex-wrap: wrap; }
.page-head h2 { font-size: 1.42rem; letter-spacing: -.025em; font-weight: 700; }
.page-head p { margin-top: .15rem; font-size: .88rem; }
.page-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ---------- switch ---------- */
.switch { display: flex; align-items: center; gap: .7rem; cursor: pointer; font-size: .9rem; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch-track {
    width: 46px; height: 28px; border-radius: 999px; background: rgba(120, 120, 128, .2);
    position: relative; transition: background .28s cubic-bezier(.25,.1,.25,1); flex: none;
    box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .08);
}
.switch-thumb {
    position: absolute; top: 2px; left: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .18), 0 1px 2px rgba(0, 0, 0, .12);
    transition: transform .32s cubic-bezier(.25,1,.5,1);
}
.switch input:checked + .switch-track { background: linear-gradient(180deg, #2ed147 0%, #1fb135 100%); box-shadow: inset 0 0 0 .5px rgba(20, 130, 38, .3), 0 4px 12px -2px rgba(40, 205, 65, .3); }
.switch input:checked + .switch-track .switch-thumb { transform: translateX(18px); }
.switch input:focus-visible + .switch-track { outline: 3px solid rgba(49, 113, 222, .4); outline-offset: 2px; }
.switch-list { display: grid; gap: .9rem; }

/* ---------- diğer ---------- */
.progress { height: 7px; border-radius: 999px; background: rgba(0, 0, 0, .07); overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue-2), var(--blue)); border-radius: 999px; transition: width .4s ease; }
.copy-row { display: flex; gap: .5rem; }
.copy-row .input { font-size: .84rem; color: var(--muted); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.2rem; font-size: .89rem; }
.kv dt { color: var(--muted); }
.kv dd { font-weight: 600; word-break: break-word; }
.chip {
    border: 0; background: rgba(255, 255, 255, .8); border-radius: 999px; padding: .3rem .7rem;
    font-size: .79rem; color: var(--ink-2); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .08);
}
.chip:hover { background: #fff; color: var(--blue); }
code { background: rgba(0, 0, 0, .055); border-radius: 6px; padding: .08rem .3rem; font-size: .88em; }

/* ---------- dialog ---------- */
.dialog {
    border: 0; border-radius: var(--radius-lg); padding: 0; width: min(440px, calc(100% - 2rem));
    background: rgba(255, 255, 255, .94); backdrop-filter: blur(30px) saturate(180%);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .35), 0 0 0 .5px rgba(0, 0, 0, .08);
}
.dialog::backdrop { background: rgba(0, 0, 0, .32); backdrop-filter: blur(6px); }
.dialog-form { padding: 1.35rem; display: grid; gap: .95rem; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; }
.dialog-head h3 { margin: 0; font-size: 1.05rem; }
.dialog-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: .3rem; }

@media (max-width: 720px) {
    .grid-2 { grid-template-columns: 1fr; }
    .form-grid, .field-row { grid-template-columns: 1fr; }
    .page-head h2 { font-size: 1.22rem; }
}
