/* Araçlar sayfaları (araclar, qr-kod-olustur, kargo-desi-hesaplama, kdv-hesaplama) ortak stili */
.arc-page { background: #f4f5f7; padding: 28px 0 64px; }
.arc-wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

.arc-crumb { font-size: 13px; color: #9ca3af; margin-bottom: 16px; }
.arc-crumb a { color: #9ca3af; text-decoration: none; }
.arc-crumb a:hover { color: #111; }

.arc-head { margin-bottom: 22px; }
.arc-head h1 { font-size: 1.9rem; font-weight: 800; color: #1a1a1a; margin: 0 0 6px; letter-spacing: -.3px; }
.arc-head p { color: #6b7280; margin: 0; font-size: 15px; max-width: 640px; }

/* Kart */
.arc-card { background: #fff; border-radius: 18px; box-shadow: 0 4px 24px rgba(0,0,0,.05); padding: 24px; }
.arc-card + .arc-card { margin-top: 18px; }
.arc-card h2 { font-size: 1rem; font-weight: 700; color: #1a1a1a; margin: 0 0 14px; }

/* İki kolon: form + sonuç */
.arc-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.arc-sticky { position: sticky; top: 16px; }
@media (max-width: 860px) { .arc-grid { grid-template-columns: 1fr; } .arc-sticky { position: static; } }

/* Form elemanları */
.arc-label { display: block; font-size: 12.5px; font-weight: 700; color: #4b5563; margin-bottom: 6px; }
.arc-input, .arc-select, .arc-textarea {
    width: 100%; box-sizing: border-box; border: 1.5px solid #e5e7eb; border-radius: 10px; padding: 10px 13px;
    font-size: 15px; font-family: inherit; color: #111; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.arc-textarea { resize: vertical; min-height: 90px; }
.arc-input:focus, .arc-select:focus, .arc-textarea:focus { outline: none; border-color: #ffdd17; box-shadow: 0 0 0 3px rgba(255,221,23,.28); }
.arc-field { margin-bottom: 14px; }
.arc-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.arc-hint { font-size: 12px; color: #9ca3af; margin-top: 5px; }

/* Sekme/chip seçici */
.arc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.arc-chip {
    border: 1.5px solid #e5e7eb; background: #fff; color: #374151; border-radius: 50px;
    padding: 7px 15px; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: all .15s; font-family: inherit;
}
.arc-chip:hover { border-color: #d1d5db; background: #f9fafb; }
.arc-chip.active { background: #ffdd17; border-color: #ffdd17; color: #000; }

/* Butonlar */
.arc-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: #ffdd17; color: #000; border: 0; border-radius: 50px; padding: 11px 24px;
    font-weight: 700; font-size: 14.5px; cursor: pointer; transition: background .15s; text-decoration: none; font-family: inherit;
}
.arc-btn:hover { background: #ffca2c; color: #000; }
.arc-btn-ghost { background: #fff; color: #374151; border: 1.5px solid #d1d5db; }
.arc-btn-ghost:hover { background: #f3f4f6; color: #111; }
.arc-btn-sm { padding: 7px 16px; font-size: 13px; }
.arc-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Sonuç kutusu */
.arc-result { background: #111; color: #fff; border-radius: 16px; padding: 22px; }
.arc-result-big { font-size: 2.3rem; font-weight: 800; color: #ffdd17; line-height: 1.1; }
.arc-result-lbl { font-size: 12.5px; color: rgba(255,255,255,.6); font-weight: 600; margin-bottom: 4px; }
.arc-line { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 14.5px; }
.arc-line:last-child { border-bottom: 0; }
.arc-line b { font-weight: 700; }
.arc-copy { background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 8px; width: 30px; height: 30px; cursor: pointer; font-size: 12px; flex-shrink: 0; }
.arc-copy:hover { background: rgba(255,255,255,.22); }

/* Bilgi notu */
.arc-note { background: #f1f6fd; border: 1px solid #dbe7f7; color: #475569; border-radius: 12px; padding: 11px 14px; font-size: 13.5px; line-height: 1.5; }
.arc-note i { color: #3b82f6; margin-right: 6px; }

/* Araçlar ana sayfa kartları */
.arc-tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.arc-tool {
    display: block; background: #fff; border-radius: 18px; padding: 24px; text-decoration: none; color: inherit;
    box-shadow: 0 4px 24px rgba(0,0,0,.05); border: 1.5px solid transparent; transition: all .18s;
}
.arc-tool:hover { border-color: #ffdd17; transform: translateY(-3px); color: inherit; }
.arc-tool-ico { width: 54px; height: 54px; border-radius: 14px; background: #ffdd17; color: #111; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.arc-tool h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 6px; color: #1a1a1a; }
.arc-tool p { font-size: 14px; color: #6b7280; margin: 0 0 14px; line-height: 1.5; }
.arc-tool-go { font-size: 13.5px; font-weight: 700; color: #1a1a1a; }

/* QR önizleme */
.qr-preview { background: #fff; border-radius: 16px; border: 1.5px dashed #e5e7eb; display: flex; align-items: center; justify-content: center; padding: 18px; min-height: 300px; }
.qr-preview canvas { max-width: 100%; height: auto !important; border-radius: 6px; }
.qr-color { display: flex; align-items: center; gap: 10px; }
.qr-color input[type=color] { width: 44px; height: 40px; border: 1.5px solid #e5e7eb; border-radius: 10px; padding: 2px; background: #fff; cursor: pointer; }

/* Desi satırları */
.desi-item { background: #f9fafb; border: 1.5px solid #eef0f3; border-radius: 14px; padding: 14px; margin-bottom: 12px; position: relative; }
.desi-item .arc-row { grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); }
.desi-del { position: absolute; top: 8px; right: 8px; background: none; border: 0; color: #9ca3af; cursor: pointer; font-size: 14px; }
.desi-del:hover { color: #dc3545; }

/* QR önizleme filigranı (site favicon'u, silik ve çapraz döşeli). Sadece ekranda görünür; indirilen dosyaya işlenmez. */
.qr-preview { position: relative; overflow: hidden; }
.qr-preview.qr-filigran::after {
    content: ''; position: absolute; inset: -40%; pointer-events: none;
    background-image: var(--qr-fav); background-repeat: repeat; background-size: 52px 52px;
    opacity: .07; transform: rotate(-28deg);
}

/* ── Font Seçici ── */
.ft-ustbar { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 18px; }
.ft-metin { font-size: 1.15rem; padding: 14px 16px; }
.ft-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .ft-grid { grid-template-columns: 1fr; } }
.ft-filtre { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.ft-filtre .arc-input, .ft-filtre .arc-select { width: auto; flex: 1 1 160px; padding: 8px 12px; font-size: 14px; }
.ft-sayi { font-size: 12.5px; color: #9ca3af; margin: 0 0 12px; }
.ft-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.ft-card { text-align: left; background: #fff; border: 1.5px solid #eef0f3; border-radius: 14px; padding: 14px 16px 12px; cursor: pointer; font-family: inherit; transition: border-color .15s, box-shadow .15s; min-width: 0; }
.ft-card:hover { border-color: #d1d5db; box-shadow: 0 4px 14px rgba(0,0,0,.05); }
.ft-card.secili { border-color: #ffdd17; box-shadow: 0 0 0 3px rgba(255,221,23,.3); }
.ft-ornek { font-size: 26px; line-height: 1.3; color: #111; min-height: 40px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity .2s; }
.ft-card:not(.hazir) .ft-ornek { opacity: .35; }
.ft-ad { font-size: 12px; color: #6b7280; margin-top: 6px; font-weight: 600; }
.ft-ad span { color: #9ca3af; font-weight: 400; }
.ft-daha { text-align: center; margin-top: 16px; }
.ft-panel .arc-card { padding: 20px; }
.ft-buyuk { border: 1.5px solid #eef0f3; border-radius: 14px; padding: 24px; min-height: 160px; line-height: 1.25; word-break: break-word; overflow-wrap: anywhere; transition: background .15s; }
.ft-secili-ad { font-size: 1.1rem; font-weight: 700; margin: 0 0 2px; }
.ft-secili-alt { font-size: 12.5px; color: #9ca3af; margin-bottom: 14px; }
.ft-bos { text-align: center; color: #9ca3af; padding: 30px 10px; font-size: 14px; }
.ft-kod { background: #f9fafb; border: 1px solid #eef0f3; border-radius: 10px; padding: 10px 12px; font-family: ui-monospace, Consolas, monospace; font-size: 12px; color: #374151; white-space: pre-wrap; word-break: break-all; margin-top: 12px; }

/* ── Arka Plan Temizle ── */
.bg-drop { border: 2px dashed #d1d5db; border-radius: 18px; background: #fff; padding: 54px 20px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.bg-drop:hover, .bg-drop.over { border-color: #ffdd17; background: #fffdf0; }
.bg-drop i { font-size: 34px; color: #f5b800; margin-bottom: 12px; display: block; }
.bg-drop strong { display: block; font-size: 1.05rem; color: #1a1a1a; margin-bottom: 4px; }
.bg-drop span { font-size: 13.5px; color: #6b7280; }
.bg-sahne { position: relative; border-radius: 14px; overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: 280px;
    background-color: #fff; background-image: linear-gradient(45deg,#e5e7eb 25%,transparent 25%),linear-gradient(-45deg,#e5e7eb 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e5e7eb 75%),linear-gradient(-45deg,transparent 75%,#e5e7eb 75%);
    background-size: 20px 20px; background-position: 0 0, 0 10px, 10px -10px, -10px 0; }
.bg-sahne.dolgu { background-image: none; }
.bg-sahne canvas { max-width: 100%; max-height: 560px; width: auto; height: auto; display: block; }
.bg-durum { position: absolute; inset: 0; background: rgba(255,255,255,.88); display: none; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; text-align: center; font-size: 14px; color: #374151; }
.bg-durum.acik { display: flex; }
.bg-cubuk { width: min(320px, 80%); height: 8px; background: #e5e7eb; border-radius: 8px; overflow: hidden; }
.bg-cubuk > div { height: 100%; width: 0; background: #ffdd17; transition: width .2s; }
.bg-renkler { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bg-ren { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #e5e7eb; cursor: pointer; padding: 0; background-clip: padding-box; }
.bg-ren.active { border-color: #1a1a1a; }
.bg-ren.seffaf { background-color: #fff; background-image: linear-gradient(45deg,#d1d5db 25%,transparent 25%),linear-gradient(-45deg,#d1d5db 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d1d5db 75%),linear-gradient(-45deg,transparent 75%,#d1d5db 75%); background-size: 10px 10px; background-position: 0 0, 0 5px, 5px -5px, -5px 0; }

/* ── Çözünürlük Yükselt ── */
.yc-sahne { position: relative; width: 100%; background: #eef0f3; border-radius: 14px; overflow: hidden; line-height: 0; }
.yc-sahne canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.yc-sahne .yc-orj { image-rendering: auto; }
.yc-etiket { position: absolute; top: 10px; z-index: 3; background: rgba(0,0,0,.6); color: #fff; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 50px; line-height: 1.2; }
.yc-etiket.sol { left: 10px; } .yc-etiket.sag { right: 10px; }
.yc-cizgi { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.25); z-index: 2; pointer-events: none; }
.yc-kaydirici { width: 100%; margin-top: 12px; accent-color: #ffdd17; }
.yc-bilgi { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 9px 0; border-bottom: 1px solid #f0f1f3; }
.yc-bilgi:last-child { border-bottom: 0; }
.yc-bilgi b { color: #1a1a1a; }

/* ── Vektöre Çevir ── */
.yc-sahne.dama { background-color: #fff; background-image: linear-gradient(45deg,#e5e7eb 25%,transparent 25%),linear-gradient(-45deg,#e5e7eb 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e5e7eb 75%),linear-gradient(-45deg,transparent 75%,#e5e7eb 75%); background-size: 20px 20px; background-position: 0 0, 0 10px, 10px -10px, -10px 0; }
.yc-sahne .vk-svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.vk-kutu { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1.5px solid #eef0f3; border-radius: 12px; margin-bottom: 8px; cursor: pointer; font-size: 14px; }
.vk-kutu input { margin-top: 3px; accent-color: #ffdd17; width: 16px; height: 16px; flex-shrink: 0; }
.vk-kutu small { display: block; color: #9ca3af; font-size: 12px; margin-top: 1px; }
.vk-kutu.pasif { opacity: .5; cursor: not-allowed; }

/* ════════════════════════════════════════════════════════════════════════════
   21 Kasım 2026 — YENİ TASARIM DİLİ (tüm araç sayfaları: bu blok yukarıdaki eski kuralları ezer).
   Beyaz başlık bandı, gri zeminde 1px çizgili beyaz kartlar, 4-6px köşe (kapsül yok), sarı ana düğme,
   amber seçili durum. Geri almak için bu bloğu silmek yeterli (yedek: scratchpad araclar.css.bak).
   ════════════════════════════════════════════════════════════════════════════ */
.arc-page { background: #f6f7f8; padding: 0 0 56px; }
.arc-wrap { max-width: 1164px; padding: 0 12px; }

/* başlık bandı: yol + başlık, sayfa genişliğinde beyaz şerit (içerik kendi yerinde kalır) */
.arc-crumb, .arc-head { position: relative; background: #fff; box-shadow: 0 0 0 100vmax #fff; clip-path: inset(0 -100vmax); }
.arc-crumb { margin: 0; padding: 22px 0 12px; font-size: 14px; color: #1a1a1a; font-weight: 600; }
.arc-crumb a { color: #6b7280; font-weight: 500; }
.arc-crumb a:hover { color: #1a1a1a; text-decoration: underline; }
.arc-head { margin: 0 0 28px; padding: 0 0 24px; box-shadow: 0 0 0 100vmax #fff, 0 1px 0 100vmax #eceff1; clip-path: inset(0 -100vmax -1px); }   /* alt çizgi: ikinci gölge (taşma/yatay kaydırma yapmaz) */
.arc-head h1 { font-size: 32px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; margin: 0 0 8px; }
.arc-head p { font-size: 15.5px; line-height: 1.6; color: #4b5563; max-width: 760px; }

/* kartlar */
.arc-card { border-radius: 6px; box-shadow: none; border: 1px solid #e3e6ea; padding: 24px; }
.arc-card + .arc-card { margin-top: 16px; }
.arc-card h2 { font-size: 17px; font-weight: 700; margin: 0 0 16px; letter-spacing: -.005em; }
.arc-sticky { top: 130px; }

/* form */
.arc-label { font-size: 13px; font-weight: 600; color: #374151; }
.arc-input, .arc-select, .arc-textarea { border: 1px solid #cdd2d8; border-radius: 4px; padding: 10px 12px; font-size: 15px; min-height: 44px; }
.arc-textarea { min-height: 96px; }
.arc-input:hover, .arc-select:hover, .arc-textarea:hover { border-color: #9aa1a9; }
.arc-input:focus, .arc-select:focus, .arc-textarea:focus { border-color: #1a1a1a; box-shadow: 0 0 0 3px rgba(242,169,0,.18); }
.arc-hint { font-size: 12.5px; color: #6b7280; }

/* seçim düğmeleri (kapsül değil, düz köşe) */
.arc-chip { border: 1px solid #d6dade; border-radius: 4px; padding: 0 13px; height: 38px; display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; color: #262626; }
.arc-chip i { color: #8b93a1; font-size: 13px; }
.arc-chip:hover { border-color: #1a1a1a; background: #fff; }
.arc-chip.active { background: #fffbea; border-color: #f2a900; color: #1a1a1a; font-weight: 700; box-shadow: inset 0 0 0 1px #f2a900; }
.arc-chip.active i { color: #9a5b00; }

/* düğmeler */
.arc-btn { border-radius: 4px; height: 44px; padding: 0 20px; font-size: 15px; font-weight: 600; color: #1a1a1a; }
.arc-btn:hover { background: #f2c400; color: #1a1a1a; }
.arc-btn-ghost { background: #fff; border: 1px solid #cdd2d8; color: #1a1a1a; }
.arc-btn-ghost:hover { background: #fff; border-color: #1a1a1a; color: #1a1a1a; }
.arc-btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }

/* sonuç kutusu: koyu antrasit, sade */
.arc-result { background: #1f2326; border-radius: 6px; padding: 22px 24px; }
.arc-result-big { font-size: 36px; font-weight: 700; letter-spacing: -.01em; }
.arc-result-lbl { font-size: 13px; color: rgba(255,255,255,.62); font-weight: 500; }
.arc-copy { border-radius: 4px; }

/* bilgi notu: mavi yerine nötr, amber simge */
.arc-note { background: #fff; border: 1px solid #e3e6ea; border-left: 3px solid #f2a900; border-radius: 4px; color: #4b5563; font-size: 14px; padding: 12px 14px; }
.arc-note i { color: #9a5b00; }

/* yardımcı parçalar */
.qr-preview { border-radius: 6px; border: 1px dashed #cdd2d8; }
.qr-color input[type=color] { border: 1px solid #cdd2d8; border-radius: 4px; }
.desi-item { background: #f6f7f8; border: 1px solid #e3e6ea; border-radius: 6px; }
.ft-card { border: 1px solid #e3e6ea; border-radius: 6px; }
.ft-card:hover { border-color: #9aa1a9; box-shadow: none; }
.ft-card.secili { border-color: #f2a900; box-shadow: inset 0 0 0 1px #f2a900; background: #fffdf3; }
.ft-buyuk { border: 1px solid #e3e6ea; border-radius: 6px; }
.ft-kod { border-radius: 4px; }
.bg-drop { border: 1px dashed #b9bfc6; border-radius: 6px; padding: 56px 20px; }
.bg-drop:hover, .bg-drop.over { border-color: #f2a900; background: #fffdf3; }
.bg-drop i { color: #9a5b00; }
.bg-sahne, .yc-sahne { border-radius: 6px; }
.bg-cubuk { border-radius: 2px; }
.yc-etiket { border-radius: 3px; }
.vk-kutu { border: 1px solid #e3e6ea; border-radius: 4px; }

/* ── Araçlar ana sayfası ── */
.arc-grup + .arc-grup { margin-top: 36px; }
.arc-grup-bas { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.arc-grup-bas h2 { font-size: 20px; font-weight: 700; margin: 0; letter-spacing: -.01em; }
.arc-grup-bas span { font-size: 14px; color: #6b7280; }
.arc-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 991px) { .arc-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .arc-tools { grid-template-columns: minmax(0, 1fr); } }
.arc-tool { display: flex; flex-direction: column; border-radius: 6px; box-shadow: none; border: 1px solid #e3e6ea; padding: 22px; }
.arc-tool:hover { border-color: #1a1a1a; transform: none; }
.arc-tool-ico { width: 44px; height: 44px; border-radius: 6px; background: #fff; border: 1px solid #e3e6ea; color: #1a1a1a; font-size: 18px; margin-bottom: 16px; transition: border-color .15s, color .15s; }
.arc-tool:hover .arc-tool-ico { border-color: #f2a900; color: #9a5b00; }
.arc-tool h3 { font-size: 17px; margin: 0 0 6px; }
.arc-tool p { font-size: 14.5px; line-height: 1.55; color: #4b5563; margin: 0 0 16px; flex: 1; }
.arc-tool-go { font-size: 14.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.arc-ozellik { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #e3e6ea; border-radius: 6px; background: #fff; margin: 0 0 32px; }
.arc-ozellik div { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; }
.arc-ozellik div + div { border-left: 1px solid #eceff1; }
.arc-ozellik i { color: #9a5b00; font-size: 16px; margin-top: 2px; }
.arc-ozellik b { display: block; font-size: 14.5px; color: #1a1a1a; }
.arc-ozellik small { display: block; font-size: 13px; color: #6b7280; line-height: 1.45; margin-top: 2px; }
.arc-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; background: #fff; border: 1px solid #e3e6ea; border-left: 3px solid #f2a900; border-radius: 6px; padding: 22px 24px; }
.arc-cta h2 { font-size: 19px; font-weight: 700; margin: 0 0 4px; }
.arc-cta p { font-size: 14.5px; color: #4b5563; margin: 0; }
.arc-cta .arc-actions { flex: 0 0 auto; }

@media (max-width: 767px) {
    .arc-crumb { padding-top: 16px; }
    .arc-head { margin-bottom: 18px; padding-bottom: 18px; }
    .arc-head h1 { font-size: 25px; }
    .arc-head p { font-size: 14.5px; }
    .arc-card { padding: 16px; }
    .arc-ozellik { grid-template-columns: minmax(0, 1fr); }
    .arc-ozellik div + div { border-left: 0; border-top: 1px solid #eceff1; }
    .arc-cta { flex-direction: column; align-items: flex-start; }
}
