/* ════════════════════════════════════════════════════════════════
   DELTA ARAÇLAR — Ortak Stiller
   ════════════════════════════════════════════════════════════════ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --navy-deep: #0a1628;
    --navy-primary: #0f2342;
    --navy-light: #1a3a5c;
    --silver-dark: #7a8896;
    --silver-mid: #a8b5c4;
    --silver-light: #d4dce6;
    --silver-bright: #e8eef4;
    --white: #ffffff;
    --gold-accent: #c9a962;
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    background: var(--navy-deep);
    color: var(--white);
    line-height: 1.6;
    min-height: 100vh;
}
a { color: inherit; }
img { max-width: 100%; }

.geo-pattern {
    position: fixed; inset: 0; z-index: 0; opacity: 0.04; pointer-events: none;
    background: linear-gradient(to bottom, transparent, rgba(201, 169, 98, 0.08) 50%, transparent);
    background-size: 100% 200%; animation: dataFlow 15s linear infinite;
}
@keyframes dataFlow { 0% { background-position: 0% -100%; } 100% { background-position: 0% 200%; } }

/* ───────── Navigasyon ───────── */
/* Ana sayfa (index.html) ile birebir aynı logo ölçüleri — sayfa geçişinde zıplama olmasın */
nav {
    position: fixed; top: 0; width: 100%; padding: 1.5rem 5%;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    z-index: 1000; border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-container { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { display: flex; align-items: center; gap: 1rem; text-decoration: none; }
.nav-logo-icon { width: 50px; height: 50px; }
.nav-logo-icon svg { width: 100%; height: 100%; }
.nav-logo-text {
    font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 600; letter-spacing: 0.15em;
    background: linear-gradient(135deg, var(--silver-light), var(--white), var(--silver-mid));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
@media (max-width: 768px) { nav { padding: 1rem 5%; } }
.nav-back {
    display: inline-flex; align-items: center; gap: 0.5rem; color: var(--silver-mid); text-decoration: none;
    font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
    padding: 0.6rem 1.2rem; border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; transition: all 0.3s ease;
    background: none; cursor: pointer; font-family: inherit;
}
.nav-back:hover { color: var(--white); border-color: rgba(201,169,98,0.4); background: rgba(201,169,98,0.05); }
.nav-back svg { width: 16px; height: 16px; }

/* ───────── Başlık ───────── */
.tools-header { padding: 8.5rem 5% 1.5rem; text-align: center; position: relative; z-index: 1; }
.section-label {
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--gold-accent); margin-bottom: 1rem; display: block;
}
.tools-header h1 {
    font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 500; letter-spacing: 0.08em; color: var(--white);
}
.tools-header p { color: var(--silver-mid); margin-top: 1rem; font-size: 1rem; }

.privacy-badge {
    max-width: 820px; margin: 2rem auto 0; display: flex; align-items: center; gap: 1rem;
    background: rgba(34, 197, 94, 0.06); border: 1px solid rgba(34, 197, 94, 0.25);
    border-left: 3px solid var(--success); padding: 1rem 1.5rem; border-radius: 6px; text-align: left;
}
.privacy-badge svg { width: 28px; height: 28px; stroke: var(--success); flex-shrink: 0; }
.privacy-badge p { color: var(--silver-light); font-size: 0.85rem; line-height: 1.6; }
.privacy-badge strong { color: var(--white); }

/* ───────── Hub: arama + kategoriler ───────── */
.hub { max-width: 1200px; margin: 0 auto 5rem; padding: 0 5%; position: relative; z-index: 1; }
.hub-search-wrap { max-width: 520px; margin: 2.5rem auto; position: relative; }
.hub-search-wrap input.hub-search {
    width: 100%; background: rgba(10, 22, 40, 0.6); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px; padding: 0.95rem 1rem 0.95rem 3rem; color: var(--white);
    font-family: inherit; font-size: 0.95rem; outline: none; transition: border-color 0.2s ease;
}
.hub-search-wrap input.hub-search:focus { border-color: var(--gold-accent); }
.hub-search-wrap svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; stroke: var(--silver-dark); }

.cat-block { margin-top: 3rem; }
.cat-title {
    font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 500; color: var(--silver-light);
    letter-spacing: 0.05em; margin-bottom: 1.4rem; display: flex; align-items: center; gap: 0.7rem;
}
.cat-title .cat-dot { width: 8px; height: 8px; background: var(--gold-accent); border-radius: 50%; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.3rem; }

.tool-card {
    background: linear-gradient(145deg, rgba(26, 58, 92, 0.25), rgba(15, 35, 66, 0.3));
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 10px; padding: 1.6rem;
    cursor: pointer; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden;
    text-align: left; display: block; width: 100%; font-family: inherit; color: inherit;
}
.tool-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
    transform: scaleX(0); transition: transform 0.4s ease;
}
.tool-card:hover { transform: translateY(-6px); border-color: rgba(201,169,98,0.25); box-shadow: 0 24px 48px rgba(0,0,0,0.3); }
.tool-card:hover::before { transform: scaleX(1); }
.tool-card .tc-icon { font-size: 1.8rem; margin-bottom: 1rem; display: block; }
.tool-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 500; color: var(--white); margin-bottom: 0.5rem; }
.tool-card p { font-size: 0.82rem; line-height: 1.6; color: var(--silver-dark); }
.tool-card .tc-badge {
    position: absolute; top: 1.1rem; right: 1.1rem; font-size: 0.6rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--gold-accent); border: 1px solid rgba(201,169,98,0.4);
    padding: 0.15rem 0.45rem; border-radius: 3px;
}
.hub-empty { text-align: center; color: var(--silver-dark); padding: 3rem; font-size: 0.95rem; }

