/* Menajer Kariyer — temel stil */
:root {
    --font: 'Barlow', 'Segoe UI', Arial, sans-serif;
    --font-cond: 'Barlow Condensed', 'Arial Narrow', 'Segoe UI', sans-serif;

    --bg: #eceef1;
    --surface: #ffffff;
    --surface-2: #f5f6f8;
    --surface-3: #e7eaef;
    --line: #dce0e6;
    --line-strong: #c4cbd4;
    --ink: #14181d;
    --ink-2: #39414b;
    --muted: #68717c;
    --muted-2: #8b939d;

    --navy: #0f2340;
    --navy-2: #1a3561;
    --navy-soft: #e6ebf2;
    --link: #1c4f8c;
    --gold: #946a1c;
    --gold-bg: #c9a24d;
    --gold-soft: #f6eedb;
    --pos: #1e7344;
    --pos-soft: #e5f1ea;
    --neg: #b3261e;
    --neg-soft: #f8e7e5;
    --warn: #a35f12;
    --warn-soft: #f8ecdc;
    --gk: #5a4290;

    --tier-1: #c9a24d;
    --tier-2: #cdd3da;
    --tier-3: #a0653a;
    --tier-4: #737c87;

    --pitch: #2e6b3f;
    --pitch-2: #2a6339;

    --chrome-ink: #f2f0ea;
    --chrome-muted: #a8b3c2;
    --r: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--bg);
    min-height: 100vh;
    font-variant-numeric: lining-nums tabular-nums;
}
a { color: var(--link); }
h1, h2, h3 { font-family: var(--font-cond); font-weight: 700; letter-spacing: .01em; line-height: 1.2; }

/* Üst şerit */
.navbar {
    background: var(--navy);
    border-bottom: 3px solid var(--gold-bg);
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar .logo {
    font-family: var(--font-cond);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--chrome-ink);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 9px;
}
.navbar .logo span { color: inherit; }
.navbar .logo .ui-svg-icon { color: var(--gold-bg); width: 1.15em; height: 1.15em; }
.navbar nav { display: flex; align-items: center; gap: 2px; height: 100%; }
.navbar nav a, .nav-drop-btn {
    font-family: var(--font-cond);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--chrome-muted);
    text-decoration: none;
    background: none;
    border: 0;
    padding: 0 11px;
    height: 100%;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    white-space: nowrap;
    transition: color .15s;
}
.navbar nav a:hover, .nav-drop-btn:hover { color: #fff; }
.navbar nav a.active { color: #fff; box-shadow: inset 0 -3px 0 var(--gold-bg); }
.navbar nav .ui-svg-icon { width: 1em; height: 1em; opacity: .85; }
.nav-toggle { display: none; background: none; border: 0; color: var(--chrome-ink); font-size: 1.4rem; cursor: pointer; padding: 4px 8px; }

.nav-dropdown { position: relative; display: inline-flex; height: 100%; }
.nav-drop-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold-bg);
    box-shadow: 0 10px 24px rgba(15, 35, 64, .14);
    padding: 6px 0;
    z-index: 200;
}
.nav-drop-menu a {
    display: flex !important;
    height: auto !important;
    align-items: center;
    gap: 9px;
    padding: 8px 16px !important;
    color: var(--ink-2) !important;
    font-family: var(--font) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: .92rem !important;
    font-weight: 500 !important;
    box-shadow: none !important;
}
.nav-drop-menu a:hover { background: var(--surface-2); color: var(--ink) !important; }
.nav-drop-menu .ui-svg-icon { color: var(--muted); }
.nav-dropdown:hover .nav-drop-menu, .nav-dropdown.is-open .nav-drop-menu { display: block; }
.nbadge {
    background: var(--neg);
    color: #fff;
    border-radius: 2px;
    padding: 0 5px;
    font-size: .7rem;
    font-weight: 700;
    margin-left: 2px;
    line-height: 1.5;
}

/* Yerleşim */
.container { max-width: 1180px; margin: 0 auto; padding: 24px 20px 40px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 18px 20px;
    margin-bottom: 16px;
}
.card h2 {
    font-family: var(--font-cond);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--ink);
    padding-bottom: 10px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--line);
}
.card h2 .ui-svg-icon, h1 .ui-svg-icon, .card h3 .ui-svg-icon { display: none; }

.stat-box {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 14px 12px;
    text-align: center;
}
.stat-box .val { font-family: var(--font-cond); font-size: 1.9rem; font-weight: 700; line-height: 1.1; color: var(--ink); }
.stat-box .lbl { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 4px; }

