/* === Elektronik Stok & Maliyet Takip — Modern Design === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Linear-inspired dark palette */
    --bg: #08090a;
    --bg-panel: #0d0e10;
    --bg-card: #111215;
    --bg-hover: #16181b;
    --bg-input: #0d0e10;
    --border: rgba(255,255,255,0.06);
    --border-visible: rgba(255,255,255,0.10);
    --text: #e4e5e7;
    --text-secondary: #9a9da3;
    --text-muted: #64676d;
    --accent: #5e6ad2;
    --accent-hover: #7170ff;
    --accent-light: rgba(94,106,210,0.15);
    --green: #10b981;
    --green-bg: rgba(16,185,129,0.12);
    --red: #ef4444;
    --red-bg: rgba(239,68,68,0.12);
    --yellow: #f59e0b;
    --yellow-bg: rgba(245,158,11,0.12);
    --orange: #f97316;
    --orange-bg: rgba(249,115,22,0.12);
    --radius: 8px;
    --radius-sm: 6px;
    --radius-xs: 4px;
    --shadow: 0 1px 3px rgba(0,0,0,0.5);
    --shadow-lg: 0 4px 24px rgba(0,0,0,0.6);
}

/* === Aydınlık (Açık Bej) Tema === */
:root[data-theme="light"] {
    --bg: #f5f0e6;
    --bg-panel: #faf7f0;
    --bg-card: #ffffff;
    --bg-hover: #ede7da;
    --bg-input: #fdfbf7;
    --border: rgba(0,0,0,0.08);
    --border-visible: rgba(0,0,0,0.14);
    --text: #2d2a24;
    --text-secondary: #5c574d;
    --text-muted: #8a8478;
    --accent: #4f5cc4;
    --accent-hover: #3d49b0;
    --accent-light: rgba(79,92,196,0.10);
    --green: #059669;
    --green-bg: rgba(16,185,129,0.12);
    --red: #dc2626;
    --red-bg: rgba(220,38,38,0.10);
    --yellow: #d97706;
    --yellow-bg: rgba(217,119,6,0.12);
    --orange: #ea580c;
    --orange-bg: rgba(234,88,12,0.12);
    --shadow: 0 1px 3px rgba(0,0,0,0.10);
    --shadow-lg: 0 4px 24px rgba(0,0,0,0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

/* === HEADER === */
.app-header {
    background: var(--bg-panel);
    border-bottom: 1px solid var(--border);
    padding: 8px 20px;
    min-height: 56px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.app-header h1 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.02em;
}

.header-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.user-badge {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-card);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.header-right .btn {
    font-size: 13px;
    padding: 6px 14px;
}

/* === STATS BAR === */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: var(--border);
    border-bottom: 1px solid var(--border);
}

.stat-card {
    background: var(--bg-panel);
    padding: 14px 20px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    overflow: hidden;
}

.stat-label {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.stat-value {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-sub {
    font-size: 11px;
    color: var(--text-muted);
}

.stat-card.approved .stat-value { color: var(--green); }
.stat-card.pending .stat-value { color: var(--yellow); }
.stat-card.total .stat-value { color: var(--text); }
.stat-card.critical .stat-value { color: var(--red); }

/* === TOOLBAR === */
.toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-panel);
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 200px;
    max-width: 360px;
    position: relative;
}

.search-box input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 7px 12px 7px 32px;
    font-size: 13px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.15s;
}

.search-box input:focus {
    border-color: var(--accent);
}

.search-box .search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 13px;
    pointer-events: none;
}

.filter-tabs {
    display: flex;
    gap: 4px;
}

.filter-tab {
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.filter-tab:hover { background: var(--bg-hover); color: var(--text); }
.filter-tab.active { background: var(--accent-light); color: var(--accent); border-color: var(--accent); }

.toolbar-spacer { flex: 1; }

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.15s;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}
.btn-ghost:hover { background: var(--bg-hover); color: var(--text); }