/* ───────── Araç görünümü ───────── */
.tool-view { max-width: 1200px; margin: 0 auto 5rem; padding: 8rem 5% 0; position: relative; z-index: 1; display: none; }
.tool-view.active { display: block; }
.tool-view-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.tool-view-head .tv-icon {
    width: 52px; height: 52px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; background: rgba(201,169,98,0.12); border: 1px solid rgba(201,169,98,0.2); flex-shrink: 0;
}
.tool-view-head h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; font-weight: 500; color: var(--white); letter-spacing: 0.03em; }
.tool-view-head p { font-size: 0.85rem; color: var(--silver-dark); margin-top: 0.15rem; }
.tv-back { margin-left: auto; }

/* ───────── Kart / kutu ───────── */
.card {
    background: linear-gradient(145deg, rgba(26, 58, 92, 0.25), rgba(15, 35, 66, 0.3));
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 10px; padding: 1.8rem;
}
.card + .card { margin-top: 1.5rem; }

/* ───────── İki sütun çalışma alanı (sol kontrol + sağ önizleme) ───────── */
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1.5rem; }
.ws-left { min-width: 0; }
.ws-right { min-width: 0; }
@media (max-width: 900px) { .workspace { grid-template-columns: 1fr; } }

/* Önizleme paneli */
.preview-panel {
    background: rgba(10, 22, 40, 0.5); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px;
    overflow: hidden; display: flex; flex-direction: column; height: 100%; min-height: 360px;
}
.preview-head {
    display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
    padding: 0.7rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.06); background: rgba(21, 35, 58, 0.5);
}
.preview-head .ph-name { font-size: 0.82rem; color: var(--silver-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.preview-head .ph-info { font-size: 0.72rem; color: var(--silver-dark); flex-shrink: 0; }
.preview-stage {
    flex: 1; position: relative; display: flex;
    overflow: auto; background:
        linear-gradient(45deg, rgba(255,255,255,0.02) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.02) 75%),
        linear-gradient(45deg, rgba(255,255,255,0.02) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.02) 75%);
    background-size: 24px 24px; background-position: 0 0, 12px 12px; padding: 1rem;
}
/* margin:auto — içerik küçükken ortalar, taşınca kaydırma her kenara erişir (üst kesilmez) */
.preview-stage > * { margin: auto; }
.preview-stage canvas { max-width: 100%; height: auto; box-shadow: 0 8px 30px rgba(0,0,0,0.4); border-radius: 2px; background: #fff; flex-shrink: 0; }
.preview-empty { color: var(--silver-dark); font-size: 0.9rem; text-align: center; }
.preview-empty .pe-icon { font-size: 2.5rem; opacity: 0.4; display: block; margin-bottom: 0.6rem; }
.preview-toolbar {
    display: flex; align-items: center; justify-content: center; gap: 0.4rem; flex-wrap: wrap;
    padding: 0.55rem; border-top: 1px solid rgba(255,255,255,0.06); background: rgba(21, 35, 58, 0.5);
}
.pt-btn {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); color: var(--silver-light);
    border-radius: 5px; padding: 0.35rem 0.6rem; cursor: pointer; font-size: 0.85rem; font-family: inherit;
    transition: all 0.2s ease; min-width: 34px;
}
.pt-btn:hover:not(:disabled) { background: rgba(255,255,255,0.12); color: var(--white); }
.pt-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.pt-label { font-size: 0.78rem; color: var(--silver-mid); min-width: 56px; text-align: center; }
.pt-sep { width: 1px; height: 20px; background: rgba(255,255,255,0.1); margin: 0 0.3rem; }

