/* Telafi simülasyonu ve WhatsApp mockup */
/* hidden özniteliği her zaman display kurallarını ezsin */
[hidden]{display:none !important}
.sim{position:relative;height:540px;background:#fff;border:1px solid var(--line-2);border-radius:16px;overflow:hidden;box-shadow:0 24px 50px rgba(31,38,34,.10),0 4px 12px rgba(31,38,34,.05);display:flex;flex-direction:column}
.sim-pane{flex:1;min-height:0;display:flex;flex-direction:column;animation:fadeIn .35s ease both}
.sim-hd{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid var(--line-3)}
.sim-hd b{font-size:13px;font-weight:800;letter-spacing:.04em;color:var(--d)}
.sim-hd .date{font-size:12px;font-weight:600;color:#5B6960;border:1px solid var(--line-2);padding:5px 10px;border-radius:7px}
.sim-hd .title{font-size:15px;font-weight:700;color:var(--ink-2)}
.sim-x{border:none;background:none;font-size:18px;color:#5B6960;cursor:pointer;padding:0 4px;line-height:1}

/* Program tablosu */
.grid-wrap{padding:16px 18px;display:flex;flex-direction:column}
.g-row{display:grid;grid-template-columns:64px 1fr 1fr 1fr}
.g-head{background:var(--d);border-radius:8px 8px 0 0;color:#fff;font-size:11.5px;font-weight:700}
.g-head span{padding:9px 0;text-align:center}
.g-body{border:1px solid var(--line-3);border-top:none}
.g-row:last-child .g-body,.g-last{border-radius:0 0 8px 8px;overflow:hidden}
.g-time{background:var(--d);color:#fff;font-size:11px;font-weight:700;padding:18px 0;text-align:center;line-height:1.3}
.g-cell{display:flex;align-items:center;justify-content:center;border-right:1px solid var(--line-3)}
.g-cell:last-child{border-right:none}
.chip{font-size:11.5px;font-weight:600;color:var(--d);background:#DDF1E4;padding:4px 9px;border-radius:100px}
.chip-warn{color:#8A5A12;background:#FCEFD2}
.chip-bad{color:#A33A3A;background:#FBE1E1}
.g-empty{flex-direction:column;gap:5px;background:#FFF8EE;outline:2px solid #E9A45A;outline-offset:-2px}
.g-empty .chip{color:#9A9A9A;background:#F1F1F1;text-decoration:line-through}
.g-empty small{font-size:9px;font-weight:800;letter-spacing:.03em;white-space:nowrap;color:#B4661E;animation:blink 1.4s ease-in-out infinite}
.g-filled{flex-direction:column;gap:5px;background:#EAF6EE;outline:2px solid var(--m);outline-offset:-2px;animation:fadeIn .5s ease both}
.g-filled .chip{color:#fff;background:var(--a);font-weight:700;animation:glow 1.2s ease-out 3}
.g-filled small{font-size:9px;font-weight:800;letter-spacing:.03em;white-space:nowrap;color:var(--a)}

/* Alt bildirim kartları */
.sim-alert{margin:0 18px 18px;padding:18px;background:#FFF8EE;border:1px solid #F1D9BD;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.sim-alert b{display:block;font-size:14px;font-weight:700;color:var(--ink-2)}
.sim-alert span{display:block;font-size:12.5px;color:#8A6A48;margin-top:3px}
.sim-btn{flex-shrink:0;white-space:nowrap;height:42px;padding:0 18px;border:none;border-radius:10px;background:var(--a);color:#fff;font-size:14px;font-weight:700;cursor:pointer;animation:btnPulse 1.4s ease-out infinite}
.sim-done{margin:0 18px 18px;padding:16px 18px;background:var(--a);color:#fff;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:14px;animation:rowIn .45s ease both}
.sim-done b{display:block;font-size:14px;font-weight:700}
.sim-done span{display:block;font-size:12.5px;color:rgba(255,255,255,.75);margin-top:3px}
.sim-done .t{font-size:22px;font-weight:800;letter-spacing:-.5px;color:#8FD4A8;display:block;text-align:right}
.sim-done .t small{display:block;font-size:11px;font-weight:500;color:rgba(255,255,255,.65);white-space:nowrap}

/* Modal (aday listesi) */
.prog{height:3px;background:var(--line-3)}
.prog i{display:block;height:3px;width:0;background:var(--m);transition:width .6s ease}
.sim-sub{padding:12px 18px 0}
.sim-sub div{background:#F6F9F7;border:1px solid var(--line-3);border-radius:10px;padding:9px 10px}
.sim-sub span{font-size:12px;font-weight:600;color:var(--d);background:var(--t);padding:5px 10px;border-radius:100px}
.sim-lbl{display:flex;align-items:center;justify-content:space-between;padding:14px 18px 8px}
.sim-lbl b{font-size:11.5px;font-weight:800;letter-spacing:.06em;color:#6B7D73}
.sim-lbl span{font-size:11.5px;color:var(--muted)}
.sim-list{flex:1;min-height:0;overflow:hidden;padding:0 18px;display:flex;flex-direction:column;gap:7px}
.crit{display:flex;flex-direction:column;gap:8px;padding-top:6px}
.crit>b{font-size:13px;font-weight:600;color:var(--ink-2);margin-bottom:4px}
.crit-row{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line-3);border-radius:9px;animation:rowIn .3s ease both}
.crit-row i{width:22px;height:22px;border-radius:50%;background:var(--line-3);color:var(--muted);font-size:11px;font-weight:800;font-style:normal;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .3s,color .3s}
.crit-row.ok i{background:var(--a);color:#fff}
.crit-row span{font-size:13px;color:#3B4740}
.cand{display:flex;align-items:center;gap:11px;padding:10px 12px;background:#fff;border:1px solid var(--line-3);border-radius:10px;transition:background .3s,border-color .3s,opacity .3s;animation:rowIn .35s ease both}
.cand .dots{color:#B7C2BB;font-size:11px;letter-spacing:-1px}
.cand .num{width:24px;height:24px;border-radius:50%;background:var(--d);color:#fff;font-size:11.5px;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.cand-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.cand-info b{font-size:13.5px;font-weight:700;color:var(--ink-2)}
.cand-info span{font-size:11.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cand .pill-s{flex-shrink:0;white-space:nowrap;font-size:11.5px;font-weight:700;color:var(--d);background:var(--t);padding:5px 10px;border-radius:100px;transition:background .3s,color .3s}
.cand.sent{background:#FFFBF5;border-color:#F1D9BD}
.cand.sent .pill-s{background:#FFF1DE;color:var(--warn-ink)}
.cand.no{opacity:.6}
.cand.no .pill-s{background:#F1F3F2;color:var(--muted)}
.cand.yes{background:var(--l);border-color:var(--a)}
.cand.yes .pill-s{background:var(--a);color:#fff}
.cand.skip{opacity:.45}
.cand.skip .pill-s{background:#F1F3F2;color:var(--muted)}
.cand.wait .pill-s{background:#F1F3F2;color:#6B7D73}
.cand-done{background:var(--a);color:#fff;border-radius:10px;padding:12px 14px;display:flex;align-items:center;gap:10px;animation:rowIn .4s ease both}
.cand-done i{width:24px;height:24px;border-radius:50%;background:#8FD4A8;color:var(--d);font-size:13px;font-weight:800;font-style:normal;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.cand-done span{font-size:13px;line-height:1.45}
.sim-ft{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-top:1px solid var(--line-3);margin-top:10px}
.sim-ft>span{font-size:12.5px;color:#6B7D73;min-width:0}
.sim-ft button{flex-shrink:0;white-space:nowrap;height:40px;padding:0 16px;border:none;border-radius:9px;font-size:13px;font-weight:700;cursor:pointer}
.btn-go{background:var(--d);color:#fff;animation:btnPulse 1.4s ease-out infinite}
.btn-busy{background:#A9C2B5;color:#fff;cursor:default}
.btn-replay{background:#fff;color:var(--a);border:1px solid #CBE4D5 !important}

/* İmleç ve toast */
.cursor{position:absolute;left:calc(100% - 40px);top:46%;opacity:0;transition:left .9s cubic-bezier(.5,0,.2,1),top .9s cubic-bezier(.5,0,.2,1),opacity .4s;pointer-events:none;z-index:5}
.cursor.on{opacity:1}
.cursor .rip{position:absolute;left:0;top:0;width:34px;height:34px;border-radius:50%;background:rgba(46,107,79,.35);animation:ripple .5s ease-out both}
.steps-dots{position:relative;display:flex;justify-content:center;gap:18px;margin-top:16px;flex-wrap:wrap}
.steps-dots span{display:flex;align-items:center;gap:7px;font-size:12.5px;font-weight:700;color:var(--muted);transition:color .3s}
.steps-dots i{width:8px;height:8px;border-radius:50%;background:#D7E0DA;display:block;transition:background .3s}
.steps-dots .now{color:var(--d)}
.steps-dots .now i{background:var(--a)}
.steps-dots .past i{background:#8FD4A8}

/* WhatsApp telefon */
.phone-wrap{position:relative;display:flex;justify-content:center}
.phone-glow{position:absolute;top:50%;left:50%;width:440px;height:440px;transform:translate(-50%,-50%);border-radius:50%;background:var(--t)}
.phone{position:relative;width:310px;height:620px;background:var(--ink-2);border-radius:46px;padding:10px;box-shadow:0 40px 80px rgba(31,38,34,.22),0 8px 20px rgba(31,38,34,.1)}
.phone-in{width:100%;height:100%;border-radius:37px;overflow:hidden;background:#EFEAE2;display:flex;flex-direction:column;position:relative}
.ph-status{height:30px;display:flex;align-items:center;justify-content:space-between;padding:0 24px;background:#F7F5F1;font-size:11.5px;font-weight:700;color:var(--ink-2);position:relative}
.ph-notch{width:84px;height:22px;border-radius:20px;background:var(--ink-2);position:absolute;left:50%;top:7px;transform:translateX(-50%)}
.ph-hd{display:flex;align-items:center;gap:10px;padding:10px 14px;background:#F7F5F1;border-bottom:1px solid #E4DED3}
.ph-hd .back{color:var(--a);font-size:18px}
.ph-hd b{font-size:13.5px;font-weight:700;color:var(--ink-2);display:block}
.ph-hd small{font-size:11px;color:#6B7D73;display:block}
.ph-body{flex:1;min-height:0;padding:14px 10px;display:flex;flex-direction:column;justify-content:flex-end;gap:8px;overflow:hidden}
.ph-day{align-self:center;font-size:11px;font-weight:600;color:#5B6960;background:#fff;padding:4px 11px;border-radius:8px;box-shadow:0 1px 1px rgba(0,0,0,.06)}
.ph-out{align-self:flex-end;width:86%;background:#234236;color:#fff;border-radius:14px 4px 14px 14px;padding:8px;animation:toastIn .45s cubic-bezier(.2,.9,.3,1.2) both}
.poll{border:1px solid rgba(255,255,255,.18);border-radius:9px}
.poll-hd{display:flex;align-items:center;gap:7px;padding:8px 10px;border-bottom:1px solid rgba(255,255,255,.18);font-size:12.5px;font-weight:700}
.poll-bd{padding:9px 10px 10px;display:flex;flex-direction:column;gap:9px}
.poll-q{font-size:12px;line-height:1.5}
.poll-opts{display:flex;flex-direction:column;gap:9px}
.poll-o{display:flex;align-items:center;gap:8px}
.poll-o .rb{width:17px;height:17px;border-radius:50%;border:1.6px solid rgba(255,255,255,.7);display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:800;flex-shrink:0;transition:background .3s,border-color .3s}
.poll-o.on .rb{background:#8FD4A8;border-color:#8FD4A8;color:#234236}
.poll-o .lb{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.poll-o .lb span{font-size:12px}
.poll-o .lb i{display:block;height:3px;border-radius:3px;background:rgba(255,255,255,.22);overflow:hidden}
.poll-o .lb i b{display:block;height:100%;width:0;background:#8FD4A8;transition:width .5s ease}
.poll-o .cnt{font-size:11px;color:rgba(255,255,255,.6);min-width:10px;text-align:right}
.ph-meta{display:flex;align-items:center;justify-content:flex-end;gap:4px;font-size:10px;color:rgba(255,255,255,.6);padding:3px 4px 0}
.ph-meta .tick{transition:color .3s}
.ph-in{align-self:flex-start;max-width:84%;background:#fff;color:var(--ink-2);border-radius:4px 14px 14px 14px;padding:9px 11px;font-size:12.5px;line-height:1.5;box-shadow:0 1px 1px rgba(0,0,0,.06);animation:toastIn .4s cubic-bezier(.2,.9,.3,1.2) both}
.ph-typing{align-self:flex-start;background:#fff;border-radius:4px 14px 14px 14px;padding:11px 13px;display:flex;gap:4px;box-shadow:0 1px 1px rgba(0,0,0,.06)}
.ph-typing i{width:6px;height:6px;border-radius:50%;background:#B7C2BB;display:block;animation:blink 1s ease-in-out infinite}
.ph-typing i:nth-child(2){animation-delay:.2s}
.ph-typing i:nth-child(3){animation-delay:.4s}
.ph-sync{margin:4px 6px 0;background:var(--a);color:#fff;border-radius:12px;padding:10px 12px;display:flex;align-items:center;gap:9px;animation:rowIn .45s ease both}
.ph-sync i{width:22px;height:22px;border-radius:50%;background:#8FD4A8;color:var(--d);font-size:11px;font-weight:800;font-style:normal;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.ph-sync span{font-size:12px;line-height:1.4}

@media (max-width:980px){
  .sim{height:auto;min-height:520px}
  .phone-glow{width:340px;height:340px}
}
@media (max-width:480px){
  .cand{gap:8px;padding:9px 10px}
  .cand .dots{display:none}
  .cand-info b{font-size:12.5px}
  .cand-info span{font-size:10.5px}
  .cand .pill-s{font-size:10.5px;padding:4px 8px}
  .sim-hd .title{font-size:14px}
  .sim-ft{gap:8px;padding:12px 14px}
  .sim-ft>span{font-size:11.5px}
  .sim-ft button{font-size:12px;padding:0 12px;height:38px}
  .sim-list{padding:0 14px;gap:6px}
  .sim-sub,.sim-lbl{padding-left:14px;padding-right:14px}
  .sim-alert{margin:0 14px 14px;padding:14px}
}
@media (max-width:420px){
  .phone{width:280px;height:580px}
  .g-row{grid-template-columns:52px 1fr 1fr 1fr}
  .chip{font-size:10.5px;padding:4px 7px}
}