.btn-icon {
    padding: 5px 8px;
    font-size: 14px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius-xs);
    font-family: 'Inter', sans-serif;
    transition: all 0.15s;
}
.btn-icon:hover { background: var(--bg-hover); color: var(--text); }

.btn-danger { color: var(--red); }
.btn-danger:hover { background: var(--red-bg); }

.btn-small {
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 500;
    border-radius: var(--radius-xs);
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.15s;
}
.btn-small:hover { background: var(--bg-hover); color: var(--text); }
.btn-small.btn-approve { color: var(--green); border-color: transparent; }
.btn-small.btn-approve:hover { background: var(--green-bg); }
.btn-small.btn-delete { color: var(--red); border-color: transparent; }
.btn-small.btn-delete:hover { background: var(--red-bg); }

/* === MAIN TABLE === */
.main-content {
    padding: 0 20px 40px;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-top: 16px;
}

table {
    width: auto;
    min-width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 13px;
}

thead {
    background: var(--bg-card);
}

th {
    padding: 10px 14px;
    position: relative;
    text-align: left;
    font-weight: 500;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    user-select: none;
}
/* Column resize handle */
th .resize-handle {
    position: absolute;
    top: 0;
    right: 0;
    width: 14px;
    height: 100%;
    cursor: col-resize;
    z-index: 10;
    background: transparent;
}
th .resize-handle::after {
    content: '';
    position: absolute;
    top: 25%;
    bottom: 25%;
    right: 2px;
    width: 3px;
    border-radius: 2px;
    background: var(--text-muted);
    opacity: 0.55;
    transition: background 0.15s, opacity 0.15s, width 0.15s;
}
th .resize-handle:hover {
    background: var(--accent-light);
}
th .resize-handle:hover::after,
th .resize-handle:active::after,
th.resizing .resize-handle::after {
    background: var(--accent);
    opacity: 1;
    width: 4px;
}

th.right { text-align: right; }
th.center { text-align: center; }

td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    color: var(--text);
    overflow: hidden;
}

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

tr:hover td { background: var(--bg-hover); }

tr.row-critical td { background: rgba(239,68,68,0.03); }
tr.row-critical:hover td { background: rgba(239,68,68,0.06); }
tr.row-passive td { opacity: 0.45; }
tr.row-passive:hover td { opacity: 0.6; }

/* Column widths */
.col-check { min-width: 42px; text-align: center; }
.col-pn { min-width: 150px; }
.col-pn .pn-text { font-weight: 500; color: var(--text); font-size: 12px; font-family: 'SF Mono', 'JetBrains Mono', 'Consolas', monospace; letter-spacing: 0; }
.col-name { min-width: 140px; }
.col-usage { min-width: 100px; font-size: 12px; color: var(--text-secondary); }
.col-supplier { min-width: 110px; font-size: 12px; }
.col-price { min-width: 90px; text-align: right; font-variant-numeric: tabular-nums; }
.col-stock { min-width: 110px; text-align: center; }
.col-order { min-width: 80px; text-align: center; font-size: 12px; }

.siparis-input {
    width: 55px;
    padding: 3px 4px;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    font-variant-numeric: tabular-nums;
}
.siparis-input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg);
}
.col-delivery { min-width: 72px; text-align: center; }
.col-status { min-width: 90px; text-align: center; }
.col-actions { min-width: 120px; text-align: center; }

/* Status badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 500;
    border-radius: 20px;
    white-space: nowrap;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.badge-ok { background: var(--green-bg); color: var(--green); }
.badge-ok .badge-dot { background: var(--green); }
.badge-critical { background: var(--red-bg); color: var(--red); }
.badge-critical .badge-dot { background: var(--red); }
.badge-passive { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.badge-passive .badge-dot { background: var(--text-muted); }

/* Stock controls */
.stock-controls {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.stock-qty {
    font-weight: 600;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    min-width: 28px;
    text-align: center;
    color: var(--text);
}

.stock-qty.critical { color: var(--red); }

.stock-btn {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-xs);
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    font-family: 'Inter', sans-serif;
    line-height: 1;
}
.stock-btn:hover { background: var(--bg-hover); color: var(--text); border-color: var(--border-visible); }