/* ───────── Bırakma alanı ───────── */
.dropzone {
    border: 2px dashed rgba(168, 181, 196, 0.25); border-radius: 10px; padding: 2.2rem 1.5rem;
    text-align: center; cursor: pointer; transition: all 0.3s ease; background: rgba(10, 22, 40, 0.3);
}
.dropzone:hover, .dropzone.dragover { border-color: var(--gold-accent); background: rgba(201, 169, 98, 0.05); }
.dropzone .dz-icon { font-size: 2.2rem; opacity: 0.6; margin-bottom: 0.6rem; }
.dropzone p { color: var(--silver-mid); font-size: 0.92rem; }
.dropzone .dz-sub { color: var(--silver-dark); font-size: 0.78rem; margin-top: 0.4rem; }

/* ───────── Ayarlar / form ───────── */
.settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.1rem; margin-top: 1.4rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field > label { font-size: 0.8rem; color: var(--silver-mid); font-weight: 500; letter-spacing: 0.03em; }

select, input[type="text"], input[type="number"], input[type="password"], textarea {
    background: var(--navy-deep); color: var(--white); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px; padding: 0.7rem 0.8rem; font-family: inherit; font-size: 0.9rem;
    outline: none; transition: border-color 0.2s ease; width: 100%;
}
select:focus, input:focus, textarea:focus { border-color: var(--gold-accent); }
select option { background: var(--navy-deep); }
input[type="color"] { width: 44px; height: 38px; padding: 2px; background: var(--navy-deep); border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; cursor: pointer; }

.checkbox-row { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; user-select: none; }
.checkbox-row input[type="checkbox"], .checkbox-row input[type="radio"] { width: 18px; height: 18px; accent-color: var(--gold-accent); cursor: pointer; }
.checkbox-row span { font-size: 0.85rem; color: var(--silver-light); }

input[type="range"] { width: 100%; accent-color: var(--gold-accent); cursor: pointer; }
.range-val { color: var(--gold-accent); font-weight: 600; font-size: 0.85rem; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    background: var(--gold-accent); color: var(--navy-deep); border: none; border-radius: 6px;
    padding: 0.8rem 1.6rem; font-family: inherit; font-size: 0.88rem; font-weight: 600;
    letter-spacing: 0.04em; cursor: pointer; transition: all 0.25s ease;
}
.btn:hover:not(:disabled) { background: #d9bd7e; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(201,169,98,0.2); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-secondary { background: rgba(255,255,255,0.08); color: var(--silver-light); border: 1px solid rgba(255,255,255,0.12); }
.btn-secondary:hover:not(:disabled) { background: rgba(255,255,255,0.14); box-shadow: none; }
.btn-ghost { background: transparent; color: var(--silver-mid); border: 1px solid rgba(255,255,255,0.15); }
.btn-ghost:hover:not(:disabled) { color: var(--white); border-color: var(--error); background: rgba(239,68,68,0.08); box-shadow: none; transform: none; }
.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.8rem; }
.actions-row { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.4rem; align-items: center; }

