:root{
  --bg:#ffffff;
  --bg2:#ffffff;

  --card:#ffffff;
  --text:#0f172a;
  --muted:#6b7280;
  --line:rgba(15,23,42,.10);

  /* KIRMIZI (daha kontrollü) */
  --accent:#e30613;
  --accent-2:#c90511;

  /* daha sade görünüm */
  --shadow:none;
  --shadow2:none;

  /* DIŞ KAPSAYICILAR: radius 0 */
  --r:0px;
  --r2:0px;

  --t: all .18s ease;

  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
}

*{box-sizing:border-box}

#photo-panel{
  font-family:var(--sans);
  color:var(--text);
}

body{background:#fff;}

.ayz-panel-wrap{
  max-width:1320px;
  margin:0 auto;
  padding:18px;
}

.ayz-grid{
  display:grid;
  grid-template-columns: 1.15fr 0.95fr 0.9fr;
  gap:14px;
  align-items:start !important;
  justify-items:stretch;
  grid-auto-rows:min-content !important;
  grid-template-areas:"preview output files";
}
@media (max-width: 1180px){
  .ayz-grid{
    grid-template-columns:1fr;
    grid-template-areas:
      "preview"
      "output"
      "files";
  }
}

.previewCard{grid-area:preview}
.outputCard{grid-area:output}
.filesCard{grid-area:files}

/* DIŞ KARTLAR (outer container): radius 0 + sade */
.ayz-card{
  background:var(--card);
  border:1px solid rgba(15,23,42,.10);
  border-radius:var(--r);
  box-shadow: var(--shadow);
  overflow:hidden;
  align-self:start !important;
  height:auto !important;
  min-height:0 !important;
}

.ayz-hd{
  padding:12px 16px;
  border-bottom:1px solid rgba(15,23,42,.10);
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  background:#fff;
}
.ayz-hd b{font-size:14px;letter-spacing:.2px}

.badge{
  font-size:12px;color:var(--muted);
  border:1px solid rgba(15,23,42,.12);
  background:transparent;
  padding:6px 10px;border-radius:999px;
  white-space:nowrap;
}

.ayz-bd{padding:14px 16px}

.top{
  display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap;
  margin-bottom:12px;
}
.title{display:flex;flex-direction:column;gap:6px}
#panel-title{margin:0;font-size:24px;letter-spacing:.2px}
.sub{margin:0;color:var(--muted);font-size:13px;line-height:1.4}

.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
}

/* =========================
   BUTONLAR (KÜÇÜLT + KIRMIZIYI DENGELE)
   ========================= */
.btn{
  appearance:none;
  border:1px solid rgba(15,23,42,.14);
  background:#fff;
  color:var(--text);

  /* küçült */
  padding:9px 12px;
  border-radius:10px;
  font-size:13px;
  line-height:1;
  min-height:40px;

  cursor:pointer;
  transition:var(--t);
  display:inline-flex;
  gap:8px;
  align-items:center;
  justify-content:center;

  /* butonların büyüyüp geniş bar olmasını engelle */
  width:auto !important;
  flex:0 0 auto !important;
  white-space:nowrap;

  box-shadow: var(--shadow2);
  font-weight:900;
}

.actions .btn{
  width:auto !important;
  flex:0 0 auto !important;
  min-height:40px;
}

/* bazı temalar button'a font-size/height basıyor -> sıfırla */
button.btn, a.btn, label.btn{
  height:auto !important;
  max-width:100%;
}

.btn:hover{border-color:rgba(15,23,42,.22);transform:translateY(-1px)}
.ic{width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center}

/* ✅ PRIMARY: kırmızı ama abartısız (pembe/soft dolgu) */
.btn.primary{
  background:rgba(227,6,19,.08);
  color:var(--accent);
  border-color:rgba(227,6,19,.30);
}
.btn.primary:hover{
  background:rgba(227,6,19,.12);
  border-color:rgba(227,6,19,.48);
}

