:root{--bg:#f6f7fb;--card:#fff;--text:#242424;--muted:#777;--primary:#cf4338;--border:#e9e9ef;--shadow:0 10px 28px rgba(15,23,42,.07);--radius:14px}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--text);font-size:14px}a{text-decoration:none;color:inherit}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card,.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.login-card{width:min(430px,100%);padding:34px}.login-card h1{margin:0 0 8px}.layout{display:grid;grid-template-columns:270px 1fr;min-height:100vh}.sidebar{background:#181818;color:#fff;padding:24px;position:sticky;top:0;height:100vh;overflow:auto}.brand{font-size:21px;font-weight:900;margin-bottom:25px}.menu a{display:block;padding:12px 14px;border-radius:10px;color:#ddd;margin:3px 0;font-weight:700}.menu a:hover,.menu a.active{background:rgba(255,255,255,.1);color:#fff}.main{padding:30px}.top{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.top-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.admin-top-btn{min-width:118px;box-shadow:0 8px 18px rgba(15,23,42,.08)}
.top h1{margin:0;font-size:28px}.card{padding:24px;margin-bottom:22px}.grid{display:grid;gap:18px}.grid.two{grid-template-columns:1fr 1fr}.grid.three{grid-template-columns:repeat(3,1fr)}label{display:block;font-weight:800;margin:0 0 7px}input,textarea,select{width:100%;border:1px solid var(--border);border-radius:10px;padding:12px 13px;background:#fff;font:inherit}textarea{min-height:120px}.hint{color:var(--muted);font-size:12px;margin-top:6px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 15px;border-radius:10px;border:1px solid var(--primary);background:var(--primary);color:#fff;font-weight:900;cursor:pointer}.btn.secondary{background:#fff;color:var(--primary)}.btn.dark{background:#1f2937;border-color:#1f2937}.btn.success{background:#16a34a;border-color:#16a34a}.btn.info{background:#2563eb;border-color:#2563eb}.btn.danger{background:#dc2626;border-color:#dc2626}.btn.small{padding:7px 10px;font-size:12px}.table{width:100%;border-collapse:collapse}.table th,.table td{text-align:left;border-bottom:1px solid var(--border);padding:14px;vertical-align:top}.table th{font-size:12px;text-transform:uppercase;color:#777;letter-spacing:.06em}.status{display:inline-flex;padding:5px 9px;border-radius:999px;font-weight:900;font-size:12px}.status.on{background:#dcfce7;color:#166534}.status.off{background:#fee2e2;color:#991b1b}.flash{padding:13px 15px;border-radius:10px;background:#dcfce7;color:#14532d;margin-bottom:18px;font-weight:800}.flash.error{background:#fee2e2;color:#991b1b}.preview-img{width:120px;height:80px;object-fit:cover;border-radius:10px;border:1px solid var(--border)}.preview-img.logo-preview-img{width:auto;max-width:230px;height:76px;object-fit:contain;background:#fff;padding:8px}.section-row{display:grid;grid-template-columns:40px 1fr 150px 180px;gap:12px;align-items:center;padding:14px;border:1px solid var(--border);background:#fff;border-radius:12px;margin:10px 0}.handle{cursor:grab;font-size:20px;color:#888}.seo-box{border-left:4px solid var(--primary)}.actions{display:flex;gap:8px;flex-wrap:wrap}.editor{min-height:360px}.checkbox-row{display:flex;gap:8px;align-items:center}.checkbox-row input{width:auto}.mobile-menu{display:none}.code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;background:#f2f2f2;padding:2px 5px;border-radius:5px}@media(max-width:900px){.layout{grid-template-columns:1fr}.sidebar{position:relative;height:auto}.main{padding:18px}.grid.two,.grid.three{grid-template-columns:1fr}.section-row{grid-template-columns:30px 1fr}.section-row>*:nth-child(n+3){grid-column:2}.top{align-items:stretch;gap:12px;flex-direction:column}.top-actions{justify-content:flex-start}.admin-top-btn{flex:1}.table{display:block;overflow:auto}}

.schedule-table{display:grid;gap:12px;margin-top:18px}.schedule-row{display:grid;grid-template-columns:190px 1fr;gap:16px;align-items:start;border:1px solid var(--border);background:#fff;border-radius:12px;padding:14px}.schedule-day{display:flex;flex-direction:column;gap:10px}.schedule-ranges{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.time-range{display:flex;align-items:center;gap:8px}.time-range input{min-width:0}.slot-preview{display:flex;flex-wrap:wrap;gap:8px}.slot-chip{display:inline-flex;border-radius:999px;padding:7px 10px;font-weight:900;font-size:12px}.slot-chip.available{background:#dcfce7;color:#166534}.slot-chip.closed{background:#fee2e2;color:#991b1b}.status-pending{background:#fef3c7;color:#92400e}.status-confirmed{background:#dcfce7;color:#166534}.status-completed{background:#dbeafe;color:#1e40af}.status-cancelled{background:#fee2e2;color:#991b1b}@media(max-width:900px){.schedule-row{grid-template-columns:1fr}.schedule-ranges{grid-template-columns:1fr}.time-range{max-width:100%}}

.form-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid var(--border);padding-top:20px;margin-top:22px}.form-actions .btn{min-width:150px}.hero-actions{justify-content:flex-start}.hero-slides-admin{display:grid;gap:12px;margin:18px 0}.hero-slide-admin{border:1px solid var(--border);border-radius:14px;background:#fff;box-shadow:0 6px 18px rgba(15,23,42,.04);overflow:hidden}.hero-slide-admin-head{display:flex;align-items:center;gap:10px;padding:12px 14px;background:#fafafa;border-bottom:1px solid transparent}.hero-slide-admin.is-open .hero-slide-admin-head{border-bottom-color:var(--border)}.hero-accordion-toggle{flex:1;display:grid;grid-template-columns:150px 1fr 26px;align-items:center;gap:10px;width:100%;border:0;background:transparent;text-align:left;cursor:pointer;padding:7px 4px;color:var(--text);font:inherit}.hero-accordion-title{font-weight:900}.hero-accordion-meta{color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hero-accordion-arrow{font-size:20px;text-align:center;transition:transform .2s ease}.hero-slide-admin.is-open .hero-accordion-arrow{transform:rotate(180deg)}.hero-slide-admin-body{display:none;padding:18px}.hero-slide-admin.is-open .hero-slide-admin-body{display:block}.hero-slide-admin.is-deleted{opacity:.35}.preview-img.wide{width:220px;height:115px;object-fit:cover;margin-bottom:10px}.hero-slide-admin textarea{min-height:90px}@media(max-width:900px){.form-actions{align-items:stretch}.form-actions .btn{width:100%;min-width:0}.hero-slide-admin-head{align-items:flex-start;flex-wrap:wrap}.hero-accordion-toggle{grid-template-columns:1fr 24px}.hero-accordion-title{grid-column:1}.hero-accordion-meta{grid-column:1}.hero-accordion-arrow{grid-column:2;grid-row:1 / span 2}.preview-img.wide{width:100%;height:auto}}

.seo-counter{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:7px;font-size:12px;color:var(--muted);line-height:1.45}.seo-counter-count{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;background:#f3f4f6;color:#374151;font-weight:900}.seo-counter-note{color:var(--muted)}.seo-counter.is-warning .seo-counter-count{background:#fef3c7;color:#92400e}.seo-counter.is-warning .seo-counter-note{color:#92400e;font-weight:800}.seo-input-warning{border-color:#f59e0b!important;box-shadow:0 0 0 3px rgba(245,158,11,.12)}

/* Menü yönetimi */
.menu-child-row td:first-child{padding-left:36px;color:#444}.menu-child-row{background:#fafafa}.menu-child-row .code{background:#fff}.menu-preview-note{padding:12px 14px;border-radius:10px;background:#f8fafc;border:1px dashed var(--border);color:#64748b}

/* WordPress tarzı menü yönetimi */
.menu-admin-layout{display:grid;grid-template-columns:340px 1fr;gap:22px;align-items:start}
.menu-admin-sources{position:sticky;top:24px}
.menu-admin-sources h2,.menu-admin-builder h2{margin:0 0 14px;font-size:20px}
.menu-source-panel{border:1px solid var(--border);border-radius:12px;background:#fff;margin:10px 0;overflow:hidden}
.menu-source-panel summary{cursor:pointer;padding:13px 15px;font-weight:900;list-style:none;display:flex;align-items:center;justify-content:space-between}
.menu-source-panel summary::-webkit-details-marker{display:none}
.menu-source-panel summary::after{content:'+';color:var(--primary);font-size:20px;line-height:1}
.menu-source-panel[open] summary::after{content:'−'}
.menu-source-list{border-top:1px solid var(--border);padding:10px;max-height:230px;overflow:auto;background:#fafafa}
.menu-source-option{display:flex;align-items:center;gap:9px;font-weight:700;margin:0;padding:8px;border-radius:8px;cursor:pointer}
.menu-source-option:hover{background:#fff}
.menu-source-option input{width:auto}
.menu-builder-top{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}
.menu-builder-list{list-style:none;margin:0;padding:0}
.menu-builder-list.root-list{min-height:74px;border:1px dashed #d9d9e3;background:#fafafa;border-radius:14px;padding:12px}
.menu-builder-list.child-list{min-height:18px;margin:8px 0 0 34px;padding:8px 0 0 14px;border-left:2px dashed #e6e6ef}
.menu-builder-list.child-list:empty{min-height:34px;border-left:2px dashed #f0cbc6}
.menu-builder-list.is-drop-target{background:#fff7f6;border-color:#f0b3ad}
.menu-builder-item{margin:8px 0}
.menu-builder-item.is-dragging{opacity:.55}
.menu-builder-head{display:grid;grid-template-columns:34px minmax(140px,1fr) minmax(120px,.7fr) 38px;align-items:center;gap:10px;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:0 8px 20px rgba(15,23,42,.04);padding:10px 12px}
.drag-handle{cursor:grab;color:#888;font-size:20px;text-align:center;user-select:none}
.menu-builder-title{font-weight:900;color:#202020}
.menu-builder-url{color:#777;font-size:12px;background:#f6f7fb;border:1px solid var(--border);border-radius:999px;padding:5px 9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.menu-toggle-settings{width:32px;height:32px;border:1px solid var(--border);border-radius:50%;background:#fff;color:var(--primary);font-weight:900;cursor:pointer;transition:.2s}
.menu-toggle-settings.open{transform:rotate(180deg);background:#fff0f0}
.menu-builder-settings{background:#fff;border:1px solid var(--border);border-top:0;border-radius:0 0 12px 12px;margin:-6px 12px 0 46px;padding:18px}
.menu-empty{border:1px dashed var(--border);border-radius:12px;padding:18px;color:#777;background:#fff;text-align:center}
@media(max-width:1100px){.menu-admin-layout{grid-template-columns:1fr}.menu-admin-sources{position:static}.menu-builder-top{flex-direction:column}.menu-builder-head{grid-template-columns:32px 1fr 32px}.menu-builder-url{grid-column:2/3}.menu-builder-settings{margin-left:0}.menu-builder-list.child-list{margin-left:20px}}


/* Yardım ve üst aksiyon alanları */
.admin-help-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);margin:0 0 22px;overflow:hidden}
.admin-help-card summary{list-style:none;cursor:pointer;display:flex;align-items:flex-start;gap:13px;padding:18px 20px;font-weight:900}
.admin-help-card summary::-webkit-details-marker{display:none}
.admin-help-card summary::after{content:'+';margin-left:auto;color:var(--primary);font-size:24px;line-height:1}
.admin-help-card[open] summary::after{content:'−'}
.admin-help-icon{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#fff0f0;color:var(--primary);font-weight:900;flex:0 0 34px}
.admin-help-card strong{display:block;font-size:16px;color:#222;margin-bottom:4px}
.admin-help-card em{display:block;font-style:normal;font-weight:600;color:var(--muted);line-height:1.45}
.admin-help-card ol{margin:0;padding:0 24px 20px 70px;color:#444;line-height:1.7}
.admin-help-card li{margin:6px 0}
.top-form-actions{border:1px solid var(--border);background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:14px 16px;margin:0 0 18px}
.admin-footer-credit{margin:28px 0 0;padding:18px 0 0;border-top:1px solid var(--border);color:#777;font-size:12px;text-align:center}
.admin-footer-credit a{color:var(--primary);font-weight:900}
@media(max-width:900px){.admin-help-card ol{padding-left:48px}.top-form-actions .btn{width:auto;min-width:130px}}

.menu-builder-list.child-list.is-drop-target{min-height:48px;background:#fff7f6;border-left-color:var(--primary);border-radius:10px}


/* Footer link builder */
.footer-links-builder-list{list-style:none;margin:0;padding:0;border:1px dashed var(--border);border-radius:14px;background:#fafafa;min-height:74px;padding:12px}
.footer-links-builder-list.is-drop-target{background:#fff7f6;border-color:#f0b3ad}
.footer-link-builder-item{margin:8px 0}
.footer-link-builder-item.is-dragging{opacity:.55}
.footer-link-builder-head{display:grid;grid-template-columns:34px minmax(170px,.9fr) minmax(220px,1.3fr) auto;align-items:center;gap:10px;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:0 8px 20px rgba(15,23,42,.04);padding:10px 12px}
.footer-link-builder-head input{margin:0}
.footer-links-builder-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
@media(max-width:900px){.footer-link-builder-head{grid-template-columns:32px 1fr}.footer-link-builder-head .drag-handle{grid-row:1 / span 3}.footer-link-builder-head button{grid-column:2}}

.admin-inline-note{margin:8px 0 18px;padding:13px 15px;border:1px solid #dbeafe;background:#eff6ff;color:#1e40af;border-radius:12px;font-weight:700;line-height:1.5}
.footer-links-builder-list{margin-top:8px}


/* Dashboard clickable cards */
.dashboard-grid .dashboard-card{
  --tone-bg:#fff4f3;
  --tone-bg-strong:#ffe4e1;
  --tone-accent:#cf4338;
  --tone-border:rgba(207,67,56,.14);
  position:relative;
  display:block;
  min-height:170px;
  padding:26px;
  color:var(--text);
  border-color:var(--tone-border);
  background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(255,255,255,.97)), linear-gradient(135deg,var(--tone-bg),var(--tone-bg-strong));
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  overflow:hidden;
}
.dashboard-grid .dashboard-card::before{
  content:'';
  position:absolute;
  inset:auto -22px -42px auto;
  width:118px;
  height:118px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.82) 0%, rgba(255,255,255,0) 72%);
  pointer-events:none;
}
.dashboard-grid .dashboard-card:hover{
  transform:translateY(-5px);
  border-color:color-mix(in srgb, var(--tone-accent) 30%, #ffffff);
  box-shadow:0 20px 42px rgba(15,23,42,.11);
}
.dashboard-card-badge{
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.8);
  color:var(--tone-accent);
  border:1px solid rgba(255,255,255,.7);
  box-shadow:0 8px 20px rgba(15,23,42,.05);
  font-size:12px;
  font-weight:900;
  letter-spacing:.02em;
}
.dashboard-card-badge::before{content:'';width:8px;height:8px;border-radius:50%;background:var(--tone-accent);box-shadow:0 0 0 5px color-mix(in srgb, var(--tone-accent) 14%, transparent)}
.dashboard-card-arrow{
  position:absolute;
  right:22px;
  top:22px;
  width:44px;
  height:44px;
  border-radius:16px;
  display:grid;
  place-items:center;
  color:var(--tone-accent);
  background:rgba(255,255,255,.82);
  border:1px solid rgba(255,255,255,.72);
  box-shadow:0 12px 26px rgba(15,23,42,.07);
  opacity:.95;
  transition:.18s ease;
}
.dashboard-card-arrow svg{width:18px;height:18px;display:block}
.dashboard-grid .dashboard-card:hover .dashboard-card-arrow{
  transform:translateX(4px) translateY(-1px);
  background:var(--tone-accent);
  color:#fff;
}
.dashboard-card h2,.dashboard-card p,.dashboard-card small{position:relative;z-index:1;display:block}
.dashboard-card h2{margin:28px 0 8px;font-size:40px;line-height:1;font-weight:900;color:#1f2937}
.dashboard-card p{margin:0 0 10px;font-size:17px;font-weight:800;color:#202938}
.dashboard-card small{color:#5f6b7a;font-size:13px;font-weight:700}
.dashboard-card.tone-rose{--tone-bg:#fff3f1;--tone-bg-strong:#ffe1dc;--tone-accent:#d95a4e;--tone-border:rgba(217,90,78,.16)}
.dashboard-card.tone-blue{--tone-bg:#f2f7ff;--tone-bg-strong:#ddeaff;--tone-accent:#4b83e6;--tone-border:rgba(75,131,230,.16)}
.dashboard-card.tone-amber{--tone-bg:#fff8ee;--tone-bg-strong:#ffe7c4;--tone-accent:#d28a2e;--tone-border:rgba(210,138,46,.16)}
.dashboard-card.tone-green{--tone-bg:#f0fbf4;--tone-bg-strong:#d9f4e3;--tone-accent:#38a169;--tone-border:rgba(56,161,105,.16)}
.dashboard-card.tone-purple{--tone-bg:#f7f3ff;--tone-bg-strong:#e7defd;--tone-accent:#8b67d6;--tone-border:rgba(139,103,214,.16)}
@media(max-width:900px){
  .dashboard-grid .dashboard-card{min-height:150px;padding:22px}
  .dashboard-card h2{font-size:34px;margin-top:24px}
  .dashboard-card p{font-size:16px}
  .dashboard-card-arrow{width:40px;height:40px;border-radius:14px}
}


/* Şık görsel yükleme alanları */
input[type=file]{
  width:100%;
  padding:12px 14px;
  border:1px dashed #cfd8e3;
  border-radius:14px;
  background:linear-gradient(180deg,#fbfcfe,#f4f7fb);
  color:#5b6574;
  cursor:pointer;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
}
input[type=file]:hover{
  border-color:#b8c6d9;
  background:linear-gradient(180deg,#ffffff,#f6f9fd);
}
input[type=file]:focus{
  outline:none;
  border-color:#93c5fd;
  box-shadow:0 0 0 4px rgba(59,130,246,.10), inset 0 1px 0 rgba(255,255,255,.75);
}
input[type=file]::file-selector-button{
  border:0;
  border-radius:11px;
  padding:11px 16px;
  margin-right:14px;
  background:linear-gradient(135deg,#4f86f7,#3569e8);
  color:#fff;
  font-weight:900;
  font-family:inherit;
  cursor:pointer;
  box-shadow:0 10px 20px rgba(53,105,232,.18);
  transition:transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
input[type=file]::file-selector-button:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 24px rgba(53,105,232,.24);
  opacity:.96;
}
input[type=file]::file-selector-button:active{
  transform:translateY(0);
}
input[type=file]::-webkit-file-upload-button{
  border:0;
  border-radius:11px;
  padding:11px 16px;
  margin-right:14px;
  background:linear-gradient(135deg,#4f86f7,#3569e8);
  color:#fff;
  font-weight:900;
  font-family:inherit;
  cursor:pointer;
  box-shadow:0 10px 20px rgba(53,105,232,.18);
}
input[type=file]::-webkit-file-upload-button:hover{
  opacity:.96;
}
.preview-img{margin-top:12px}
.preview-img.logo-preview-img{margin-top:12px}


/* Gelişmiş görsel yükleme alanı */
.file-upload-ui{position:relative;margin-top:4px}
.file-upload-ui .file-upload-native{
  position:absolute !important;
  inset:0;
  opacity:0;
  width:100%;
  height:100%;
  cursor:pointer;
  padding:0;
  margin:0;
  border:0;
  background:transparent;
  box-shadow:none;
}
.file-upload-dropzone{
  position:relative;
  display:flex;
  align-items:center;
  gap:16px;
  padding:18px 18px;
  border:1px dashed #c9d4e4;
  border-radius:18px;
  background:linear-gradient(180deg,#fbfdff,#f3f7fc);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8), 0 10px 24px rgba(15,23,42,.04);
  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}
.file-upload-ui:hover .file-upload-dropzone,
.file-upload-ui.is-dragover .file-upload-dropzone{
  border-color:#7aa7f7;
  background:linear-gradient(180deg,#ffffff,#eef5ff);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9), 0 14px 30px rgba(59,130,246,.10);
}
.file-upload-ui.is-dragover .file-upload-dropzone{transform:translateY(-1px)}
.file-upload-icon{
  width:52px;
  height:52px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#e7f0ff,#d8e8ff);
  color:#3569e8;
  flex:0 0 52px;
  box-shadow:0 8px 20px rgba(53,105,232,.12);
}
.file-upload-icon svg{width:24px;height:24px;display:block}
.file-upload-copy{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.file-upload-copy strong{font-size:15px;color:#223049}
.file-upload-subtext{font-size:12px;color:#728198}
.file-upload-filename{font-style:normal;font-size:12px;color:#4b5a72;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.file-upload-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 16px;
  border-radius:12px;
  background:linear-gradient(135deg,#4f86f7,#3569e8);
  color:#fff;
  font-weight:900;
  box-shadow:0 10px 20px rgba(53,105,232,.18);
  flex:0 0 auto;
}
.file-upload-ui.has-file .file-upload-icon{
  background:linear-gradient(135deg,#eafbf1,#d8f5e5);
  color:#1f9d57;
  box-shadow:0 8px 20px rgba(31,157,87,.12);
}
.file-upload-ui.has-file .file-upload-cta{
  background:linear-gradient(135deg,#20b466,#16954f);
  box-shadow:0 10px 20px rgba(22,149,79,.18);
}
.file-remove-toggle{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  background:#fff6f5;
  border:1px solid #f2cbc5;
  color:#ba4338;
  font-weight:800;
  cursor:pointer;
  transition:.18s ease;
}
.file-remove-toggle:hover{background:#fff1ef;border-color:#eab5ae}
.file-remove-toggle input{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}
.file-remove-toggle::before{
  content:'✕';
  width:24px;
  height:24px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#fff;
  border:1px solid #efc2bc;
  color:#cf4338;
  font-size:12px;
  box-shadow:0 4px 10px rgba(207,67,56,.08);
}
.file-remove-toggle.is-active{background:#cf4338;border-color:#cf4338;color:#fff;box-shadow:0 10px 22px rgba(207,67,56,.18)}
.file-remove-toggle.is-active::before{content:'✓';color:#cf4338;background:#fff;border-color:#fff}
@media(max-width:700px){
  .file-upload-dropzone{align-items:flex-start;flex-wrap:wrap;padding:16px}
  .file-upload-copy{order:2;flex-basis:100%}
  .file-upload-cta{order:3;width:100%}
}

.file-upload-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:12px;
  flex-wrap:wrap;
}
.file-upload-tip{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:12px 14px;
  border-radius:14px;
  background:linear-gradient(180deg,#fff,#f7faff);
  border:1px solid #dde7f3;
  color:#4b5a72;
  flex:1;
  min-width:260px;
}
.file-upload-tip-icon{
  width:26px;
  height:26px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#e9f1ff;
  color:#3569e8;
  font-weight:900;
  font-size:14px;
  flex:0 0 26px;
}
.file-upload-tip-copy{display:flex;flex-direction:column;gap:3px}
.file-upload-tip-copy strong{font-size:13px;color:#223049}
.file-upload-tip-copy span{font-size:12px;line-height:1.55}
.file-upload-clear{
  border:0;
  border-radius:12px;
  padding:11px 15px;
  background:linear-gradient(135deg,#fff2f0,#ffe3df);
  color:#c54f44;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(197,79,68,.12);
}
.file-upload-clear:hover{filter:brightness(.98);transform:translateY(-1px)}
.file-upload-preview-panel{
  margin-top:12px;
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px;
  border-radius:16px;
  background:linear-gradient(180deg,#ffffff,#f8fbff);
  border:1px solid #e0e8f4;
  box-shadow:0 10px 24px rgba(15,23,42,.04);
}
.file-upload-preview-thumb{
  width:86px;
  height:86px;
  border-radius:14px;
  overflow:hidden;
  background:#edf2f8;
  border:1px solid #d9e2ee;
  flex:0 0 86px;
}
.file-upload-preview-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.file-upload-preview-copy{display:flex;flex-direction:column;gap:5px;min-width:0}
.file-upload-preview-title{font-size:14px;color:#223049;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.file-upload-preview-details{font-size:12px;color:#6d7a90;line-height:1.55}
@media(max-width:700px){
  .file-upload-meta{flex-direction:column;align-items:stretch}
  .file-upload-tip{min-width:0}
  .file-upload-clear{width:100%}
  .file-upload-preview-panel{align-items:flex-start}
}


/* Şifre göster / gizle butonu */
.password-field-wrap{
  position:relative;
  width:100%;
}
.password-field-wrap input{
  padding-right:52px;
}
.password-toggle-btn{
  position:absolute;
  right:9px;
  top:50%;
  transform:translateY(-50%);
  width:38px;
  height:38px;
  border:1px solid #e2e8f0;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:linear-gradient(180deg,#ffffff,#f8fafc);
  color:#667085;
  cursor:pointer;
  box-shadow:0 6px 16px rgba(15,23,42,.06);
  transition:.18s ease;
  z-index:2;
}
.password-toggle-btn:hover{
  color:var(--primary);
  border-color:#f0c8c3;
  background:#fff7f6;
  transform:translateY(-50%) scale(1.03);
}
.password-toggle-btn svg{
  width:19px;
  height:19px;
  display:block;
}
.password-toggle-btn .icon-eye-off{display:none}
.password-field-wrap.is-visible .icon-eye{display:none}
.password-field-wrap.is-visible .icon-eye-off{display:block}
.password-field-wrap.is-visible .password-toggle-btn{
  color:#fff;
  border-color:var(--primary);
  background:linear-gradient(135deg,var(--primary),#e3584f);
}


/* Demo / sadece görüntüleme modu */
body.demo-mode{padding-top:58px}
.demo-mode-banner{
  position:fixed;
  top:0;
  left:0;
  right:0;
  width:100%;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:58px;
  padding:11px 24px;
  border-radius:0;
  background:linear-gradient(135deg,#fff8e8,#fff1cf);
  border:0;
  border-bottom:1px solid #f4d58d;
  color:#815600;
  box-shadow:0 10px 28px rgba(129,86,0,.14);
  margin:0;
  text-align:center;
}
.demo-mode-banner::before{
  content:'!';
  width:30px;
  height:30px;
  border-radius:50%;
  display:grid;
  place-items:center;
  flex:0 0 30px;
  background:#f59e0b;
  color:#fff;
  font-weight:900;
  box-shadow:0 8px 18px rgba(245,158,11,.28);
}
.demo-mode-banner b{display:inline-flex;white-space:nowrap;font-weight:900;margin:0 4px 0 0}
.demo-mode-banner span{line-height:1.45;font-weight:700}
.demo-mode .btn.danger,
.demo-mode a[href*="delete="]{opacity:.45;filter:grayscale(.35)}
.demo-mode form.is-demo-readonly{position:relative}
.demo-mode button[type="submit"],
.demo-mode input[type="submit"]{cursor:not-allowed;opacity:.55}
@media(max-width:700px){
  body.demo-mode{padding-top:76px}
  .demo-mode-banner{min-height:76px;align-items:flex-start;text-align:left;justify-content:flex-start;padding:12px 16px}
  .demo-mode-banner b{display:block;margin:0 0 2px}
}


/* Canlı slug kontrolü */
.slug-live-status{display:flex;align-items:flex-start;gap:8px;margin-top:8px;padding:10px 12px;border-radius:10px;font-size:12px;font-weight:800;line-height:1.45;background:#f8fafc;color:#64748b;border:1px solid #e2e8f0}
.slug-live-status::before{content:'i';width:20px;height:20px;border-radius:50%;display:grid;place-items:center;flex:0 0 20px;background:#e2e8f0;color:#475569;font-size:12px;font-weight:900}
.slug-live-status.is-ok{background:#ecfdf5;color:#166534;border-color:#bbf7d0}
.slug-live-status.is-ok::before{content:'✓';background:#16a34a;color:#fff}
.slug-live-status.is-error{background:#fef2f2;color:#991b1b;border-color:#fecaca}
.slug-live-status.is-error::before{content:'!';background:#dc2626;color:#fff}
.slug-live-status.is-loading{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}
.slug-live-status.is-loading::before{content:'…';background:#3b82f6;color:#fff}
.slug-conflict-input{border-color:#dc2626!important;box-shadow:0 0 0 3px rgba(220,38,38,.12)!important}

/* Admin randevu saat seçim alanı */
.admin-slot-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:12px}
.admin-slot-btn{border:1px solid #bbf7d0;background:#ecfdf5;color:#166534;border-radius:12px;padding:11px 8px;text-align:center;font-weight:900;cursor:pointer;transition:.18s ease;min-height:46px}
.admin-slot-btn:hover{transform:translateY(-1px);box-shadow:0 10px 20px rgba(22,101,52,.10)}
.admin-slot-btn.is-selected{background:#16a34a;color:#fff;border-color:#16a34a;box-shadow:0 12px 24px rgba(22,163,74,.20)}
.admin-slot-btn.is-closed{background:#f3f4f6;color:#9ca3af;border-color:#e5e7eb;cursor:not-allowed;box-shadow:none;transform:none}
.admin-slot-btn small{display:block;font-size:10px;font-weight:800;margin-top:3px;line-height:1.2;color:inherit;opacity:.85}
.admin-slot-loading,.admin-slot-empty{grid-column:1/-1;border:1px dashed var(--border);background:#fafafa;border-radius:12px;padding:16px;color:#777;font-weight:800}
@media(max-width:1000px){.admin-slot-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.admin-slot-list{grid-template-columns:repeat(2,minmax(0,1fr))}}

.code-textarea{
  min-height:330px;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  font-size:13px;
  line-height:1.6;
  background:#0f172a;
  color:#e5eefc;
  border-color:#1e293b;
  tab-size:2;
}
.code-textarea:focus{
  outline:none;
  border-color:#60a5fa;
  box-shadow:0 0 0 4px rgba(96,165,250,.16);
}

/* Ortam Kütüphanesi */
.media-library-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:22px}
.media-library-head h2{margin:0 0 8px;font-size:22px}
.media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.media-card{background:#fff;border:1px solid var(--border);border-radius:18px;box-shadow:0 12px 28px rgba(15,23,42,.06);overflow:hidden;display:flex;flex-direction:column}
.media-thumb{display:block;height:190px;background:#f3f6fb;border-bottom:1px solid var(--border);overflow:hidden}
.media-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .22s ease}
.media-card:hover .media-thumb img{transform:scale(1.04)}
.media-body{padding:16px;display:flex;flex-direction:column;gap:12px;flex:1}
.media-body h3{font-size:15px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#1f2937}
.media-meta{display:flex;gap:8px;flex-wrap:wrap;color:#64748b;font-size:12px;font-weight:800}
.media-meta span{background:#f6f7fb;border:1px solid var(--border);border-radius:999px;padding:5px 8px}
.media-path{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.media-usage{border:1px solid #f2d0cc;background:#fff8f7;border-radius:12px;padding:10px 12px;color:#8a392f}
.media-usage summary{cursor:pointer;font-weight:900;font-size:12px}
.media-usage ul{margin:8px 0 0;padding-left:18px;font-size:12px;line-height:1.5}
.media-unused{border:1px solid #bbf7d0;background:#f0fdf4;color:#166534;border-radius:12px;padding:10px 12px;font-size:12px;font-weight:900}
.media-rename-form{border-top:1px solid var(--border);padding-top:12px;margin-top:auto}
.media-rename-form label{font-size:12px;margin-bottom:6px;color:#374151}
.media-rename-row{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}
.media-rename-row input{padding:9px 10px;border-radius:9px}
.media-card form:last-child{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.media-card .btn[disabled]{opacity:.45;cursor:not-allowed;filter:grayscale(.3)}
.media-empty{padding:28px;border:1px dashed var(--border);border-radius:16px;background:#fafafa;color:#777;text-align:center;font-weight:800}
@media(max-width:1200px){.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.media-library-head{flex-direction:column}.media-grid{grid-template-columns:1fr}.media-rename-row{grid-template-columns:1fr}.media-rename-row .btn{width:100%}.media-thumb{height:220px}}