/* ───────── Dosya listesi ───────── */
.file-list { margin-top: 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; max-height: 340px; overflow-y: auto; }
.file-list::-webkit-scrollbar { width: 8px; }
.file-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 4px; }
.file-item {
    display: flex; align-items: center; gap: 0.85rem; padding: 0.6rem 0.8rem;
    background: rgba(10, 22, 40, 0.4); border: 1px solid rgba(255,255,255,0.05); border-radius: 6px;
    cursor: pointer; transition: all 0.2s ease;
}
.file-item:hover { border-color: rgba(255,255,255,0.12); }
.file-item.selected { border-color: var(--gold-accent); background: rgba(201,169,98,0.06); }
.file-thumb {
    width: 40px; height: 40px; border-radius: 4px; object-fit: cover; flex-shrink: 0; background: var(--navy-light);
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.file-meta { flex: 1; min-width: 0; }
.file-name { font-size: 0.83rem; color: var(--silver-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-sub { font-size: 0.72rem; color: var(--silver-dark); }
.file-actions { display: flex; gap: 0.2rem; flex-shrink: 0; }
.file-iconbtn {
    background: none; border: none; color: var(--silver-dark); cursor: pointer; font-size: 1rem;
    padding: 0.25rem 0.45rem; border-radius: 4px; transition: all 0.2s ease;
}
.file-iconbtn:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.file-iconbtn.danger:hover { color: var(--error); background: rgba(239,68,68,0.1); }

/* ───────── İlerleme ───────── */
.progress-wrap { margin-top: 1.4rem; display: none; }
.progress-wrap.active { display: block; }
.progress-bar { height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold-accent), #e0c486); transition: width 0.2s ease; }
.progress-text { font-size: 0.8rem; color: var(--silver-mid); margin-top: 0.6rem; text-align: center; }

/* ───────── Sonuçlar ───────── */
.results { margin-top: 1.5rem; }
.results-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; }
.results-head h4 { font-size: 0.95rem; color: var(--silver-light); font-weight: 600; }
.results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.result-item {
    background: rgba(10, 22, 40, 0.4); border: 1px solid rgba(255,255,255,0.05); border-radius: 8px;
    padding: 0.8rem; text-align: center; transition: all 0.2s ease;
}
.result-item:hover { border-color: rgba(201,169,98,0.3); }
.result-item .rthumb { width: 100%; height: 90px; object-fit: contain; border-radius: 4px; margin-bottom: 0.6rem; background: var(--navy-deep); }
.result-item .rthumb.placeholder { display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.result-item .rname { font-size: 0.72rem; color: var(--silver-mid); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 0.3rem; }
.result-item .rsub { font-size: 0.66rem; color: var(--silver-dark); margin-bottom: 0.5rem; }
.result-item a.dl { display: block; font-size: 0.75rem; color: var(--gold-accent); text-decoration: none; padding: 0.4rem; border: 1px solid rgba(201,169,98,0.3); border-radius: 4px; transition: all 0.2s ease; }
.result-item a.dl:hover { background: rgba(201,169,98,0.1); }

.hint { font-size: 0.78rem; color: var(--silver-dark); margin-top: 1rem; line-height: 1.6; }
.note-box {
    display: flex; gap: 0.7rem; align-items: flex-start; background: rgba(245, 158, 11, 0.07);
    border: 1px solid rgba(245, 158, 11, 0.25); border-left: 3px solid var(--warning);
    border-radius: 6px; padding: 0.85rem 1rem; margin-top: 1.2rem;
}
.note-box svg { width: 20px; height: 20px; stroke: var(--warning); flex-shrink: 0; margin-top: 1px; }
.note-box p { font-size: 0.8rem; color: var(--silver-light); line-height: 1.55; }
.note-box strong { color: var(--white); }

/* ───────── IBAN ───────── */
.iban-input-wrap { position: relative; }
#ibanInput {
    font-family: 'Consolas', 'Courier New', monospace; font-size: 1.3rem; letter-spacing: 0.12em;
    text-align: center; padding: 1.1rem; text-transform: uppercase;
}
.iban-status { text-align: center; margin-top: 0.8rem; font-size: 0.8rem; min-height: 1.1rem; }
.iban-status.valid { color: var(--success); }
.iban-status.invalid { color: var(--error); }
.iban-result { margin-top: 1.5rem; display: none; }
.iban-result.active { display: block; }
.iban-bank-head {
    display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem;
    background: linear-gradient(135deg, rgba(201,169,98,0.12), rgba(201,169,98,0.03));
    border: 1px solid rgba(201,169,98,0.25); border-radius: 8px; margin-bottom: 1.2rem;
}
.iban-bank-head .bank-icon { width: 48px; height: 48px; border-radius: 8px; background: rgba(201,169,98,0.15); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.iban-bank-head .bank-name { font-size: 1.05rem; font-weight: 600; color: var(--white); }
.iban-bank-head .bank-code { font-size: 0.78rem; color: var(--silver-dark); margin-top: 0.2rem; }
.iban-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.iban-detail { background: rgba(10, 22, 40, 0.4); border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; padding: 1rem 1.2rem; }
.iban-detail .dlabel { font-size: 0.72rem; color: var(--silver-dark); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.4rem; }
.iban-detail .dvalue { font-size: 0.95rem; color: var(--silver-light); font-weight: 500; word-break: break-word; }
.iban-detail .dvalue.mono { font-family: 'Consolas', monospace; letter-spacing: 0.05em; }
.iban-detail.full { grid-column: 1 / -1; }
.copy-btn { background: none; border: none; color: var(--gold-accent); cursor: pointer; font-size: 0.72rem; margin-left: 0.6rem; padding: 0.15rem 0.5rem; border: 1px solid rgba(201,169,98,0.3); border-radius: 4px; }
.copy-btn:hover { background: rgba(201,169,98,0.1); }
.db-status { font-size: 0.75rem; color: var(--silver-dark); margin-top: 1.2rem; text-align: center; }
.db-status .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 0.4rem; background: var(--warning); }
.db-status.ok .dot { background: var(--success); }
.db-status.err .dot { background: var(--error); }

/* ───────── PWA kurulum ───────── */
.install-btn { display: none; }
.install-btn.show { display: inline-flex; }

/* ───────── Toast ───────── */
.toast-wrap { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 2000; display: flex; flex-direction: column; gap: 0.5rem; align-items: center; }
.toast {
    background: var(--surface-solid, #15233a); border: 1px solid rgba(255,255,255,0.1); border-left: 3px solid var(--gold-accent);
    color: var(--silver-light); padding: 0.8rem 1.3rem; border-radius: 6px; font-size: 0.85rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4); animation: toastIn 0.3s ease;
}
.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--error); }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

