/* ====== KÖK / RESET ====== */
#sidefer-app { font-family:"Titillium Web", system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif; }
#sidefer-app *, #sidefer-app *::before, #sidefer-app *::after { box-sizing:border-box; }

/* ====== PANEL (ESKİ SAKİN ARKAPLAN) ====== */
#sidefer-app .s-panel{
  position:relative;
  background:#f7f7f7 !important;
  border:1px solid #e8e8e8 !important;
  border-radius:14px !important;
  padding:14px !important;
  margin:0 auto !important;
  max-width:980px !important;
}
#sidefer-app .s-progress{ position:absolute; right:10px; top:8px; font-size:12px; color:#666; }
#sidefer-app .s-head{
  display:flex; align-items:center; gap:10px;
  background:#fff !important; border:1px solid #eee !important; border-radius:10px !important; padding:10px 12px !important;
}
#sidefer-app .s-head h3{ font-family:"Alegreya",Georgia,serif; margin:0; font-size:24px; line-height:1.25; color:#2c030b; }
#sidefer-app .s-icon{ margin-left:auto; color:#f46174; }
#sidefer-app .s-inner{ padding:14px 6px; }

/* ====== BUTON ====== */
#sidefer-app .s-actions{ display:flex; gap:10px; margin-top:14px; flex-wrap:wrap; }
#sidefer-app .s-actions.center{ justify-content:center; }
#sidefer-app .s-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  border:1px solid #ddd !important; background-color:#fff !important; color:#111 !important;
  padding:10px 16px !important; border-radius:12px !important;
  cursor:pointer; font-weight:700; line-height:1; text-decoration:none !important; letter-spacing:normal;
  min-height:42px;
}
#sidefer-app .s-btn:hover{ filter:brightness(0.98); }
#sidefer-app .s-btn:disabled{ opacity:.55; cursor:not-allowed; }
#sidefer-app .s-btn.s-primary{ background-color:#f46174 !important; border-color:#f46174 !important; color:#fff !important; }
/* disabled olsa bile kırmızı kalsın */
#sidefer-app .s-btn.s-primary:disabled{ background-color:#f46174 !important; border-color:#f46174 !important; color:#fff !important; opacity:.55; }

/* Mobil: butonlar 2×2 grid, taşma yok */
@media (max-width:640px){
  #sidefer-app .s-actions{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px; }
  #sidefer-app .s-btn{ width:100%; }
}

/* ====== RADIO LİSTE ====== */
#sidefer-app .s-radio-list{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media (max-width:720px){ #sidefer-app .s-radio-list{ grid-template-columns:1fr; } }

#sidefer-app .s-radioopt{
  display:flex; align-items:center; gap:10px;
  padding:12px 14px !important; border:1px solid #e6e6e6 !important; border-radius:12px !important; background:#fff !important;
  transition:border-color .15s ease, box-shadow .15s ease;
}
#sidefer-app .s-radioopt.is-checked{ border-color:#f46174 !important; box-shadow:0 0 0 2px rgba(244,97,116,.15) inset; }
/* native input görünmez */
#sidefer-app .s-radioopt input{ position:absolute; opacity:0; pointer-events:none; width:0; height:0; margin:0; }
/* özel radyo işareti */
#sidefer-app .s-radioopt .s-rmark{
  width:18px; height:18px; flex:0 0 18px; border-radius:50%;
  border:2px solid #9a9a9a; background:#fff !important; position:relative;
}
#sidefer-app .s-radioopt.is-checked .s-rmark{ border-color:#f46174; }
#sidefer-app .s-radioopt.is-checked .s-rmark::after{
  content:""; position:absolute; inset:3px; border-radius:50%; background:#f46174;
}