/* Tablolar */
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th {
    background: var(--surface-2);
    color: var(--muted);
    font-family: var(--font-cond);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid var(--line-strong);
}
td { padding: 8px 10px; border-bottom: 1px solid var(--line); }
tr:hover td { background: var(--surface-2); }

/* Rozetler */
.badge {
    display: inline-block;
    min-width: 34px;
    padding: 1px 6px;
    border-radius: 2px;
    font-family: var(--font-cond);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-align: center;
    color: #fff;
}
.badge-gk { background: var(--gk); }
.badge-cb, .badge-lb, .badge-rb { background: var(--navy-2); }
.badge-cm, .badge-cdm, .badge-cam { background: var(--pos); }
.badge-lw, .badge-rw, .badge-st { background: var(--warn); }

.overall-bar {
    display: inline-block;
    width: 34px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 2px;
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 1rem;
}
.ov-90 { background: var(--tier-1); color: #1d1503; }
.ov-80 { background: var(--tier-2); color: #14181d; }
.ov-70 { background: var(--tier-3); color: #fff; }
.ov-60 { background: var(--tier-4); color: #fff; }

/* Düğmeler */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 18px;
    border: 1px solid transparent;
    border-radius: var(--r);
    cursor: pointer;
    font-family: var(--font-cond);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.2;
    transition: background-color .15s, border-color .15s;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-success { background: var(--pos); color: #fff; }
.btn-success:hover { background: #185f38; }
.btn-danger { background: var(--neg); color: #fff; }
.btn-danger:hover { background: #962019; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink-2); }
.btn:disabled, .btn[disabled] { opacity: .55; cursor: not-allowed; }

/* Uyarılar */
.alert { padding: 11px 14px; border-radius: var(--r); margin-bottom: 16px; font-size: .94rem; border: 1px solid; border-left-width: 4px; }
.alert-success { background: var(--pos-soft); color: #15502f; border-color: #b9d8c5; border-left-color: var(--pos); }
.alert-danger { background: var(--neg-soft); color: #7d1a14; border-color: #ebc2be; border-left-color: var(--neg); }
.alert-info { background: var(--navy-soft); color: var(--navy); border-color: #c9d3e1; border-left-color: var(--navy); }

/* Hafta çubuğu, sekmeler */
.week-bar {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.week-bar .week-num { font-family: var(--font-cond); font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.tabs { display: flex; gap: 0; margin-bottom: 18px; border-bottom: 1px solid var(--line-strong); }
.tab {
    padding: 9px 16px;
    cursor: pointer;
    font-family: var(--font-cond);
    font-size: .98rem;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    background: none;
    color: var(--muted);
    border: 0;
    margin-bottom: -1px;
    border-bottom: 3px solid transparent;
}
.tab:hover { color: var(--ink); }
.tab.active { color: var(--ink); border-bottom-color: var(--navy); }

/* Form alanları */
select, input[type=text], input[type=number], input[type=email], input[type=password], input[type=search], textarea {
    background: var(--surface);
    border: 1px solid var(--line-strong);
    color: var(--ink);
    padding: 8px 11px;
    border-radius: var(--r);
    font-family: var(--font);
    font-size: .95rem;
    width: 100%;
}
select:focus, input:focus, textarea:focus { outline: 2px solid var(--navy-soft); border-color: var(--navy); }

/* Maç satırı */
.match-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 9px 4px;
    margin-bottom: 0;
}
.match-result .score {
    font-family: var(--font-cond);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    background: var(--surface-3);
    min-width: 58px;
    padding: 1px 8px;
    text-align: center;
}
.match-result .team { font-size: .95rem; flex: 1; }

/* Alt bilgi */
.bottom-bar {
    text-align: center;
    padding: 18px 16px;
    color: var(--muted);
    font-size: .82rem;
    border-top: 1px solid var(--line);
    margin-top: 32px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.bottom-bar a { color: var(--link); text-decoration: none; }
.bottom-bar a:hover { text-decoration: underline; }

.ui-svg-icon { color: inherit; }

@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .nav-toggle { display: block !important; }
    #mainNav {
        display: none;
        position: absolute;
        top: 56px; left: 0; right: 0;
        background: var(--navy);
        border-bottom: 3px solid var(--gold-bg);
        padding: 8px 12px 12px;
        flex-direction: column;
        gap: 0;
        height: auto;
        z-index: 999;
    }
    #mainNav.open { display: flex; }
    #mainNav a { padding: 10px 12px; display: block; height: auto; }
}