footer { text-align: center; padding: 2.5rem 5%; border-top: 1px solid rgba(255,255,255,0.05); position: relative; z-index: 1; }
footer p { color: var(--silver-dark); font-size: 0.8rem; }

@media (max-width: 600px) {
    .card { padding: 1.1rem; }
    .tools-header { padding-top: 7rem; }
    .tool-view { padding-top: 6.5rem; }
}

/* ════════════════════════════════════════════════════════════════
   ÇİZGİ İKONLAR
   ════════════════════════════════════════════════════════════════ */
svg.ico { display: block; flex-shrink: 0; }

.tool-card .tc-icon { display: flex; margin-bottom: 0.85rem; }
.tool-card .tc-icon svg { width: 25px; height: 25px; stroke: var(--silver-mid); transition: stroke 0.3s ease; }
.tool-card:hover .tc-icon svg { stroke: var(--gold-accent); }

.tool-view-head .tv-icon svg { width: 23px; height: 23px; stroke: var(--gold-accent); }

.dropzone .dz-icon { display: flex; justify-content: center; }
.dropzone .dz-icon svg { width: 28px; height: 28px; stroke: var(--silver-dark); transition: stroke 0.3s ease; }
.dropzone:hover .dz-icon svg, .dropzone.dragover .dz-icon svg { stroke: var(--gold-accent); }

.pt-btn svg { width: 15px; height: 15px; margin: 0 auto; }
.file-iconbtn svg { width: 17px; height: 17px; }
.file-thumb svg { width: 19px; height: 19px; stroke: var(--silver-mid); }
.result-item .rthumb.placeholder svg { width: 28px; height: 28px; stroke: var(--silver-mid); }
.preview-empty svg.ico { width: 32px; height: 32px; stroke: var(--silver-dark); opacity: 0.55; margin: 0 auto 0.6rem; }
.iban-bank-head .bank-icon svg { width: 24px; height: 24px; stroke: var(--gold-accent); }

/* Düğme içi ikonlar */
.btn svg.ico { width: 16px; height: 16px; }
.btn-sm svg.ico { width: 14px; height: 14px; }
.result-item a.dl { display: flex; align-items: center; justify-content: center; gap: 0.35rem; }
.result-item a.dl svg.ico { width: 13px; height: 13px; }
.note-box svg, .privacy-badge svg, .hub-search-wrap svg, .nav-back svg { flex-shrink: 0; }

/* ════════════════════════════════════════════════════════════════
   KOMPAKT DÜZEN (kaydırmayı azalt)
   ════════════════════════════════════════════════════════════════ */
.tools-header { padding: 8rem 5% 1rem; }
.tools-header h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.tools-header p { margin-top: 0.6rem; font-size: 0.92rem; }
.privacy-badge { margin-top: 1.2rem; padding: 0.8rem 1.2rem; gap: 0.8rem; }
.privacy-badge svg { width: 24px; height: 24px; }
.privacy-badge p { font-size: 0.8rem; line-height: 1.5; }