/* danger: daha küçük + kontrollü */
.btn.danger{
  background:rgba(239,68,68,.06);
  border-color:rgba(239,68,68,.22);
  color:#b91c1c;
}
.btn.danger:hover{
  background:rgba(239,68,68,.10);
  border-color:rgba(239,68,68,.40);
}

/* “Hepsini indir / Temizle” gibi üstteki butonların dev gibi görünmesini engelle */
.top .actions .btn{
  padding:9px 12px !important;
  border-radius:10px !important;
  font-size:13px !important;
  min-height:40px !important;
}

/* Mobilde üst butonlar tam satıra yayılıp bar olmasın */
@media (max-width: 680px){
  .actions{justify-content:flex-start}
  .actions .btn{
    width:auto !important;
    flex:0 0 auto !important;
  }
}

.row{display:grid;grid-template-columns: 1fr 1fr;gap:12px}
label{font-size:12px;color:var(--muted);display:block;margin:0 0 8px}

input[type="text"], input[type="number"], select{
  width:100%;
  background:#fff;
  border:1px solid rgba(15,23,42,.14);
  color:var(--text);
  padding:11px 12px;
  border-radius:12px;
  outline:none;
  transition:var(--t);
}
input[type="text"]:focus, input[type="number"]:focus, select:focus{
  border-color:rgba(15,23,42,.26);
  box-shadow:0 0 0 4px rgba(15,23,42,.06);
}
input[type="range"]{width:100%}

.kv{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:var(--muted)}
.kv b{font-family:var(--mono);color:var(--text);font-weight:900}
.hint{font-size:12px;color:var(--muted);margin-top:6px}

.sep{height:1px;background:rgba(15,23,42,.10);margin:10px 0}

.toggle{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px;
  border:1px solid rgba(15,23,42,.12);
  border-radius:12px;
  background:transparent;
}
.toggle .ttl{font-weight:900;font-size:13px}
.small{font-size:12px;color:var(--muted);line-height:1.45}

.switch{
  position:relative;width:52px;height:30px;flex:0 0 auto;
  background:rgba(15,23,42,.12);
  border-radius:999px;border:1px solid rgba(15,23,42,.12);
  cursor:pointer;transition:var(--t);
}
.switch::after{
  content:"";position:absolute;top:50%;left:3px;transform:translateY(-50%);
  width:24px;height:24px;border-radius:50%;
  background:#fff;
  transition:var(--t);
  box-shadow:0 10px 20px rgba(15,23,42,.18);
}
.switch.on{background:rgba(34,197,94,.25);border-color:rgba(34,197,94,.35)}
.switch.on::after{left:25px;background:rgba(34,197,94,.95)}