/* ====== CHECKBOX LİSTE ====== */
#sidefer-app .s-checklist{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
@media (max-width:720px){ #sidefer-app .s-checklist{ grid-template-columns:1fr; } }

#sidefer-app .s-checkrow{
  display:flex; align-items:center; gap:10px;
  padding:10px 12px !important; border:1px solid #e6e6e6 !important; border-radius:12px !important; background:#fff !important;
  transition:border-color .15s ease, box-shadow .15s ease, opacity .15s ease;
}
#sidefer-app .s-checkrow .s-cb{ position:absolute; opacity:0; pointer-events:none; width:0; height:0; margin:0; } /* çift kutu fix */
#sidefer-app .s-checkrow .s-box{
  width:18px; height:18px; border:2px solid #9a9a9a; border-radius:6px; display:flex; align-items:center; justify-content:center;
  background:#fff !important; color:#fff;
}
#sidefer-app .s-checkrow .s-tick{ opacity:0; stroke:#fff; }
#sidefer-app .s-checkrow.is-checked{ border-color:#f46174 !important; box-shadow:0 0 0 2px rgba(244,97,116,.15) inset; }
#sidefer-app .s-checkrow.is-checked .s-box{ background:#f46174 !important; border-color:#f46174 !important; color:#fff !important; }
#sidefer-app .s-checkrow.is-checked .s-tick{ opacity:1; }
#sidefer-app .s-checkrow.s-disabled{ opacity:.55; }

/* ====== Q5 – BELİRTİ TABLOSU ====== */
#sidefer-app .s-sym-table{
  display:grid;
  grid-template-columns:minmax(180px,2fr) repeat(3,1fr);
  background:#fff !important; border:1px solid #ececec !important; border-radius:12px !important; overflow:hidden;
}
#sidefer-app .s-sym-th, #sidefer-app .s-sym-td{ padding:12px 10px !important; border-bottom:1px solid #f0f0f0 !important; }
#sidefer-app .s-sym-th{ font-weight:700; text-align:left; background:#fafafa !important; }
#sidefer-app .s-sym-td.s-sym-label{ font-weight:700; color:#2c030b; }
#sidefer-app .s-sym-td.s-sym-opt{ text-align:center; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; }

/* chip – küçük daire */
#sidefer-app .s-chip{
  -webkit-appearance:none; appearance:none;
  display:inline-block; vertical-align:middle;
  padding:0 !important; margin:0;
  width:20px; height:20px;
  border-radius:50% !important;
  border:2px solid #9e9e9e !important;
  background:#fff !important; color:transparent;
  line-height:1; box-shadow:none !important; outline:none; cursor:pointer;
}
#sidefer-app .s-chip.s-chip-selected{ border-color:#f46174 !important; background:#f46174 !important; }

/* Mobilde başlık etiketlerini göster ve chip’leri biraz küçült */
#sidefer-app .s-mobile-hdr{ display:none; font-size:11px; color:#666; line-height:1; }
@media (max-width:640px){
  #sidefer-app .s-sym-table{ grid-template-columns:repeat(3,1fr); }
  #sidefer-app .s-sym-th{ display:none !important; }
  #sidefer-app .s-sym-td{ padding:10px 8px !important; }
  #sidefer-app .s-sym-td.s-sym-label{
    grid-column:1 / -1; font-weight:700; background:#fafafa !important; border-top:1px solid #f0f0f0 !important;
  }
  #sidefer-app .s-chip{ width:18px; height:18px; }
  #sidefer-app .s-mobile-hdr{ display:block; }
}

/* ====== SONUÇ ====== */
#sidefer-app .s-result .s-res-imgwrap{
  background:#fff !important; border:1px solid #e6e6e6 !important; border-radius:12px !important; padding:12px !important; margin-top:8px !important;
}
#sidefer-app .s-result .s-res-image{ display:block; max-width:320px; width:100%; height:auto; }
#sidefer-app .s-result .s-res-caption h4{ margin:12px 0 8px; font-size:20px; font-family:"Alegreya",Georgia,serif; color:#2c030b; }