.hub-search-wrap { margin: 1.5rem auto; }
.cat-block { margin-top: 2rem; }
.cat-title { font-size: 1.35rem; margin-bottom: 1rem; }
.tool-grid { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 1rem; }
.tool-card { padding: 1.25rem; }
.tool-card h3 { font-size: 1.18rem; margin-bottom: 0.35rem; }
.tool-card p { font-size: 0.78rem; line-height: 1.5; }

.tool-view { padding: 7.5rem 5% 0; }
.tool-view-head { margin-bottom: 1.1rem; gap: 0.85rem; }
.tool-view-head .tv-icon { width: 46px; height: 46px; }
.tool-view-head h2 { font-size: 1.6rem; }
.tool-view-head p { font-size: 0.8rem; }

.card { padding: 1.4rem; }
.workspace { gap: 1.2rem; }
.dropzone { padding: 1.3rem 1.2rem; }
.dropzone .dz-icon { margin-bottom: 0.45rem; }
.dropzone p { font-size: 0.86rem; }
.dropzone .dz-sub { font-size: 0.74rem; margin-top: 0.25rem; }

.settings-grid { gap: 0.85rem; margin-top: 1rem; }
.field > label { font-size: 0.76rem; }
select, input[type="text"], input[type="number"], input[type="password"], textarea { padding: 0.55rem 0.7rem; font-size: 0.86rem; }
.checkbox-row span { font-size: 0.82rem; }

.file-list { margin-top: 1rem; max-height: 230px; gap: 0.4rem; }
.file-item { padding: 0.5rem 0.7rem; gap: 0.7rem; }
.file-thumb { width: 36px; height: 36px; }
.actions-row { margin-top: 1rem; gap: 0.7rem; }
.btn { padding: 0.7rem 1.4rem; font-size: 0.85rem; }
.progress-wrap { margin-top: 1rem; }
.results { margin-top: 1.2rem; }
.preview-panel { min-height: 320px; }

/* Geniş ekranda önizleme sabit kalsın, sol kontroller kaydırılsın */
@media (min-width: 901px) {
    .ws-right { position: sticky; top: 7.5rem; align-self: start; height: calc(100vh - 9rem); }
}

/* ════════════════════════════════════════════════════════════════
   KATEGORİ SEKMELERİ (hub)
   ════════════════════════════════════════════════════════════════ */
.cat-tabs {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 0.3rem;
    margin: 0 auto 2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cat-tab {
    background: none; border: none; border-bottom: 2px solid transparent;
    color: var(--silver-dark); font-family: inherit; font-weight: 600; font-size: 0.9rem;
    letter-spacing: 0.02em; padding: 0.75rem 1.15rem; cursor: pointer; transition: color 0.25s ease, border-color 0.25s ease;
    display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: -1px;
}
.cat-tab:hover { color: var(--silver-light); }
.cat-tab.active { color: var(--white); border-bottom-color: var(--gold-accent); }
.cat-tab-count {
    font-size: 0.68rem; color: var(--silver-dark); background: rgba(255, 255, 255, 0.06);
    border-radius: 10px; padding: 0.08rem 0.45rem; line-height: 1.4; transition: all 0.25s ease;
}
.cat-tab.active .cat-tab-count { color: var(--gold-accent); background: rgba(201, 169, 98, 0.14); }

.cat-block { margin-top: 0; }
.cat-block.hidden { display: none; }
.cat-block-label { display: none; }
#hub.searching .cat-block-label {
    display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.3rem;
    color: var(--silver-light); letter-spacing: 0.04em; margin: 1.6rem 0 1rem;
}
#hub.searching .cat-block:first-child .cat-block-label { margin-top: 0; }

@media (max-width: 600px) {
    .cat-tab { padding: 0.6rem 0.7rem; font-size: 0.8rem; }
}

/* ════════════════════════════════════════════════════════════════
   KLASÖR ÇUBUĞU + VİDEO ARACI
   ════════════════════════════════════════════════════════════════ */
.folder-bar { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; margin-top: 0.7rem; }
.folder-bar .fb-status { font-size: 0.74rem; }

.trim-row { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.4rem; }
.trim-row input[type="number"] { width: 96px; flex: none; }
.trim-row .trim-label { font-size: 0.8rem; color: var(--silver-mid); width: 72px; flex: none; }