/* Checkbox */
input[type="checkbox"].budget-check {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--accent);
    border-radius: 3px;
}

/* Order / Delivery indicators */
.order-badge {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}
.delivery-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.delivery-dot.ordered { background: var(--orange); }
.delivery-dot.received { background: var(--green); }

/* Detail tooltip */
.pn-cell { position: relative; cursor: help; }
.pn-cell:hover .pn-tooltip {
    display: block;
}
.pn-tooltip {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-visible);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

/* === MODAL === */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal {
    background: var(--bg-panel);
    border: 1px solid var(--border-visible);
    border-radius: 12px;
    padding: 24px;
    max-width: 600px;
    width: 92%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.modal-wide { max-width: 800px; }
.modal-narrow { max-width: 400px; text-align: center; }

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-xs);
}
.modal-close:hover { background: var(--bg-hover); color: var(--text); }

/* Form */
.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

/* Log list */
.log-list {
    max-height: 400px;
    overflow-y: auto;
}

.log-entry {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    display: flex;
    gap: 10px;
    align-items: baseline;
}

.log-time { color: var(--text-muted); font-size: 12px; white-space: nowrap; min-width: 65px; }
.log-user { color: var(--accent); font-size: 12px; font-weight: 500; min-width: 60px; }
.log-action { color: var(--text-secondary); font-size: 12px; }
.log-detail { color: var(--text-muted); font-size: 12px; flex: 1; text-align: right; }

/* Charts */
.chart-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.chart-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
}

.chart-box canvas { width: 100% !important; }

/* === RESPONSIVE === */
@media (max-width: 1100px) {
    .stats-bar { grid-template-columns: repeat(3, 1fr); }
    .form-row, .chart-grid { grid-template-columns: 1fr; }
    .form-row-3 { grid-template-columns: 1fr; }
    .toolbar { padding: 10px 14px; }
    .main-content { padding: 0 10px 30px; }
}

@media (max-width: 600px) {
    .stats-bar { grid-template-columns: 1fr 1fr; }
    .stat-card { padding: 10px 14px; }
    .stat-value { font-size: 17px; }
    .app-header { padding: 0 14px; }
    .toolbar { flex-direction: column; align-items: stretch; }
    .search-box { max-width: none; }
    .filter-tabs { overflow-x: auto; }
    .modal { padding: 16px; width: 96%; }
}

/* === Tedarikçi Linkleri === */
.supplier-link {
    display: inline-block;
    background: var(--bg-hover);
    color: var(--accent);
    text-decoration: none;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    margin: 1px 2px;
    border: 1px solid transparent;
    transition: all 0.15s;
    white-space: nowrap;
}
.supplier-link:hover {
    background: #1d2140;
    border-color: #5e6ad2;
    color: var(--accent-hover);
}
.supplier-text {
    display: inline-block;
    padding: 2px 6px;
    font-size: 11px;
    color: var(--text-muted);
    margin: 1px 2px;
    white-space: nowrap;
}
.supplier-empty {
    color: var(--text-muted);
    font-size: 12px;
}

/* Tedarikçi listesi (çoklu) — tablo satırı */
.tedarikci-satir {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 1px 0;
    white-space: nowrap;
}
.supplier-fiyat {
    font-size: 11px;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
    font-weight: 500;
}
.stok-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.stok-var { background: var(--green); }
.stok-yok { background: var(--red); }
.stok-belirsiz { background: var(--text-muted); }

/* Tedarikçi listesi — form */
.tedarikci-satir-form {
    display: flex;
    gap: 6px;
    margin-bottom: 6px;
    align-items: center;
}
.tedarikci-satir-form .tedarikci-ad { flex: 1; }
.tedarikci-satir-form .tedarikci-link { flex: 2; }