.mini{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.chip{
  border:1px solid rgba(15,23,42,.14);
  background:#fff;
  color:var(--text);
  border-radius:999px;
  padding:9px 12px;
  cursor:pointer;
  transition:var(--t);
  font-size:12px;
  user-select:none;
  font-weight:800;
}
.chip:hover{border-color:rgba(15,23,42,.22)}
.chip.active{
  border-color:rgba(15,23,42,.26);
  box-shadow:0 0 0 4px rgba(15,23,42,.06);
}

.applyRow{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px}

/* DROP: outer görünüm sade + radius 0 */
.drop{
  border:1px dashed rgba(15,23,42,.22);
  border-radius:var(--r2);
  padding:14px;
  background:transparent;
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
}
.drop .left{display:flex;flex-direction:column;gap:6px}
.drop .left b{font-size:13px}
.drop .left span{font-size:12px;color:var(--muted)}
.drop input{display:none}

.list{margin-top:12px;display:flex;flex-direction:column;gap:10px}
.item{
  border:1px solid rgba(15,23,42,.12);
  background:#fff;
  border-radius:12px;
  padding:10px;
  display:grid;
  grid-template-columns: 54px 1fr auto;
  gap:10px;
  align-items:center;
  transition:var(--t);
  cursor:pointer;
}
.item:hover{border-color:rgba(15,23,42,.20);transform:translateY(-1px)}
.item.sel{border-color:rgba(15,23,42,.26);box-shadow:0 0 0 4px rgba(15,23,42,.06)}

.thumb{
  width:54px;height:54px;border-radius:10px;
  background:rgba(15,23,42,.03);
  border:1px solid rgba(15,23,42,.12);
  overflow:hidden;
  display:flex;align-items:center;justify-content:center;
}
.thumb img{width:100%;height:100%;object-fit:cover;display:block}

.meta{display:flex;flex-direction:column;gap:4px;min-width:0}
.meta .nm{font-size:13px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.meta .inf{font-size:12px;color:var(--muted);font-family:var(--mono);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.rightbtns{display:flex;gap:8px;align-items:center}
.iconbtn{
  width:36px;height:36px;border-radius:10px;   /* biraz küçült */
  border:1px solid rgba(15,23,42,.12);
  background:#fff;
  cursor:pointer;transition:var(--t);
  display:inline-flex;align-items:center;justify-content:center;
}
.iconbtn:hover{border-color:rgba(15,23,42,.20);transform:translateY(-1px)}
.iconbtn.danger{border-color:rgba(239,68,68,.25);background:rgba(239,68,68,.05)}
.iconbtn.danger:hover{border-color:rgba(239,68,68,.45)}

/* PREVIEW outer: radius 0 */
.pv{
  border:1px solid rgba(15,23,42,.12);
  border-radius:var(--r2);
  overflow:hidden;
  background:#fff;
}
.pv canvas{
  width:100%;
  height:auto;
  display:block;
  background:
    linear-gradient(45deg, rgba(15,23,42,.06) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(15,23,42,.06) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(15,23,42,.06) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(15,23,42,.06) 75%);
  background-size: 22px 22px;
  background-position: 0 0, 0 11px, 11px -11px, -11px 0px;
}
.pvInfo{margin-top:10px;display:flex;flex-direction:column;gap:10px}
.pvBtns{display:flex;gap:12px;flex-wrap:wrap}

.kbd{
  font-family:var(--mono);
  border:1px solid rgba(15,23,42,.18);
  border-bottom-color:rgba(15,23,42,.24);
  padding:1px 6px;border-radius:7px;
  background:rgba(15,23,42,.04);
  font-size:11px;
}

/* SEO dış kapsayıcı: radius 0 + shadow yok */
.seo{
  margin-top:18px;
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
  border-radius:var(--r);
  box-shadow: var(--shadow);
  padding:18px;
}
.seo h2{margin:0 0 8px;font-size:20px}
.seo p{margin:0 0 10px;color:var(--muted);line-height:1.7}
.seo h3{margin:16px 0 8px;font-size:15px}
.seo ul{margin:0;padding-left:18px;color:var(--muted);line-height:1.8}
.seo .cta{
  margin-top:14px;
  display:flex;gap:10px;flex-wrap:wrap;align-items:center;
  padding-top:14px;border-top:1px solid rgba(15,23,42,.10);
}
.seo .cta a{ text-decoration:none; }

.toast{
  position:fixed;bottom:16px;left:50%;transform:translateX(-50%);
  background:rgba(15,23,42,.88);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;padding:10px 12px;border-radius:12px;
  opacity:0;pointer-events:none;transition:var(--t);
  box-shadow:0 18px 60px rgba(15,23,42,.35);
  max-width:92vw;font-size:13px;
  z-index:99999;
}
.toast.show{opacity:1;transform:translateX(-50%) translateY(-4px)}

/* FAQ Tasarım (sade) */
.faq {
  margin-top: 30px;
  border-top: 1px solid #e5e7eb;
}
.faq-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 14px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  position: relative;
  padding-right: 24px;
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 18px;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:hover { color: #0f172a; }
.faq-answer {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #4b5563;
}

/* Sol alt sabit iletişim butonlarını tamamen kaldır */
.contact-floats,
.contact-floats *,
.contact-floats a,
.contact-floats .whatsapp,
.contact-floats .phone {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}