.video-stage { padding: 0.6rem; }
.video-stage video { max-width: 100%; max-height: 100%; border-radius: 4px; background: #000; box-shadow: 0 8px 30px rgba(0,0,0,0.4); }

/* ════════════════════════════════════════════════════════════════
   KUSUR ORANI HESAPLAMA
   ════════════════════════════════════════════════════════════════ */
.kusur-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 800px) { .kusur-grid { grid-template-columns: 1fr; } }
.kusur-side h4 { font-size: 0.95rem; color: var(--silver-light); font-weight: 600; margin-bottom: 0.7rem; }
.kusur-search { margin-bottom: 0.6rem; }
.kusur-list {
    max-height: 340px; overflow-y: auto; border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px; background: rgba(10, 22, 40, 0.4); padding: 0.4rem;
}
.kusur-list::-webkit-scrollbar { width: 8px; }
.kusur-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 4px; }
.kusur-group-label {
    font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-accent);
    padding: 0.55rem 0.5rem 0.3rem; border-bottom: 1px solid rgba(255,255,255,0.05); margin-bottom: 0.25rem;
}
.kusur-item {
    display: flex; align-items: flex-start; gap: 0.55rem; padding: 0.45rem 0.5rem;
    border-radius: 6px; cursor: pointer; transition: background 0.15s ease;
}
.kusur-item:hover { background: rgba(255,255,255,0.04); }
.kusur-item input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--gold-accent); margin-top: 2px; flex: none; cursor: pointer; }
.ki-badge {
    font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.1rem 0.4rem;
    border-radius: 3px; flex: none; margin-top: 2px;
}
.ki-badge.asli { color: var(--gold-accent); border: 1px solid rgba(201,169,98,0.45); }
.ki-badge.tali { color: var(--silver-mid); border: 1px solid rgba(168,181,196,0.35); }
.ki-body { min-width: 0; }
.ki-kod { display: block; font-size: 0.7rem; color: var(--silver-dark); font-family: 'Consolas', monospace; }
.ki-title { display: block; font-size: 0.8rem; color: var(--silver-light); line-height: 1.35; }