/* KDV göstergeleri */
.kdv-badge {
    font-size: 9px;
    font-weight: 600;
    color: var(--orange);
    background: var(--orange-bg);
    padding: 1px 5px;
    border-radius: 4px;
    margin: 0 2px;
    vertical-align: middle;
    white-space: nowrap;
}
.supplier-brut {
    font-size: 11px;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
}
.kdv-check {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    cursor: pointer;
}
.tedarikci-satir-form .tedarikci-kdv {
    width: 14px;
    height: 14px;
    padding: 0;
    margin: 0;
    accent-color: var(--accent);
}

/* Toast bildirim */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(16px);
    background: var(--bg-card);
    color: var(--text);
    padding: 10px 18px;
    border-radius: var(--radius);
    border: 1px solid var(--border-visible);
    font-size: 13px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: var(--shadow-lg);
}
.toast.goster {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* === Resim İkonu === */
.resim-ikon {
    cursor: pointer;
    font-size: 14px;
    margin-left: 4px;
    opacity: 0.6;
    transition: opacity 0.15s;
}
.resim-ikon:hover {
    opacity: 1;
}

/* Resim silme butonu */
.btn-resim-sil {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--bg);
    background: #ef4444;
    color: white;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    transition: background 0.15s;
}
.btn-resim-sil:hover {
    background: #dc2626;
}

/* === Sipariş Durum Badge'leri === */
.badge-waiting {
    background: rgba(158, 158, 168, 0.15);
    color: var(--text-muted);
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}
.badge-ontheway {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}
.badge-delivered {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}
.btn-tiny {
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    border: 1px solid #10b981;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    cursor: pointer;
    transition: all 0.15s;
    vertical-align: middle;
    margin-left: 4px;
}
.btn-tiny:hover {
    background: rgba(16, 185, 129, 0.35);
    border-color: #34d399;
    color: #34d399;
}
.btn-geldi:hover {
    background: rgba(16, 185, 129, 0.4);
    border-color: #34d399;
}

/* === Kartlar / BOM modal — tema uyumlu girişler (karanlık/aydınlık otomatik) === */
.modal input[type="text"],
.modal input[type="number"],
.modal select,
.modal textarea {
    background: var(--bg-card);
    border: 1px solid var(--border-visible);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    padding: 6px 10px;
    outline: none;
    transition: border-color 0.15s;
}
.modal input[type="text"]:focus,
.modal input[type="number"]:focus,
.modal select:focus,
.modal textarea:focus {
    border-color: var(--accent);
}
.modal input[type="number"]::-webkit-outer-spin-button,
.modal input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.modal table td {
    background: transparent;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    padding: 8px 10px;
    font-size: 13px;
}
.modal table th {
    background: var(--bg-card);
}
#kart-liste,
#bom-oneri {
    background: var(--bg-card);
}
.modal select {
    background: var(--bg-card);
}
.modal select option {
    background: var(--bg-card);
    color: var(--text);
}

/* === LOGIN EKRANI (v1.11) === */
#login-ekrani {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-kutu {
    background: var(--bg-card);
    border: 1px solid var(--border-visible);
    border-radius: 16px;
    padding: 40px 36px;
    width: 320px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.login-kutu h2 {
    margin: 12px 0 4px;
    font-size: 18px;
    color: var(--text);
}
.login-alt {
    color: var(--text-muted);
    font-size: 13px;
    margin: 0 0 20px;
}
.login-logo {
    font-size: 40px;
}
.login-kutu input {
    width: 100%;
    margin-bottom: 12px;
    box-sizing: border-box;
}
.login-kutu .btn {
    width: 100%;
}

/* === Soru işareti / yardım balonu (tooltip) === */
.yardim {
    cursor: help;
    font-size: 12px;
    color: var(--text-muted);
    margin-left: 4px;
    position: relative;
    display: inline-block;
    user-select: none;
}
.yardim:hover {
    color: var(--accent);
}
.yardim:hover::after {
    content: attr(data-yazi);
    position: absolute;
    bottom: 135%;
    left: -10px;
    background: var(--bg-hover);
    color: var(--text);
    border: 1px solid var(--border-visible);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.5;
    white-space: normal;
    width: 280px;
    z-index: 999;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    cursor: default;
}