.kusur-result { margin-top: 1.6rem; }
.kusur-bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: rgba(255,255,255,0.06); }
.kusur-bar .kb-a { background: linear-gradient(90deg, var(--gold-accent), #d9bd7e); transition: width 0.4s ease; }
.kusur-bar .kb-b { background: linear-gradient(90deg, #8898a8, var(--silver-mid)); transition: width 0.4s ease; }
.kusur-pcts { display: flex; justify-content: space-between; margin-top: 0.8rem; gap: 1rem; }
.kusur-pct .kp-num { font-family: 'Cormorant Garamond', serif; font-size: 2.1rem; font-weight: 600; display: block; line-height: 1; }
.kusur-pct.kp-a .kp-num { color: var(--gold-accent); }
.kusur-pct.kp-b .kp-num { color: var(--silver-mid); }
.kusur-pct.kp-b { text-align: right; }
.kusur-pct .kp-type { font-size: 0.78rem; color: var(--silver-light); }
.kusur-articles { margin-top: 1.4rem; display: grid; gap: 1rem; }

/* Ekspertiz içerikleri: basit kopyalamaya karşı koruma */
.no-copy { -webkit-user-select: none; user-select: none; }
.no-copy input, .no-copy select, .no-copy textarea { -webkit-user-select: text; user-select: text; }

/* Ehliyet kısıt kodları */
.ek-search { margin-bottom: 0.6rem; }
.ek-count { margin-bottom: 0.6rem; }
.ek-list {
    max-height: 460px; overflow-y: auto; border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px; background: rgba(10, 22, 40, 0.4); padding: 0.4rem 0.6rem;
}
.ek-list::-webkit-scrollbar { width: 8px; }
.ek-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 4px; }
.ek-item {
    display: flex; align-items: flex-start; gap: 0.8rem; padding: 0.5rem 0.4rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.ek-item:last-child { border-bottom: none; }
.ek-kod {
    font-family: 'Consolas', monospace; font-size: 0.85rem; font-weight: 600; color: var(--gold-accent);
    min-width: 64px; flex: none; padding-top: 1px;
}
.ek-text { font-size: 0.83rem; color: var(--silver-light); line-height: 1.5; }

/* ════════════════════════════════════════════════════════════════
   SEO MAKALE SAYFALARI (araclar/*.html)
   ════════════════════════════════════════════════════════════════ */
.seo-main { max-width: 860px; margin: 0 auto; padding: 8.5rem 5% 4rem; position: relative; z-index: 1; }
.seo-breadcrumb { font-size: 0.78rem; color: var(--silver-dark); margin-bottom: 1.2rem; }
.seo-breadcrumb a { color: var(--silver-mid); text-decoration: none; }
.seo-breadcrumb a:hover { color: var(--gold-accent); }
.seo-main h1 {
    font-family: 'Cormorant Garamond', serif; font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 500; color: var(--white); line-height: 1.25; margin-bottom: 1rem;
}
.seo-main h2 {
    font-family: 'Cormorant Garamond', serif; font-size: 1.55rem; font-weight: 500;
    color: var(--silver-light); margin: 2.2rem 0 0.9rem; letter-spacing: 0.02em;
}
.seo-main h3 { font-size: 1rem; color: var(--silver-light); margin: 1.4rem 0 0.5rem; }
.seo-main p, .seo-main li { font-size: 0.95rem; line-height: 1.85; color: var(--silver-mid); }
.seo-main p { margin-bottom: 1rem; }
.seo-main ul, .seo-main ol { margin: 0 0 1.2rem 1.4rem; }
.seo-main li { margin-bottom: 0.45rem; }
.seo-main strong { color: var(--silver-light); }
.seo-main a { color: var(--gold-accent); }
.seo-main a.btn { color: var(--navy-deep); text-decoration: none; }
.seo-lead { font-size: 1.05rem; color: var(--silver-light); }
.seo-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.88rem; }
.seo-table th, .seo-table td { border: 1px solid rgba(255,255,255,0.08); padding: 0.6rem 0.8rem; text-align: left; color: var(--silver-mid); }
.seo-table th { background: rgba(201,169,98,0.08); color: var(--silver-light); font-weight: 600; }
.seo-table td:first-child { color: var(--gold-accent); font-family: 'Consolas', monospace; white-space: nowrap; }
.seo-cta {
    display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(201,169,98,0.12), rgba(201,169,98,0.03));
    border: 1px solid rgba(201,169,98,0.3); border-radius: 10px; padding: 1.3rem 1.5rem; margin: 2rem 0;
}
.seo-cta p { margin: 0; flex: 1; min-width: 220px; color: var(--silver-light); }
.seo-faq details {
    border: 1px solid rgba(255,255,255,0.07); border-radius: 8px;
    background: rgba(10,22,40,0.4); margin-bottom: 0.6rem; padding: 0;
}
.seo-faq summary {
    cursor: pointer; padding: 0.9rem 1.1rem; font-size: 0.92rem; font-weight: 600;
    color: var(--silver-light); list-style: none; position: relative;
}
.seo-faq summary::after { content: '+'; position: absolute; right: 1.1rem; color: var(--gold-accent); font-size: 1.1rem; }
.seo-faq details[open] summary::after { content: '−'; }
.seo-faq details p { padding: 0 1.1rem 1rem; margin: 0; font-size: 0.88rem; }
.seo-author {
    display: flex; gap: 1rem; align-items: center; border: 1px solid rgba(255,255,255,0.08);
    border-left: 3px solid var(--gold-accent); border-radius: 8px; background: rgba(10,22,40,0.4);
    padding: 1rem 1.3rem; margin-top: 2.5rem;
}
.seo-author p { margin: 0; font-size: 0.82rem; }
.tool-dir { margin-top: 2.5rem; }
.tool-dir h2 { margin-top: 0; }
.tool-dir ul { list-style: none; margin-left: 0; }
.tool-dir a { text-decoration: none; }
.ka-head { font-size: 0.8rem; font-weight: 600; color: var(--silver-light); margin-bottom: 0.5rem; letter-spacing: 0.03em; }
.ka-item { background: rgba(10, 22, 40, 0.4); border: 1px solid rgba(255,255,255,0.05); border-left: 3px solid rgba(201,169,98,0.4); border-radius: 6px; padding: 0.7rem 0.9rem; margin-bottom: 0.5rem; }
.ka-kod { font-size: 0.8rem; color: var(--white); font-weight: 600; }
.ka-text { font-size: 0.78rem; color: var(--silver-mid); line-height: 1.55; margin-top: 0.3rem; }
