:root{--sidebar:#2A3F54;--sidebar-dark:#172D44;--green:#1ABB9C;--blue:#3498DB;--red:#E74C3C;--orange:#F39C12;--bg:#F7F7F7;--text:#73879C;--title:#34495E;--border:#E6E9ED}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font-family:"Helvetica Neue",Roboto,Arial,sans-serif;font-size:13px}
.login-page{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,var(--sidebar),var(--sidebar-dark))}
.login-card{width:min(420px,92vw);background:#fff;border-radius:5px;padding:34px 32px;box-shadow:0 22px 70px rgba(0,0,0,.28)}
.login-logo{display:flex;justify-content:center;margin-bottom:14px}.login-mark{width:64px;height:64px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-size:28px;font-weight:700}.login-title{text-align:center;color:var(--title);font-size:25px;font-weight:400;margin-bottom:6px}.login-subtitle{text-align:center;color:var(--text);margin-bottom:24px}
label{display:block;color:var(--title);font-weight:600;margin-bottom:6px}
input,select,textarea{width:100%;border:1px solid #DDE2E6;background:#fff;color:#555;padding:10px 12px;margin-bottom:14px;box-shadow:inset 0 1px 1px rgba(0,0,0,.075);outline:none}
textarea{min-height:92px;resize:vertical}
button,.btn{border:0;background:#26B99A;border:1px solid #169F85;color:#fff;padding:9px 13px;border-radius:3px;cursor:pointer;font-weight:600}
button.secondary{background:var(--blue);border-color:#2E86C1}button.danger{background:var(--red);border-color:#D43F3A}button.light{background:#fff;color:#5A738E;border:1px solid #C5CFD6}
.app-shell{display:flex;min-height:100vh}.sidebar{width:260px;background:linear-gradient(180deg,var(--sidebar),var(--sidebar-dark));color:#ECF0F1;position:fixed;inset:0 auto 0 0;overflow:auto;box-shadow:2px 0 12px rgba(0,0,0,.18)}
.brand{padding:22px 18px;border-bottom:1px solid rgba(255,255,255,.10);display:flex;gap:12px;align-items:center}.brand-icon{width:44px;height:44px;border-radius:50%;background:var(--green);display:grid;place-items:center;font-weight:700;font-size:20px}.brand-title{font-size:17px;color:#ECF0F1}.brand-sub{font-size:11px;color:#AAB8C2}
.menu-group{color:#AAB8C2;font-size:10px;letter-spacing:.08em;text-transform:uppercase;font-weight:700;margin:20px 16px 8px}.menu-item{padding:12px 16px;border-left:4px solid transparent;color:#E7E7E7;cursor:pointer;transition:.16s}.menu-item:hover,.menu-item.active{background:rgba(255,255,255,.07);color:#fff;border-left-color:var(--green)}
.main{margin-left:260px;min-height:100vh;width:calc(100% - 260px)}.topbar{background:#EDEDED;border-bottom:1px solid #D9DEE4;height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 22px}.topbar h1{margin:0;color:var(--title);font-size:24px;font-weight:400}.user-box{display:flex;align-items:center;gap:12px}.user-avatar{width:34px;height:34px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-weight:700}.content{padding:20px}
.grid{display:grid;gap:18px}.cols4{grid-template-columns:repeat(4,1fr)}.cols2{grid-template-columns:1.1fr .9fr}.panel,.tile{background:#fff;border:1px solid var(--border);border-radius:4px;padding:16px}.panel-title{border-bottom:2px solid var(--border);padding-bottom:10px;margin-bottom:15px;display:flex;justify-content:space-between;align-items:center;gap:12px}.panel-title h2,.panel-title h3{margin:0;color:var(--title);font-weight:400}.tile-number{color:var(--title);font-size:30px;margin-top:7px}
.table{width:100%;border-collapse:collapse;background:#fff}.table th{text-align:left;color:var(--title);border-bottom:2px solid var(--border);padding:10px}.table td{border-top:1px solid var(--border);padding:10px;vertical-align:top}.actions{display:flex;gap:6px;flex-wrap:wrap}
.calendar-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.calendar-title{color:var(--title);font-size:17px;font-weight:600}.weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr)}.weekdays div{color:var(--title);font-weight:700;padding:9px;text-align:center;background:#fff;border:1px solid var(--border);border-bottom:0}.day{min-height:104px;border:1px solid var(--border);padding:8px;cursor:pointer;background:#fff}.day:hover{background:#F5F7FA;border-color:var(--green)}.day.today{background:#E8F8F5}.day.muted{background:#FAFAFA;cursor:default}.day-number{color:var(--title);font-weight:700}.day-count{display:inline-block;background:var(--green);color:#fff;border-radius:10px;padding:2px 7px;font-size:11px;margin-top:8px}.appointment-chip{
display:block;
margin-top:6px;
padding:7px 8px;
border-radius:8px;
font-size:12px;
font-weight:600;
overflow:hidden;
white-space:nowrap;
text-overflow:ellipsis;
border:1px solid rgba(0,0,0,.08);
box-shadow:0 1px 2px rgba(0,0,0,.06)
}

.appointment-chip.active{
background:#1E8449;
color:#fff;
border-color:#196F3D
}

.appointment-chip.waiting{
background:#F1C40F;
color:#4A3B00;
border-color:#D4AC0D
}

.appointment-chip.cancelled{
background:#C0392B;
color:#fff;
border-color:#922B21
}
.modal-back{position:fixed;inset:0;background:rgba(42,63,84,.55);display:flex;align-items:center;justify-content:center;z-index:20;padding:20px}.modal{width:min(680px,96vw);max-height:90vh;overflow:auto;background:#fff;border-radius:5px;padding:20px}.modal.large{width:min(960px,96vw)}.modal-head{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid var(--border);margin-bottom:15px;padding-bottom:10px}.notice{padding:10px 12px;border-radius:3px;margin-bottom:12px;background:#E8F8F5;color:#169F85;border:1px solid #BFEFE4}.status{display:inline-block;padding:3px 8px;border-radius:10px;color:#fff;background:var(--green);font-size:11px}.status.cancelled{background:var(--red)}
@media(max-width:900px){.sidebar{position:relative;width:100%;height:auto}.app-shell{display:block}.main{margin-left:0;width:100%}.cols4,.cols2{grid-template-columns:1fr}.weekdays,.calendar-grid{grid-template-columns:repeat(2,1fr)}}

.status.waiting{background:var(--orange)!important;color:#fff!important}


.profile-appointment{
  padding:10px 12px;
  border-radius:8px;
  margin-bottom:10px;
  border:1px solid rgba(0,0,0,.08);
  font-weight:600;
}

.profile-appointment.active{
  background:#1E8449;
  color:#fff;
  border-color:#196F3D;
}

.profile-appointment.waiting{
  background:#F1C40F;
  color:#4A3B00;
  border-color:#D4AC0D;
}

.profile-appointment.cancelled{
  background:#C0392B;
  color:#fff;
  border-color:#922B21;
}

.profile-appointment.history{
  background:#E5E7EB;
  color:#4B5563;
  border-color:#D1D5DB;
}

.status.active{background:#1E8449!important;color:#fff!important}


.hour-session-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:0;
  border:1px solid var(--border);
  border-radius:12px;
  overflow:hidden;
  background:#fff;
}

.hour-cell{
  min-height:170px;
  border-right:1px solid var(--border);
  border-bottom:1px solid var(--border);
  padding:12px;
  background:linear-gradient(180deg,#fff,#fbfcfd);
}

.hour-cell:nth-child(5n){
  border-right:0;
}

.hour-title{
  font-size:15px;
  font-weight:700;
  color:var(--title);
  margin-bottom:10px;
}

.hour-patients{
  display:flex;
  flex-direction:column;
  gap:7px;
}

.session-mini-card{
  border-radius:9px;
  padding:8px 9px;
  cursor:pointer;
  font-weight:600;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 1px 3px rgba(0,0,0,.06);
  line-height:1.25;
}

.session-mini-card span{
  display:block;
  font-size:11px;
  margin-top:4px;
  opacity:.9;
}

.session-mini-card.waiting{
  background:#FFF3CD;
  border-color:#F1C40F;
  color:#6B5100;
}

.session-mini-card.done{
  background:#DFF5E9;
  border-color:#1E8449;
  color:#145A32;
}

.session-mini-card.cancelled{
  background:#FADBD8;
  border-color:#C0392B;
  color:#922B21;
}

.empty-hour{
  color:#AAB8C2;
  font-size:12px;
  padding:8px 0;
}

@media(max-width:1000px){
  .hour-session-grid{grid-template-columns:repeat(2,1fr)}
  .hour-cell:nth-child(5n){border-right:1px solid var(--border)}
}

@media(max-width:600px){
  .hour-session-grid{grid-template-columns:1fr}
}

.file-card{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:12px;
  border:1px solid var(--border);
  border-radius:10px;
  margin-bottom:10px;
  background:#fff;
  box-shadow:0 1px 3px rgba(0,0,0,.05);
}
.file-card small{color:#7B8794}

.staff-section{margin-top:20px}
.staff-section h3{color:var(--title);font-weight:500}
.staff-card-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:14px;
}
.staff-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:14px;
  box-shadow:0 2px 8px rgba(0,0,0,.05);
}
.staff-card.passive{
  opacity:.55;
  filter:grayscale(.25);
}
.staff-card>div:first-child{
  display:flex;
  justify-content:space-between;
  gap:8px;
  align-items:center;
}
.staff-card span{
  display:inline-block;
  padding:3px 8px;
  border-radius:12px;
  background:#1ABB9C;
  color:#fff;
  font-size:11px;
}
.staff-card.passive span{
  background:#E74C3C;
}
.staff-card p{
  margin:7px 0;
}

.branch-select-box{
  margin:10px 14px 12px;
  padding:10px;
  background:rgba(255,255,255,.08);
  border-radius:10px;
}
.branch-select-box label{
  color:#DDE6ED;
  font-size:11px;
  margin-bottom:5px;
}
.branch-select-box select{
  margin:0;
  padding:7px;
  font-size:12px;
}

.chat-message{
  border-radius:12px;
  padding:10px 12px;
  margin-bottom:10px;
  border:1px solid var(--border);
  box-shadow:0 1px 3px rgba(0,0,0,.05);
}

.chat-message.admin{
  background:#111827;
  color:#fff;
  border-color:#111827;
}

.chat-message.secretary{
  background:#E8F8F5;
  color:#0F5132;
  border-color:#BFEFE4;
}

.chat-message.mine:not(.admin){
  background:#F7F7F7;
  color:#34495E;
}

.chat-message.important{
  border-width:2px;
  border-color:#E74C3C;
}

.chat-message-head{
  display:flex;
  gap:8px;
  align-items:center;
  justify-content:space-between;
}

.chat-message-head span{
  font-size:11px;
  padding:2px 7px;
  border-radius:10px;
  background:rgba(255,255,255,.18);
}

.chat-message.secretary .chat-message-head span,
.chat-message.mine .chat-message-head span{
  background:#1ABB9C;
  color:#fff;
}

.chat-message-type{
  font-size:11px;
  margin-top:4px;
  opacity:.85;
}

.chat-message-body{
  margin-top:6px;
  line-height:1.4;
}

.branch-chat-alert{
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:9999;
  background:#111827;
  color:#fff;
  padding:14px 16px;
  border-radius:14px;
  box-shadow:0 12px 30px rgba(0,0,0,.25);
  display:flex;
  align-items:center;
  gap:10px;
  max-width:520px;
}

.branch-chat-alert button{
  background:#1ABB9C;
  border-color:#1ABB9C;
  padding:7px 10px;
}

.branch-chat-alert button:last-child{
  background:#fff;
  color:#111827;
  border-color:#fff;
}


.performance-wrapper{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:16px;
}

.performance-card{
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.06);
  border-radius:18px;
  padding:18px;
}

.performance-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  margin-bottom:18px;
}

.performance-name{
  font-size:18px;
  font-weight:700;
}

.performance-branch{
  opacity:.7;
  margin-top:4px;
  font-size:12px;
}

.performance-score{
  min-width:58px;
  height:58px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  background:#1f2937;
}

.performance-score.good{
  background:#14532d;
}

.performance-score.medium{
  background:#854d0e;
}

.performance-score.bad{
  background:#7f1d1d;
}

.performance-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-bottom:16px;
}

.performance-mini{
  background:rgba(255,255,255,.04);
  border-radius:12px;
  padding:10px;
}

.performance-mini span{
  display:block;
  opacity:.7;
  font-size:11px;
  margin-bottom:6px;
}

.performance-mini strong{
  font-size:18px;
}

.performance-bars{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.performance-row{
  display:grid;
  grid-template-columns:90px 1fr 45px;
  align-items:center;
  gap:10px;
}

.performance-row label{
  font-size:12px;
  opacity:.8;
}

.performance-bar{
  height:10px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  overflow:hidden;
}

.performance-bar div{
  height:100%;
  background:#22c55e;
  border-radius:999px;
}

.performance-bar.cancel div{
  background:#ef4444;
}

.performance-filters{
  display:flex;
  gap:8px;
}

.performance-filters button{
  padding:8px 14px;
  border-radius:10px;
}

.active-filter{
  background:#22c55e !important;
  color:#fff;
}


.tiny-title{
  font-size:11px;
  letter-spacing:.12em;
  opacity:.6;
  margin-bottom:6px;
  text-transform:uppercase;
}

.compare-panel{
  margin-top:22px;
}

.heatmap{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:8px;
}

.heat-box{
  border-radius:12px;
  padding:10px 8px;
  text-align:center;
  background:rgba(255,255,255,.04);
}

.heat-box span{
  display:block;
  font-size:10px;
  opacity:.7;
  margin-bottom:4px;
}

.heat-box strong{
  font-size:14px;
}

.heat-box.low{
  background:#1f2937;
}

.heat-box.medium{
  background:#854d0e;
}

.heat-box.high{
  background:#14532d;
}


/* === PERFORMANCE VISUAL FIX === */

.heatmap{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:10px;
}

.heat-box{
  border-radius:14px;
  padding:12px 10px;
  text-align:center;
  border:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(10px);
}

.heat-box span{
  display:block;
  font-size:10px;
  opacity:.65;
  margin-bottom:5px;
}

.heat-box strong{
  font-size:15px;
  font-weight:700;
}

.heat-box.low{
  background:rgba(255,255,255,.05);
}

.heat-box.medium{
  background:rgba(255,255,255,.10);
}

.heat-box.high{
  background:rgba(255,255,255,.16);
}

.performance-card{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 10px 30px rgba(0,0,0,.18);
}

.performance-mini{
  background:rgba(255,255,255,.06);
}

.performance-bar{
  background:rgba(255,255,255,.06);
}

.performance-score.good{
  background:rgba(34,197,94,.20);
}

.performance-score.medium{
  background:rgba(251,191,36,.18);
}

.performance-score.bad{
  background:rgba(239,68,68,.18);
}

/* === END PERFORMANCE VISUAL FIX === */


.ai-panel{
  margin-top:24px;
}

.ai-wrapper{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:16px;
}

.ai-card{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:18px;
  box-shadow:0 10px 24px rgba(0,0,0,.16);
}

.ai-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:14px;
}

.ai-name{
  font-size:17px;
  font-weight:700;
}

.ai-rate{
  margin-top:4px;
  opacity:.7;
  font-size:12px;
}

.bonus-box{
  background:rgba(34,197,94,.18);
  color:#bbf7d0;
  padding:10px 14px;
  border-radius:12px;
  font-weight:700;
}

.ai-text{
  line-height:1.5;
  opacity:.9;
  margin-bottom:14px;
}

.ai-progress{
  height:10px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,.06);
}

.ai-progress div{
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#22c55e,#4ade80);
}


/* === PANEL RESTORE / BONUS READABILITY FIX === */

/* Eski koyu panel düzenini korur, sadece bonus kutusunu okunur hale getirir */
.bonus-box,
.bonus-green{
  background:#14532d !important;
  color:#ffffff !important;
  border:1px solid rgba(255,255,255,.16) !important;
  font-weight:800 !important;
}

/* Bilgilendirme başlığı diğer başlıklarla aynı hizada görünsün */
.menu-group{
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:800;
}

/* === END PANEL RESTORE / BONUS READABILITY FIX === */


/* === GENTELELLA-LIKE SIDEBAR FINAL FIX === */
:root{
  --sidebar-bg:#172334;
  --sidebar-bg-2:#1d2d42;
  --sidebar-text:#dbe7f3;
  --sidebar-muted:#6f86a3;
  --sidebar-active:#102f37;
  --sidebar-accent:#1abc9c;
}

.sidebar{
  background:#172334 !important;
  color:var(--sidebar-text) !important;
  width:260px !important;
  box-shadow:inset -1px 0 rgba(255,255,255,.04) !important;
  font-family:Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

.brand{
  min-height:78px !important;
  padding:16px 20px !important;
  border-bottom:1px solid rgba(255,255,255,.06) !important;
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
}

.brand-logo{
  width:44px !important;
  height:44px !important;
  border-radius:14px !important;
  background:#1abc9c !important;
  color:#fff !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-weight:800 !important;
  font-size:18px !important;
  flex:0 0 44px !important;
}

.brand-title{
  font-size:17px !important;
  line-height:1.1 !important;
  color:#fff !important;
  font-weight:700 !important;
  letter-spacing:0 !important;
}

.brand-sub{
  color:#93a7bc !important;
  font-size:12px !important;
  margin-top:3px !important;
  line-height:1.1 !important;
}

.menu-group{
  display:block !important;
  padding:22px 20px 9px !important;
  margin:0 !important;
  color:#6f86a3 !important;
  font-size:11px !important;
  line-height:1 !important;
  font-weight:800 !important;
  letter-spacing:.13em !important;
  text-transform:uppercase !important;
  opacity:1 !important;
}

.menu-item{
  height:42px !important;
  margin:0 10px 5px !important;
  padding:0 14px !important;
  border-radius:5px !important;
  display:flex !important;
  align-items:center !important;
  color:#c8d6e4 !important;
  font-size:14px !important;
  font-weight:500 !important;
  line-height:42px !important;
  background:transparent !important;
  border-left:0 !important;
  cursor:pointer !important;
}

.menu-item:hover{
  background:#203149 !important;
  color:#fff !important;
}

.menu-item.active{
  background:#12323a !important;
  color:#fff !important;
  border-left:3px solid #1abc9c !important;
  padding-left:11px !important;
  box-shadow:none !important;
}

.logout-btn,
.sidebar .logout-btn{
  margin:18px 14px !important;
  width:calc(100% - 28px) !important;
  background:#1abc9c !important;
  color:#fff !important;
  border:0 !important;
  border-radius:6px !important;
  font-weight:700 !important;
}

.sidebar > div:not(.brand):not(.menu-group):not(.menu-item):not(.branch-select-box){
  color:inherit;
}

.branch-select-box{
  margin:8px 12px 4px !important;
  padding:10px !important;
  background:#122032 !important;
  border:1px solid rgba(255,255,255,.05) !important;
  border-radius:6px !important;
}

.branch-select-box label{
  color:#6f86a3 !important;
  font-size:10px !important;
  font-weight:800 !important;
  text-transform:uppercase !important;
  letter-spacing:.12em !important;
}

.branch-select-box select{
  background:#203149 !important;
  color:#dbe7f3 !important;
  border:1px solid rgba(255,255,255,.08) !important;
  border-radius:5px !important;
}
/* === END GENTELELLA-LIKE SIDEBAR FINAL FIX === */


/* === SAFE BABY BLUE SIDEBAR STYLE - NO JS OVERRIDE === */
.sidebar{
  background:
    radial-gradient(circle at 45% 45%, rgba(42,76,112,.24), transparent 38%),
    linear-gradient(180deg,#081a2e 0%,#061527 100%) !important;
  color:#9bd4ff !important;
  font-family:Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

.brand{
  border-bottom:1px solid rgba(160,190,220,.14) !important;
}

.brand-logo{
  background:linear-gradient(135deg,#2ed3a0,#1fb47f) !important;
  color:#fff !important;
}

.brand-title{
  color:#f6fbff !important;
  font-weight:700 !important;
}

.brand-sub{
  color:#91a5bd !important;
}

.menu-group{
  color:rgba(173,193,218,.72) !important;
  font-size:10px !important;
  font-weight:800 !important;
  letter-spacing:.20em !important;
  text-transform:uppercase !important;
  opacity:.72 !important;
  padding-top:20px !important;
  padding-bottom:8px !important;
}

.menu-item{
  color:#9bd4ff !important;
  font-weight:400 !important;
  font-size:14px !important;
  background:transparent !important;
  border-left-color:transparent !important;
}

.menu-item:hover{
  background:rgba(255,255,255,.035) !important;
  color:#c8ecff !important;
}

.menu-item.active{
  background:rgba(80,125,170,.20) !important;
  color:#9bd4ff !important;
  border-left-color:#8bd3ff !important;
}

.logout-btn,
.sidebar .logout-btn{
  background:#1abc9c !important;
  color:#fff !important;
  border:0 !important;
}
/* === END SAFE BABY BLUE SIDEBAR STYLE === */


/* === SIDEBAR ICON + BILGILENDIRME FINAL CLEAN FIX === */
.sidebar{
  background:
    radial-gradient(circle at 45% 42%, rgba(42,76,112,.22), transparent 38%),
    linear-gradient(180deg,#081a2e 0%,#061527 100%) !important;
}

.menu-group{
  color:rgba(173,193,218,.68) !important;
  font-size:10px !important;
  font-weight:800 !important;
  letter-spacing:.19em !important;
  text-transform:uppercase !important;
  opacity:.72 !important;
  padding:20px 20px 8px !important;
  margin:0 !important;
}

.menu-item{
  color:#9bd4ff !important;
  font-weight:400 !important;
  font-size:14px !important;
  display:flex !important;
  align-items:center !important;
  gap:13px !important;
  background:transparent !important;
}

.menu-item span:not(.mi-icon){
  color:#9bd4ff !important;
  font-weight:400 !important;
}

.mi-icon{
  width:22px !important;
  min-width:22px !important;
  display:inline-flex !important;
  justify-content:center !important;
  align-items:center !important;
  color:rgba(173,193,218,.72) !important;
  font-size:18px !important;
  line-height:1 !important;
  opacity:.95 !important;
}

.menu-item.active{
  background:rgba(80,125,170,.22) !important;
  color:#9bd4ff !important;
  border-left-color:#8bd3ff !important;
}

.menu-item.active .mi-icon,
.menu-item.active span:not(.mi-icon){
  color:#9bd4ff !important;
}

.menu-item:hover{
  background:rgba(255,255,255,.035) !important;
}

.menu-item:hover .mi-icon,
.menu-item:hover span:not(.mi-icon){
  color:#c8ecff !important;
}
/* === END SIDEBAR ICON + BILGILENDIRME FINAL CLEAN FIX === */




/* === PREMIUM THEME PACK CSS === */
.sidebar .menu-group{padding-top:16px!important;padding-bottom:8px!important;margin:0!important}
.sidebar .menu-item + .menu-group{padding-top:14px!important}
.theme-preview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:12px 0 18px}
.theme-chip{border-radius:14px;padding:13px 14px;border:1px solid var(--border);cursor:pointer;min-height:72px;box-shadow:0 6px 18px rgba(0,0,0,.06)}
.theme-chip b{display:block;font-size:13px;margin-bottom:5px}.theme-chip span{font-size:11px;opacity:.8}
.theme-chip-gentelella{background:linear-gradient(135deg,#172334,#0b1828);color:#9bd4ff}
.theme-chip-tailadmin{background:linear-gradient(135deg,#f8fafc,#e0f2fe);color:#0f172a}
.theme-chip-tabler{background:linear-gradient(135deg,#eff6ff,#dbeafe);color:#1e3a8a}
.theme-chip-sneat{background:linear-gradient(135deg,#fff7ed,#f5f3ff);color:#4338ca}
.theme-chip-mazer{background:linear-gradient(135deg,#ffffff,#eef2ff);color:#334155}
.theme-chip-volt{background:linear-gradient(135deg,#111827,#312e81);color:#c7d2fe}
.theme-chip-clinicblue{background:linear-gradient(135deg,#e0f7ff,#c7f9ff);color:#075985}
.theme-chip-minimalwhite{background:linear-gradient(135deg,#ffffff,#f8fafc);color:#111827}

body.theme-gentelella{--theme-bg:#f4f7fa;--theme-panel:#fff;--theme-text:#243447;--theme-muted:#8091a7;--theme-border:#e6edf5;--theme-sidebar-1:#172334;--theme-sidebar-2:#0b1828;--theme-menu:#9bd4ff;--theme-title:rgba(173,193,218,.68);--theme-active:#8bd3ff;--theme-accent:#1abc9c}
body.theme-tailadmin{--theme-bg:#f8fafc;--theme-panel:#fff;--theme-text:#0f172a;--theme-muted:#64748b;--theme-border:#e2e8f0;--theme-sidebar-1:#fff;--theme-sidebar-2:#f8fafc;--theme-menu:#334155;--theme-title:#94a3b8;--theme-active:#3b82f6;--theme-accent:#2563eb}
body.theme-tabler{--theme-bg:#f1f5f9;--theme-panel:#fff;--theme-text:#1e293b;--theme-muted:#64748b;--theme-border:#dbeafe;--theme-sidebar-1:#0f2a44;--theme-sidebar-2:#071b2e;--theme-menu:#bae6fd;--theme-title:rgba(186,230,253,.62);--theme-active:#38bdf8;--theme-accent:#0ea5e9}
body.theme-sneat{--theme-bg:#f7f4ff;--theme-panel:#fff;--theme-text:#312e81;--theme-muted:#7c73aa;--theme-border:#ede9fe;--theme-sidebar-1:#2e1f55;--theme-sidebar-2:#160f2f;--theme-menu:#ddd6fe;--theme-title:rgba(221,214,254,.62);--theme-active:#a78bfa;--theme-accent:#7c3aed}
body.theme-mazer{--theme-bg:#f5f7fb;--theme-panel:#fff;--theme-text:#253047;--theme-muted:#6b7280;--theme-border:#e5e7eb;--theme-sidebar-1:#253047;--theme-sidebar-2:#172033;--theme-menu:#d7e8ff;--theme-title:rgba(215,232,255,.62);--theme-active:#5a8dee;--theme-accent:#435ebe}
body.theme-volt{--theme-bg:#111827;--theme-panel:#1f2937;--theme-text:#f9fafb;--theme-muted:#9ca3af;--theme-border:#374151;--theme-sidebar-1:#111827;--theme-sidebar-2:#0b1120;--theme-menu:#c7d2fe;--theme-title:rgba(199,210,254,.62);--theme-active:#818cf8;--theme-accent:#6366f1}
body.theme-clinicblue{--theme-bg:#eefaff;--theme-panel:#fff;--theme-text:#075985;--theme-muted:#4b8aa4;--theme-border:#bae6fd;--theme-sidebar-1:#063f5c;--theme-sidebar-2:#032b40;--theme-menu:#caf0ff;--theme-title:rgba(202,240,255,.62);--theme-active:#67e8f9;--theme-accent:#06b6d4}
body.theme-minimalwhite{--theme-bg:#fff;--theme-panel:#fff;--theme-text:#111827;--theme-muted:#6b7280;--theme-border:#e5e7eb;--theme-sidebar-1:#f9fafb;--theme-sidebar-2:#fff;--theme-menu:#374151;--theme-title:#9ca3af;--theme-active:#111827;--theme-accent:#111827}

body[class*="theme-"]{background:var(--theme-bg)!important;color:var(--theme-text)!important}
body[class*="theme-"] .main{background:var(--theme-bg)!important;color:var(--theme-text)!important}
body[class*="theme-"] .panel,body[class*="theme-"] .tile,body[class*="theme-"] .perf-card,body[class*="theme-"] .performance-card,body[class*="theme-"] .ai-card,body[class*="theme-"] .file-card{background:var(--theme-panel)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important}
body.theme-volt .panel,body.theme-volt .tile,body.theme-volt .perf-card,body.theme-volt .performance-card,body.theme-volt .ai-card,body.theme-volt .file-card{box-shadow:0 8px 28px rgba(0,0,0,.25)!important}
body[class*="theme-"] .sidebar{background:linear-gradient(180deg,var(--theme-sidebar-1),var(--theme-sidebar-2))!important}
body[class*="theme-"] .menu-item,body[class*="theme-"] .menu-item span:not(.mi-icon){color:var(--theme-menu)!important}
body[class*="theme-"] .menu-group,body[class*="theme-"] .mi-icon{color:var(--theme-title)!important}
body[class*="theme-"] .menu-item.active{color:var(--theme-menu)!important;border-left-color:var(--theme-active)!important;background:rgba(80,125,170,.18)!important}
body[class*="theme-"] button,body[class*="theme-"] .logout-btn{background:var(--theme-accent)!important;border-color:var(--theme-accent)!important}
body[class*="theme-"] h1,body[class*="theme-"] h2,body[class*="theme-"] h3,body[class*="theme-"] .panel-title h2{color:var(--theme-text)!important}
body.theme-gentelella .brand-title,body.theme-tabler .brand-title,body.theme-sneat .brand-title,body.theme-mazer .brand-title,body.theme-volt .brand-title,body.theme-clinicblue .brand-title{color:#fff!important}
body[class*="theme-"] input,body[class*="theme-"] select,body[class*="theme-"] textarea{border-color:var(--theme-border)!important}
/* === END PREMIUM THEME PACK CSS === */


/* === PREMIUM PERFORMANCE DASHBOARD V2 CSS === */
.pv2-page{
  background:#f8fafc;
  color:#0f172a;
  padding:8px;
  border-radius:18px;
}

.pv2-header{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:flex-start;
  margin-bottom:24px;
}

.pv2-header h2{
  margin:0 0 7px;
  color:#0f172a;
  font-size:26px;
  font-weight:800;
}

.pv2-header h2 span{
  color:#64748b;
  font-size:16px;
}

.pv2-header p{
  margin:0;
  color:#64748b;
  font-size:14px;
}

.pv2-controls{
  display:flex;
  gap:10px;
  align-items:center;
}

.pv2-controls select,
.pv2-controls button{
  background:#fff !important;
  color:#334155 !important;
  border:1px solid #e2e8f0 !important;
  border-radius:10px !important;
  padding:10px 16px !important;
  min-width:auto !important;
  margin:0 !important;
  box-shadow:none !important;
}

.pv2-controls button.active{
  background:#2563eb !important;
  color:#fff !important;
  border-color:#2563eb !important;
}

.pv2-kpi-grid{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:14px;
  margin-bottom:18px;
}

.pv2-kpi{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:17px;
  display:flex;
  gap:13px;
  box-shadow:0 8px 22px rgba(15,23,42,.05);
}

.pv2-kpi-icon{
  width:42px;
  height:42px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eff6ff;
  color:#2563eb;
  font-weight:800;
  flex:0 0 42px;
}

.pv2-kpi-body span{
  display:block;
  color:#64748b;
  font-size:12px;
  margin-bottom:6px;
}

.pv2-kpi-body strong{
  display:block;
  font-size:24px;
  color:#0f172a;
  line-height:1.1;
}

.pv2-kpi-body small{
  display:block;
  color:#64748b;
  margin-top:8px;
  font-size:12px;
}

.pv2-kpi-body em{
  display:inline-block;
  color:#16a34a;
  font-style:normal;
  font-size:11px;
  margin-top:8px;
}

.pv2-main-grid{
  display:grid;
  grid-template-columns:2fr 1.1fr 1.4fr;
  gap:16px;
  margin-bottom:16px;
}

.pv2-bottom-grid{
  display:grid;
  grid-template-columns:2fr 1.15fr 1.25fr;
  gap:16px;
  margin-bottom:16px;
}

.pv2-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:18px;
  padding:20px;
  box-shadow:0 8px 24px rgba(15,23,42,.05);
}

.pv2-card-title{
  font-size:16px;
  color:#0f172a;
  font-weight:800;
  margin-bottom:18px;
}

.pv2-card-title span{
  font-weight:500;
  color:#64748b;
  font-size:13px;
}

.pv2-heatmap{
  display:grid;
  grid-template-columns:48px repeat(7,1fr);
  gap:4px;
  align-items:center;
}

.pv2-heatmap b,
.pv2-heatmap span{
  color:#334155;
  font-size:12px;
}

.pv2-heat-cell{
  height:20px;
  border-radius:4px;
  background:#edf4ff;
}

.pv2-heat-cell.mid{
  background:#bfdbfe;
}

.pv2-heat-cell.high{
  background:#60a5fa;
}

.pv2-heat-legend{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:14px;
  color:#64748b;
  font-size:12px;
}

.pv2-heat-legend i{
  display:block;
  width:190px;
  height:8px;
  border-radius:999px;
  background:linear-gradient(90deg,#edf4ff,#60a5fa,#2563eb);
}

.pv2-money{
  color:#16a34a;
  font-size:29px;
  font-weight:900;
  margin:12px 0 6px;
}

.pv2-card p,
.pv2-card small{
  color:#64748b;
}

.pv2-line-chart{
  margin-top:28px;
  height:150px;
  display:flex;
  align-items:flex-end;
  gap:10px;
  border-bottom:1px solid #e5e7eb;
}

.pv2-line-chart span{
  flex:1;
  border-radius:8px 8px 0 0;
  background:linear-gradient(180deg,#86efac,#dcfce7);
}

.pv2-rank-list{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.pv2-rank-row{
  display:grid;
  grid-template-columns:22px 1fr 90px 42px 76px;
  align-items:center;
  gap:10px;
  font-size:13px;
  color:#334155;
}

.pv2-rank-row b{
  color:#0f172a;
}

.pv2-rank-row em{
  font-style:normal;
  font-weight:800;
  color:#0f172a;
}

.pv2-bar{
  height:6px;
  border-radius:999px;
  background:#e5e7eb;
  overflow:hidden;
}

.pv2-bar i{
  display:block;
  height:100%;
  border-radius:999px;
  background:#22c55e;
}

.pv2-table{
  width:100%;
  border-collapse:collapse;
}

.pv2-table th,
.pv2-table td{
  padding:12px 8px;
  border-bottom:1px solid #eef2f7;
  text-align:left;
  font-size:13px;
  color:#334155;
}

.pv2-table th{
  color:#64748b;
  font-weight:700;
}

.pv2-green{
  color:#16a34a !important;
  font-weight:800;
}

.pv2-donut{
  width:150px;
  height:150px;
  margin:4px auto 20px;
  border-radius:50%;
  background:conic-gradient(#22c55e 0 62%,#3b82f6 62% 90%,#f59e0b 90% 97%,#ef4444 97% 100%);
  position:relative;
}

.pv2-donut:after{
  content:'';
  position:absolute;
  inset:36px;
  background:#fff;
  border-radius:50%;
}

.pv2-donut-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.pv2-donut-list div{
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:#334155;
  font-size:13px;
}

.pv2-donut-list i{
  width:10px;
  height:10px;
  border-radius:50%;
  margin-right:8px;
  display:inline-block;
}

.pv2-donut-list .green{background:#22c55e}
.pv2-donut-list .blue{background:#3b82f6}
.pv2-donut-list .orange{background:#f59e0b}
.pv2-donut-list .red{background:#ef4444}

.pv2-total{
  display:block;
  margin-top:20px;
  text-align:center;
  color:#0f172a;
}

.pv2-alert-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 0;
  border-bottom:1px solid #eef2f7;
}

.pv2-alert-row b{
  display:block;
  color:#0f172a;
}

.pv2-alert-row small{
  display:block;
  color:#64748b;
  margin-top:4px;
}

.pv2-alert-row strong{
  color:#065f46;
  background:#dcfce7;
  padding:6px 10px;
  border-radius:10px;
}

.pv2-ai{
  margin-top:18px;
}

.pv2-ai-strip{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:12px;
}

.pv2-ai-strip div{
  background:#f8fafc;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:14px;
  color:#334155;
  font-size:13px;
}

.pv2-ai-strip b{
  display:inline-flex;
  width:28px;
  height:28px;
  border-radius:9px;
  align-items:center;
  justify-content:center;
  background:#eef2ff;
  color:#4f46e5;
  margin-right:8px;
}

@media(max-width:1400px){
  .pv2-kpi-grid{grid-template-columns:repeat(4,1fr)}
  .pv2-main-grid,.pv2-bottom-grid{grid-template-columns:1fr}
}

@media(max-width:800px){
  .pv2-kpi-grid{grid-template-columns:1fr}
  .pv2-header{flex-direction:column}
  .pv2-ai-strip{grid-template-columns:1fr}
}
/* === END PREMIUM PERFORMANCE DASHBOARD V2 CSS === */

/* === SMART SYSTEMS / WHATSAPP ROBOT === */
.smart-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;align-items:start}
.smart-wide,.smart-hero{grid-column:1/-1}
.smart-hero p{margin:6px 0 0;color:var(--muted);font-size:13px}
.smart-badge{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:rgba(34,197,94,.12);border:1px solid rgba(34,197,94,.25);color:#86efac;font-weight:700;font-size:12px;white-space:nowrap}
.smart-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px}
.smart-card{padding:16px;border:1px solid var(--border);border-radius:18px;background:linear-gradient(135deg,rgba(255,255,255,.06),rgba(255,255,255,.02));box-shadow:0 16px 45px rgba(0,0,0,.16)}
.smart-card b{display:block;font-size:14px;margin-bottom:6px;color:var(--text)}
.smart-card span{font-size:12px;color:var(--muted)}
.robot-reply{margin-top:14px;padding:14px;border-radius:16px;background:rgba(15,23,42,.46);border:1px solid var(--border);line-height:1.55;min-height:54px;white-space:normal}
.smart-flow{display:grid;gap:10px}
.smart-flow div{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid var(--border);border-radius:16px;background:rgba(255,255,255,.035)}
.smart-flow b{width:28px;height:28px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:rgba(59,130,246,.18);color:#bfdbfe;flex:0 0 28px}
.smart-flow span{color:var(--muted);font-size:13px;line-height:1.45}
.slot-list{display:flex;gap:8px;flex-wrap:wrap}
.slot-pill{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--border);background:rgba(59,130,246,.12);border-radius:999px;padding:8px 11px;font-weight:700}
.slot-pill small{color:var(--muted);font-weight:600}
.success-box{padding:10px 12px;border-radius:14px;background:rgba(34,197,94,.12);border:1px solid rgba(34,197,94,.25);color:#86efac;margin-bottom:10px;font-weight:700}
.danger-text{color:#fca5a5;font-weight:700}
.mini-log{padding:10px 0;border-top:1px solid var(--border);font-size:12px;color:var(--muted)}
@media(max-width:980px){.smart-grid{grid-template-columns:1fr}.smart-cards{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.smart-cards{grid-template-columns:1fr}}
/* === END SMART SYSTEMS / WHATSAPP ROBOT === */

/* SMS module refinements */
.sms-grid .robot-reply{line-height:1.55}
.special-day-list{display:flex;flex-direction:column;gap:14px;max-height:65vh;overflow:auto;padding-right:6px}
.special-day-row{border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.035);border-radius:18px;padding:14px;margin-bottom:4px}
.special-day-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.inline-check{display:flex;align-items:center;gap:8px;margin:0;color:var(--muted)}
.inline-check input{width:auto;margin:0}
.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.mini-log small{opacity:.65}
@media(max-width:760px){.grid-2{grid-template-columns:1fr}.special-day-head{align-items:flex-start;flex-direction:column}}

.badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:700;border:1px solid var(--border)}
.badge.success{background:rgba(34,197,94,.12);color:#16a34a;border-color:rgba(34,197,94,.25)}
.badge.danger{background:rgba(239,68,68,.12);color:#dc2626;border-color:rgba(239,68,68,.25)}
.backup-upload-box{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end;margin-top:12px;padding:12px;border:1px solid rgba(148,163,184,.18);border-radius:16px;background:rgba(15,23,42,.35)}
.backup-upload-box input{margin-top:6px}

/* === MOBILE COMPATIBILITY PACK === */
.mobile-menu-btn,
.mobile-menu-backdrop,
.mobile-quick-actions{display:none}

@media(max-width:900px){
  html,body{width:100%;overflow-x:hidden}
  body.mobile-menu-open{overflow:hidden}

  .app-shell{display:block;min-height:100vh}
  .sidebar{
    position:fixed!important;
    left:0!important;
    top:0!important;
    bottom:0!important;
    width:min(84vw,300px)!important;
    height:100vh!important;
    overflow-y:auto!important;
    z-index:1001!important;
    transform:translateX(-105%);
    transition:transform .24s ease;
    box-shadow:18px 0 50px rgba(0,0,0,.32)!important;
  }
  body.mobile-menu-open .sidebar{transform:translateX(0)}
  .mobile-menu-backdrop{
    display:block;
    position:fixed;
    inset:0;
    background:rgba(15,23,42,.56);
    backdrop-filter:blur(2px);
    z-index:1000;
    opacity:0;
    pointer-events:none;
    transition:opacity .22s ease;
  }
  body.mobile-menu-open .mobile-menu-backdrop{opacity:1;pointer-events:auto}

  .main{margin-left:0!important;width:100%!important;min-width:0}
  .topbar{
    position:sticky;
    top:0;
    z-index:900;
    min-height:62px;
    height:auto!important;
    padding:10px 12px!important;
    gap:10px;
    flex-wrap:nowrap;
  }
  .mobile-menu-btn{
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    min-width:42px;
    border-radius:12px;
    padding:0!important;
    font-size:20px;
  }
  .topbar h1{font-size:18px!important;line-height:1.15;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .user-box{gap:7px;justify-content:flex-end;min-width:0}
  .user-box>span{display:none}
  .user-avatar{width:32px;height:32px;min-width:32px}
  .user-box .light{padding:8px 10px!important}
  .content{padding:12px!important}

  .mobile-quick-actions{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:8px;
    padding:10px 12px 0;
  }
  .mobile-quick-actions button{min-height:40px;padding:8px 7px!important;border-radius:12px;font-size:12px;white-space:nowrap}

  .grid,.cols2,.cols4,.smart-grid,.performance-wrapper,.ai-wrapper,.staff-card-grid,.grid-2,.form-grid,.pv2-main-grid,.pv2-bottom-grid{
    grid-template-columns:1fr!important;
  }
  .tile,.panel,.smart-card,.ai-card,.performance-card,.staff-card{border-radius:16px!important;padding:14px!important;min-width:0}
  .panel-title{align-items:flex-start;flex-direction:column;gap:10px}
  .panel-title>div{display:flex;flex-wrap:wrap;gap:8px;width:100%}
  .panel-title button,.actions button{min-height:38px}

  input,select,textarea,button,.btn{font-size:16px;min-height:42px;border-radius:12px}
  label{font-size:13px}
  textarea{min-height:110px}

  .actions{gap:8px}.actions button{flex:1 1 auto}

  .table, table{min-width:720px}
  .panel:has(table), .table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
  div[style*="overflow:auto"]{max-width:100%;-webkit-overflow-scrolling:touch}

  .calendar-head{flex-direction:column;align-items:stretch}
  .calendar-head button{width:100%}
  .weekdays,.calendar-grid{grid-template-columns:repeat(7,minmax(42px,1fr))!important;min-width:640px}
  .day{min-height:92px;padding:7px}.day-number{font-size:12px}.appointment-chip{font-size:11px;padding:6px 7px}
  .panel:has(.calendar-grid){overflow-x:auto;-webkit-overflow-scrolling:touch}

  .hour-session-grid{grid-template-columns:1fr!important}.hour-cell{min-height:120px;border-right:0!important}
  .performance-grid{grid-template-columns:repeat(2,1fr)!important}.performance-row{grid-template-columns:72px 1fr 38px}
  .heatmap,.pv2-ai-strip,.smart-cards{grid-template-columns:1fr!important}

  .modal-back{align-items:flex-end!important;padding:0!important;z-index:1200!important}
  .modal,.modal.large{
    width:100vw!important;
    max-width:100vw!important;
    max-height:92vh!important;
    border-radius:22px 22px 0 0!important;
    padding:16px!important;
  }
  .modal-head{position:sticky;top:0;background:inherit;z-index:1;padding-top:4px}

  .chat-message-head{align-items:flex-start;flex-wrap:wrap}.chat-message{border-radius:16px}
  #chatBox{height:320px!important}
  .branch-chat-alert{left:12px;right:12px;bottom:12px;max-width:none;flex-wrap:wrap}

  .backup-upload-box{grid-template-columns:1fr!important}
  .special-day-list{max-height:70vh}
}

@media(max-width:520px){
  .mobile-quick-actions{grid-template-columns:1fr 1fr}
  .mobile-quick-actions button:last-child{grid-column:1/-1}
  .tile-number{font-size:25px}
  .performance-grid{grid-template-columns:1fr!important}
  .weekdays,.calendar-grid{min-width:560px}
  .login-card{padding:26px 18px;border-radius:18px}
}

body[class*="theme-"] .mobile-menu-btn{background:var(--theme-accent)!important;border-color:var(--theme-accent)!important;color:#fff!important}
body[class*="theme-"] .topbar{background:var(--theme-panel)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important}
body[class*="theme-"] .mobile-quick-actions .light{background:var(--theme-panel)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important}
/* === END MOBILE COMPATIBILITY PACK === */

/* === MOBILE NO-HORIZONTAL-SCROLL FIX === */
@media(max-width:900px){
  html, body, .app-shell, .main, .content, .panel, .tile{max-width:100vw!important;overflow-x:hidden!important}

  /* Tables become stacked mobile cards instead of forcing sideways scroll */
  .panel:has(table), .table-wrap, div[style*="overflow:auto"]{overflow-x:visible!important;max-width:100%!important}
  .table, table{width:100%!important;min-width:0!important;border-collapse:separate!important;border-spacing:0 10px!important;background:transparent!important}
  .table thead, table thead{display:none!important}
  .table tbody, table tbody, .table tr, table tr, .table td, table td{display:block!important;width:100%!important;box-sizing:border-box!important}
  .table tr, table tr{margin-bottom:10px!important;border:1px solid var(--border)!important;border-radius:16px!important;background:var(--card)!important;padding:8px!important;overflow:hidden!important}
  body[class*="theme-"] .table tr, body[class*="theme-"] table tr{background:var(--theme-panel)!important;border-color:var(--theme-border)!important}
  .table td, table td{border:0!important;border-bottom:1px solid rgba(148,163,184,.14)!important;padding:8px 6px!important;white-space:normal!important;word-break:break-word!important}
  .table td:last-child, table td:last-child{border-bottom:0!important}
  .table td .actions, table td .actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important}
  .table td .actions button, table td .actions button{flex:1 1 44%!important;min-width:120px!important}

  /* Calendar fits into the phone width; no sideways drag */
  .weekdays,.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr))!important;min-width:0!important;width:100%!important}
  .weekdays div{font-size:10px!important;padding:6px 2px!important;min-width:0!important}
  .day{min-height:64px!important;padding:4px!important;min-width:0!important;overflow:hidden!important}
  .day-number{font-size:11px!important;line-height:1!important}
  .day-count{font-size:10px!important;padding:1px 5px!important;margin-top:4px!important}
  .appointment-chip{display:none!important}
  .panel:has(.calendar-grid){overflow-x:hidden!important}
  .calendar-title{text-align:center;font-size:15px!important}
}

@media(max-width:520px){
  .content{padding:10px!important}
  .panel,.tile{padding:12px!important;border-radius:14px!important}
  .day{min-height:52px!important;padding:3px!important}
  .weekdays div{font-size:9px!important;padding:5px 1px!important}
  .calendar-head{gap:8px!important}
}
/* === END MOBILE NO-HORIZONTAL-SCROLL FIX === */

/* === LIVE NOTIFICATION CENTER === */
.notification-center{position:relative;display:flex;align-items:center;margin-left:auto;margin-right:10px;z-index:1100}
.notif-bell{position:relative;min-width:42px;height:38px;border-radius:14px;border:1px solid var(--border,#D9DEE4);background:rgba(255,255,255,.72);box-shadow:0 8px 20px rgba(0,0,0,.08);cursor:pointer;font-size:17px;display:grid;place-items:center;transition:.18s ease}
.notif-bell:hover,.notif-bell.has-unread{transform:translateY(-1px);box-shadow:0 12px 26px rgba(0,0,0,.14)}
.notif-bell.has-unread{animation:notifPulse 1.8s ease-in-out infinite}
.notif-count{position:absolute;right:-5px;top:-6px;min-width:18px;height:18px;border-radius:999px;background:#E74C3C;color:#fff;font-size:10px;font-weight:800;display:grid;place-items:center;border:2px solid #fff;padding:0 4px}
.notif-panel{position:absolute;right:0;top:48px;width:min(390px,calc(100vw - 24px));max-height:min(560px,calc(100vh - 90px));overflow:hidden;background:#fff;border:1px solid var(--border,#D9DEE4);border-radius:18px;box-shadow:0 24px 70px rgba(0,0,0,.22);display:flex;flex-direction:column}
.notif-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 14px 10px;border-bottom:1px solid var(--border,#D9DEE4)}
.notif-head b{display:block;color:var(--title,#2A3F54);font-size:14px}.notif-head small{display:block;color:#7f8c8d;font-size:11px;margin-top:2px}.notif-actions{display:flex;gap:6px}.notif-actions .tiny{font-size:11px;padding:7px 9px!important;border-radius:10px!important}
.notif-list{overflow:auto;padding:8px;display:grid;gap:7px}.notif-item{display:flex;gap:10px;padding:11px;border-radius:14px;border:1px solid rgba(0,0,0,.06);background:linear-gradient(135deg,rgba(38,185,154,.08),rgba(255,255,255,.85));cursor:pointer;transition:.16s ease}.notif-item:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(0,0,0,.10)}
.notif-item.read{opacity:.62}.notif-item.urgent{background:linear-gradient(135deg,rgba(231,76,60,.16),rgba(255,255,255,.92));border-color:rgba(231,76,60,.22)}.notif-item.warning{background:linear-gradient(135deg,rgba(243,156,18,.16),rgba(255,255,255,.92));border-color:rgba(243,156,18,.22)}.notif-item.success{background:linear-gradient(135deg,rgba(38,185,154,.16),rgba(255,255,255,.92));border-color:rgba(38,185,154,.22)}
.notif-icon{width:34px;height:34px;border-radius:12px;background:rgba(42,63,84,.08);display:grid;place-items:center;flex:0 0 auto}.notif-body{min-width:0;display:grid;gap:2px}.notif-body b{font-size:13px;color:var(--title,#2A3F54)}.notif-body span{font-size:12px;color:#53616d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notif-body small{font-size:11px;color:#8a98a5}.notif-empty{padding:24px 12px;text-align:center;color:#8a98a5;font-size:13px}
@keyframes notifPulse{0%,100%{box-shadow:0 8px 20px rgba(0,0,0,.08)}50%{box-shadow:0 0 0 6px rgba(231,76,60,.10),0 12px 26px rgba(0,0,0,.14)}}
body[class*="theme-"] .notif-bell,body[class*="theme-"] .notif-panel{background:var(--theme-panel)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important}body[class*="theme-"] .notif-head{border-color:var(--theme-border)!important}body[class*="theme-"] .notif-head b,body[class*="theme-"] .notif-body b{color:var(--theme-text)!important}body[class*="theme-"] .notif-body span,body[class*="theme-"] .notif-body small,body[class*="theme-"] .notif-head small{color:var(--theme-muted)!important}body[class*="theme-"] .notif-item{background:rgba(255,255,255,.04)!important;border-color:var(--theme-border)!important}body[class*="theme-"] .notif-icon{background:rgba(255,255,255,.08)!important}
@media(max-width:900px){.notification-center{margin-left:6px;margin-right:4px}.notif-bell{min-width:38px;height:36px;border-radius:12px}.notif-panel{position:fixed;right:10px;left:10px;top:66px;width:auto;max-height:calc(100vh - 86px);border-radius:18px}.notif-body span{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}}
/* === END LIVE NOTIFICATION CENTER === */

/* Ana panel entegrasyonu / demo footer */
.license-bar{margin:0 0 14px;padding:10px 14px;border:1px solid rgba(34,197,94,.25);background:rgba(34,197,94,.08);border-radius:16px;color:var(--text);font-size:13px}
.license-bar.warn{border-color:rgba(245,158,11,.32);background:rgba(245,158,11,.10)}
.license-bar.danger{border-color:rgba(239,68,68,.40);background:rgba(239,68,68,.12)}
.public-footer{margin:22px 0 4px;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;align-items:stretch}
.footer-card{display:flex;flex-direction:column;gap:5px;padding:14px;border:1px solid var(--border);border-radius:18px;background:var(--panel);color:var(--text);text-decoration:none;box-shadow:var(--shadow)}
.footer-card span{font-size:13px;color:var(--muted)}
.footer-card.ad{background:linear-gradient(135deg,rgba(34,197,94,.10),rgba(59,130,246,.08))}
.footer-support{border-radius:18px;min-height:68px}

/* === ANA PANEL FOOTER + DESTEK SAYFASI FIX === */
.app-shell{min-height:100vh}
.main{display:flex;flex-direction:column;min-height:100vh}
.content{flex:1 0 auto}
.public-footer{flex:0 0 auto;margin:18px 20px 0;padding:12px;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;align-items:stretch;border:1px solid var(--border);border-radius:22px 22px 0 0;background:rgba(255,255,255,.05);box-shadow:0 -10px 30px rgba(0,0,0,.08)}
.footer-card,.footer-support{border-radius:20px!important}
.footer-support{background:linear-gradient(135deg,#26B99A,#3498DB);color:#fff;font-weight:800;box-shadow:0 12px 28px rgba(38,185,154,.22)}
.ticket-list{display:grid;gap:12px;margin-top:14px}
.ticket-card{border:1px solid var(--border);border-radius:20px;background:var(--card);padding:14px;display:grid;gap:10px;box-shadow:var(--shadow)}
.ticket-card>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.ticket-card span,.ticket-reply span{color:var(--muted);font-size:12px}
.ticket-card p,.ticket-reply p{margin:0;color:var(--text)}
.ticket-reply{border:1px solid rgba(52,152,219,.22);border-radius:16px;background:rgba(52,152,219,.08);padding:10px;display:grid;gap:4px}
.ticket-reply.admin{border-color:rgba(38,185,154,.28);background:rgba(38,185,154,.10)}
.danger-panel{border-color:rgba(239,68,68,.35)!important;background:rgba(239,68,68,.08)!important}
@media(max-width:900px){.public-footer{margin:12px 10px 0;grid-template-columns:1fr}.main{display:block}}

.big-ready{font-size:18px;text-align:center;padding:34px;border-radius:18px;border:1px dashed rgba(255,255,255,.18)}

/* Entegrasyon footer sabitleme ve ayrı baloncuk görünümü */
.main{display:flex!important;flex-direction:column!important;min-height:100vh!important}
.content{flex:1 0 auto!important}
.public-footer{margin-top:auto!important;position:sticky;bottom:0;z-index:12;border-radius:22px 22px 0 0!important;background:rgba(31,42,55,.96)!important;backdrop-filter:blur(10px);box-shadow:0 -16px 42px rgba(0,0,0,.18)!important}
.footer-card{border-radius:18px!important}
.footer-support{border:0!important;border-radius:999px!important;padding:14px 20px!important;align-self:center;min-height:auto!important;cursor:pointer}
.danger-panel{border-color:rgba(231,76,60,.35)!important;background:rgba(231,76,60,.08)!important}


/* YapaySistem logo update */
.login-logo-img{max-width:260px;width:100%;height:auto;display:block;margin:0 auto 8px;object-fit:contain}
.brand-image{width:118px;height:auto;display:block;object-fit:contain;flex:0 0 118px}
.brand .brand-icon{display:none!important}
@media(max-width:900px){.brand-image{width:104px;flex-basis:104px}}

/* CHATGPT DARK/LIGHT THEME FIX */
:root {
  --bg-main: #07111f;
  --bg-soft: #0d1b2e;
  --bg-card: linear-gradient(145deg, #1f344d, #101d2f);
  --bg-input: #071426;
  --border-soft: rgba(255,255,255,.14);
  --text-main: #f4f8ff;
  --text-muted: #8fa3bd;
  --green: #48d394;
}
body{background:radial-gradient(circle at top,#14243a 0%,#07111f 55%,#030914 100%)!important;color:var(--text-main)!important}
table,thead,tbody,tr,th,td,.card,.panel,.modal,.person-card,.staff-card,.user-card{
background:rgba(15,29,47,.92)!important;
color:#f4f8ff!important;
border-color:rgba(255,255,255,.10)!important}
input,textarea,select{
background:#071426!important;
color:#fff!important;
border:1px solid rgba(255,255,255,.12)!important}
.theme-toggle-btn {
position:fixed;top:14px;right:90px;z-index:9999;
background:#071426;color:#fff;border-radius:999px;padding:8px 14px}
body.light-theme{
background:#eef3f9!important;color:#102033!important}


/* === CENGIZ OKUNABILIR KOYU TEMA FINAL FIX === */
body.theme-gentelella,
body.theme-volt,
body.force-dark{
  --theme-bg:#07111f!important;
  --theme-panel:#122238!important;
  --theme-panel-2:#182b44!important;
  --theme-text:#f6fbff!important;
  --theme-muted:#b7c6d8!important;
  --theme-border:rgba(255,255,255,.14)!important;
  --theme-sidebar-1:#101c2e!important;
  --theme-sidebar-2:#07111f!important;
  --theme-menu:#dcecff!important;
  --theme-title:#8ea6c3!important;
  --theme-active:#48d394!important;
  --theme-accent:#22c59b!important;
  background:radial-gradient(circle at top,#1b314c 0%,#091525 52%,#050b14 100%)!important;
  color:#f6fbff!important;
}
body.theme-gentelella .main,
body.theme-volt .main,
body.force-dark .main,
body.theme-gentelella .content,
body.theme-volt .content,
body.force-dark .content{
  background:radial-gradient(circle at top,#1b314c 0%,#091525 52%,#050b14 100%)!important;
  color:#f6fbff!important;
}
body.theme-gentelella .topbar,
body.theme-volt .topbar,
body.force-dark .topbar{
  background:rgba(13,27,46,.96)!important;
  border-bottom:1px solid rgba(255,255,255,.12)!important;
  color:#f6fbff!important;
}
body.theme-gentelella .panel,
body.theme-gentelella .tile,
body.theme-gentelella .modal,
body.theme-gentelella .footer-card,
body.theme-gentelella .ticket-card,
body.theme-volt .panel,
body.theme-volt .tile,
body.theme-volt .modal,
body.theme-volt .footer-card,
body.theme-volt .ticket-card,
body.force-dark .panel,
body.force-dark .tile,
body.force-dark .modal,
body.force-dark .footer-card,
body.force-dark .ticket-card{
  background:linear-gradient(145deg,rgba(31,52,77,.98),rgba(15,29,47,.98))!important;
  color:#f6fbff!important;
  border:1px solid rgba(255,255,255,.14)!important;
  border-radius:18px!important;
  box-shadow:0 18px 45px rgba(0,0,0,.25)!important;
}
body.theme-gentelella h1,body.theme-gentelella h2,body.theme-gentelella h3,body.theme-gentelella h4,
body.theme-volt h1,body.theme-volt h2,body.theme-volt h3,body.theme-volt h4,
body.force-dark h1,body.force-dark h2,body.force-dark h3,body.force-dark h4,
body.theme-gentelella label,body.theme-volt label,body.force-dark label{
  color:#f6fbff!important;
}
body.theme-gentelella .panel-title,
body.theme-volt .panel-title,
body.force-dark .panel-title{
  border-bottom-color:rgba(255,255,255,.20)!important;
}
body.theme-gentelella input,body.theme-gentelella select,body.theme-gentelella textarea,
body.theme-volt input,body.theme-volt select,body.theme-volt textarea,
body.force-dark input,body.force-dark select,body.force-dark textarea{
  background:#081628!important;
  color:#f6fbff!important;
  border:1px solid rgba(255,255,255,.16)!important;
  border-radius:12px!important;
  box-shadow:none!important;
}
body.theme-gentelella input::placeholder,body.theme-gentelella textarea::placeholder,
body.theme-volt input::placeholder,body.theme-volt textarea::placeholder,
body.force-dark input::placeholder,body.force-dark textarea::placeholder{
  color:#8fa3bd!important;
}
body.theme-gentelella table,body.theme-gentelella .table,
body.theme-volt table,body.theme-volt .table,
body.force-dark table,body.force-dark .table{
  background:rgba(13,27,46,.98)!important;
  color:#f6fbff!important;
  border-collapse:collapse!important;
}
body.theme-gentelella thead,body.theme-gentelella tbody,body.theme-gentelella tr,body.theme-gentelella th,body.theme-gentelella td,
body.theme-volt thead,body.theme-volt tbody,body.theme-volt tr,body.theme-volt th,body.theme-volt td,
body.force-dark thead,body.force-dark tbody,body.force-dark tr,body.force-dark th,body.force-dark td{
  background:rgba(20,37,59,.98)!important;
  color:#eaf3ff!important;
  border-color:rgba(255,255,255,.12)!important;
}
body.theme-gentelella th,body.theme-volt th,body.force-dark th{color:#ffffff!important;font-weight:800!important;}
body.theme-gentelella .weekdays div,body.theme-gentelella .day,
body.theme-volt .weekdays div,body.theme-volt .day,
body.force-dark .weekdays div,body.force-dark .day{
  background:rgba(18,34,56,.98)!important;
  color:#f6fbff!important;
  border-color:rgba(255,255,255,.13)!important;
}
body.theme-gentelella .day:hover,body.theme-volt .day:hover,body.force-dark .day:hover{background:rgba(72,211,148,.18)!important;}
body.theme-gentelella .day.today,body.theme-volt .day.today,body.force-dark .day.today{background:rgba(72,211,148,.22)!important;}
body.theme-gentelella .day-number,body.theme-volt .day-number,body.force-dark .day-number{color:#fff!important;}
body.theme-gentelella .session-grid>div,
body.theme-gentelella .slot,
body.theme-gentelella .session-slot,
body.theme-gentelella .time-slot,
body.theme-volt .session-grid>div,
body.theme-volt .slot,
body.theme-volt .session-slot,
body.theme-volt .time-slot,
body.force-dark .session-grid>div,
body.force-dark .slot,
body.force-dark .session-slot,
body.force-dark .time-slot{
  background:rgba(18,34,56,.98)!important;
  color:#f6fbff!important;
  border-color:rgba(255,255,255,.13)!important;
}
body.theme-gentelella .notice,body.theme-volt .notice,body.force-dark .notice{
  background:rgba(34,197,148,.14)!important;
  color:#62f0bd!important;
  border-color:rgba(34,197,148,.30)!important;
}
body.theme-gentelella .sidebar,body.theme-volt .sidebar,body.force-dark .sidebar{
  background:linear-gradient(180deg,#101c2e,#07111f)!important;
}
body.theme-gentelella .public-footer,body.theme-volt .public-footer,body.force-dark .public-footer{
  background:rgba(13,27,46,.96)!important;
  border-color:rgba(255,255,255,.14)!important;
}
.theme-switcher{
  margin-left:auto!important;
  margin-right:10px!important;
  border-radius:999px!important;
  padding:8px 13px!important;
  background:#081628!important;
  border:1px solid rgba(255,255,255,.16)!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(0,0,0,.18)!important;
}
/* Gündüz modu istenirse okunabilir açık görünüm */
body.force-light,
body.force-light .main,
body.force-light .content{
  background:#eef3f9!important;
  color:#102033!important;
}
body.force-light .topbar,
body.force-light .panel,
body.force-light .tile,
body.force-light .modal,
body.force-light .footer-card,
body.force-light .ticket-card{
  background:#ffffff!important;
  color:#102033!important;
  border-color:#dce5ef!important;
}
body.force-light table,body.force-light .table,body.force-light thead,body.force-light tbody,body.force-light tr,body.force-light th,body.force-light td,
body.force-light .weekdays div,body.force-light .day{
  background:#ffffff!important;
  color:#102033!important;
  border-color:#dce5ef!important;
}
body.force-light input,body.force-light select,body.force-light textarea{
  background:#ffffff!important;
  color:#102033!important;
  border-color:#cbd5e1!important;
}
/* === END CENGIZ OKUNABILIR KOYU TEMA FINAL FIX === */

/* === CENGIZ ACIK TEMA OKUNABILIR YAZI FIX === */
body.force-light,
body.force-light *:not(button):not(.btn):not(.logout-btn):not(.theme-switcher),
body.light-theme,
body.light-theme *:not(button):not(.btn):not(.logout-btn):not(.theme-switcher){
  color:#102033!important;
  text-shadow:none!important;
}
body.force-light .main,
body.force-light .content,
body.force-light #app,
body.light-theme .main,
body.light-theme .content,
body.light-theme #app{
  background:#eef3f9!important;
}
body.force-light .topbar,
body.force-light .panel,
body.force-light .tile,
body.force-light .card,
body.force-light .modal,
body.force-light .footer-card,
body.force-light .ticket-card,
body.force-light .chat-box,
body.force-light .calendar,
body.force-light .session-grid,
body.light-theme .topbar,
body.light-theme .panel,
body.light-theme .tile,
body.light-theme .card,
body.light-theme .modal,
body.light-theme .footer-card,
body.light-theme .ticket-card,
body.light-theme .chat-box,
body.light-theme .calendar,
body.light-theme .session-grid{
  background:#ffffff!important;
  color:#102033!important;
  border-color:#d7e2ee!important;
  box-shadow:0 14px 35px rgba(15,23,42,.08)!important;
}
body.force-light table,
body.force-light .table,
body.force-light thead,
body.force-light tbody,
body.force-light tr,
body.force-light th,
body.force-light td,
body.force-light .weekdays div,
body.force-light .day,
body.force-light .session-grid>div,
body.force-light .slot,
body.force-light .session-slot,
body.force-light .time-slot,
body.light-theme table,
body.light-theme .table,
body.light-theme thead,
body.light-theme tbody,
body.light-theme tr,
body.light-theme th,
body.light-theme td,
body.light-theme .weekdays div,
body.light-theme .day,
body.light-theme .session-grid>div,
body.light-theme .slot,
body.light-theme .session-slot,
body.light-theme .time-slot{
  background:#ffffff!important;
  color:#102033!important;
  border-color:#d7e2ee!important;
}
body.force-light th,
body.force-light td,
body.force-light h1,
body.force-light h2,
body.force-light h3,
body.force-light h4,
body.force-light h5,
body.force-light h6,
body.force-light p,
body.force-light label,
body.force-light span,
body.force-light small,
body.force-light div,
body.light-theme th,
body.light-theme td,
body.light-theme h1,
body.light-theme h2,
body.light-theme h3,
body.light-theme h4,
body.light-theme h5,
body.light-theme h6,
body.light-theme p,
body.light-theme label,
body.light-theme span,
body.light-theme small,
body.light-theme div{
  color:#102033!important;
}
body.force-light input,
body.force-light select,
body.force-light textarea,
body.light-theme input,
body.light-theme select,
body.light-theme textarea{
  background:#ffffff!important;
  color:#102033!important;
  border:1px solid #cbd5e1!important;
}
body.force-light input::placeholder,
body.force-light textarea::placeholder,
body.light-theme input::placeholder,
body.light-theme textarea::placeholder{
  color:#64748b!important;
}
body.force-light .notice,
body.light-theme .notice{
  background:#dcfce7!important;
  color:#166534!important;
  border-color:#86efac!important;
}
body.force-light .sidebar,
body.light-theme .sidebar{
  background:linear-gradient(180deg,#101c2e,#07111f)!important;
}
body.force-light .sidebar,
body.force-light .sidebar *,
body.light-theme .sidebar,
body.light-theme .sidebar *{
  color:#dcecff!important;
}
body.force-light .menu-group,
body.light-theme .menu-group{
  color:#8ea6c3!important;
}
body.force-light button,
body.force-light .btn,
body.force-light .logout-btn,
body.light-theme button,
body.light-theme .btn,
body.light-theme .logout-btn{
  color:#ffffff!important;
}
body.force-light button.light,
body.force-light .btn.light,
body.light-theme button.light,
body.light-theme .btn.light{
  color:#102033!important;
}
body.force-light .theme-switcher,
body.light-theme .theme-switcher{
  background:#ffffff!important;
  color:#102033!important;
  border-color:#cbd5e1!important;
}
/* === END ACIK TEMA OKUNABILIR YAZI FIX === */

/* === CENGIZ FINAL DARK/LIGHT THEME FULL FIX === */
:root{
  --c-dark-bg:#06101d;
  --c-dark-panel:#13243a;
  --c-dark-panel-2:#0d1b2e;
  --c-dark-border:rgba(255,255,255,.13);
  --c-dark-text:#f5f9ff;
  --c-dark-muted:#9fb1c7;
  --c-accent:#23c69f;
  --c-light-bg:#eef4fb;
  --c-light-panel:#ffffff;
  --c-light-border:#d7e3ef;
  --c-light-text:#0f2338;
  --c-light-muted:#5f7288;
}

body.force-dark,
body.force-dark #app,
body.force-dark .main,
body.force-dark .content{
  background:radial-gradient(circle at top,#10233a 0%,#07111f 48%,#030914 100%)!important;
  color:var(--c-dark-text)!important;
}
body.force-dark .topbar{
  background:#0b1728!important;
  border-bottom:1px solid rgba(255,255,255,.12)!important;
  color:var(--c-dark-text)!important;
}
body.force-dark .panel,
body.force-dark .tile,
body.force-dark .modal,
body.force-dark .footer-card,
body.force-dark .ticket-card,
body.force-dark .staff-card,
body.force-dark .file-card,
body.force-dark .pv2-card,
body.force-dark .pv2-kpi,
body.force-dark .pv2-page,
body.force-dark .chat-message,
body.force-dark .login-card{
  background:linear-gradient(145deg,#172b44,#0d1b2e)!important;
  color:var(--c-dark-text)!important;
  border:1px solid var(--c-dark-border)!important;
  box-shadow:0 18px 40px rgba(0,0,0,.22)!important;
}
body.force-dark h1,body.force-dark h2,body.force-dark h3,body.force-dark h4,
body.force-dark label,body.force-dark p,body.force-dark span,body.force-dark div,
body.force-dark small,body.force-dark b,body.force-dark strong,body.force-dark em,
body.force-dark th,body.force-dark td{
  color:var(--c-dark-text)!important;
}
body.force-dark .brand-sub,
body.force-dark .menu-group,
body.force-dark small,
body.force-dark .empty-hour,
body.force-dark .pv2-header p,
body.force-dark .pv2-card p,
body.force-dark .pv2-card small,
body.force-dark .pv2-kpi-body small,
body.force-dark .pv2-card-title span{
  color:var(--c-dark-muted)!important;
}
body.force-dark input,
body.force-dark select,
body.force-dark textarea,
body.force-dark #chatMessage{
  background:#071426!important;
  color:var(--c-dark-text)!important;
  border:1px solid rgba(255,255,255,.16)!important;
  box-shadow:none!important;
}
body.force-dark input::placeholder,
body.force-dark textarea::placeholder{color:#879bb4!important;}

/* Koyu temada beyaz kalan tüm okuma/yazma alanları */
body.force-dark #chatBox,
body.force-dark .chat-box,
body.force-dark .hour-session-grid,
body.force-dark .hour-cell,
body.force-dark .weekdays div,
body.force-dark .day,
body.force-dark table,
body.force-dark .table,
body.force-dark thead,
body.force-dark tbody,
body.force-dark tr,
body.force-dark th,
body.force-dark td,
body.force-dark .pv2-table,
body.force-dark .pv2-table th,
body.force-dark .pv2-table td,
body.force-dark .pv2-heat-cell,
body.force-dark .pv2-rank-row,
body.force-dark .pv2-line-chart,
body.force-dark .pv2-donut-list div{
  background:rgba(15,29,47,.96)!important;
  color:var(--c-dark-text)!important;
  border-color:rgba(255,255,255,.13)!important;
}
body.force-dark .hour-cell{
  background:linear-gradient(145deg,#172b44,#0d1b2e)!important;
}
body.force-dark .hour-title,
body.force-dark .day-number,
body.force-dark .calendar-title{color:#fff!important;}
body.force-dark .session-mini-card{border-color:rgba(255,255,255,.14)!important;}
body.force-dark .session-mini-card.waiting{background:rgba(241,196,15,.16)!important;color:#ffeaa0!important;border-color:rgba(241,196,15,.45)!important;}
body.force-dark .session-mini-card.done{background:rgba(34,197,94,.16)!important;color:#8ff0b0!important;border-color:rgba(34,197,94,.45)!important;}
body.force-dark .session-mini-card.cancelled{background:rgba(239,68,68,.16)!important;color:#ffc1c1!important;border-color:rgba(239,68,68,.45)!important;}
body.force-dark .chat-message.admin,
body.force-dark .chat-message.mine,
body.force-dark .chat-message.secretary{
  background:#0b1728!important;
  color:var(--c-dark-text)!important;
  border-color:rgba(255,255,255,.13)!important;
}
body.force-dark .notice{
  background:rgba(35,198,159,.12)!important;
  color:#5df0c4!important;
  border-color:rgba(35,198,159,.35)!important;
}
body.force-dark .pv2-controls select,
body.force-dark .pv2-controls button{
  background:#071426!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.15)!important;
}
body.force-dark .pv2-controls button.active,
body.force-dark button:not(.light),
body.force-dark .btn:not(.light){
  background:var(--c-accent)!important;
  color:#062015!important;
  border-color:var(--c-accent)!important;
}
body.force-dark button.danger{background:#e34a55!important;color:#fff!important;border-color:#e34a55!important;}
body.force-dark button.light{background:#071426!important;color:#fff!important;border-color:rgba(255,255,255,.16)!important;}

/* Açık tema */
body.force-light,
body.force-light #app,
body.force-light .main,
body.force-light .content{
  background:var(--c-light-bg)!important;
  color:var(--c-light-text)!important;
}
body.force-light .topbar,
body.force-light .panel,
body.force-light .tile,
body.force-light .modal,
body.force-light .footer-card,
body.force-light .ticket-card,
body.force-light .staff-card,
body.force-light .file-card,
body.force-light .pv2-card,
body.force-light .pv2-kpi,
body.force-light .pv2-page,
body.force-light #chatBox,
body.force-light .chat-box,
body.force-light .hour-session-grid,
body.force-light .hour-cell,
body.force-light .weekdays div,
body.force-light .day,
body.force-light table,
body.force-light .table,
body.force-light thead,
body.force-light tbody,
body.force-light tr,
body.force-light th,
body.force-light td,
body.force-light .pv2-table,
body.force-light .pv2-table th,
body.force-light .pv2-table td,
body.force-light .pv2-heat-cell,
body.force-light .pv2-rank-row{
  background:var(--c-light-panel)!important;
  color:var(--c-light-text)!important;
  border-color:var(--c-light-border)!important;
  box-shadow:0 12px 35px rgba(15,23,42,.07)!important;
}
body.force-light h1,body.force-light h2,body.force-light h3,body.force-light h4,
body.force-light label,body.force-light p,body.force-light span,body.force-light div,
body.force-light small,body.force-light b,body.force-light strong,body.force-light em,
body.force-light th,body.force-light td{
  color:var(--c-light-text)!important;
  text-shadow:none!important;
}
body.force-light .brand-sub,
body.force-light .menu-group,
body.force-light small,
body.force-light .empty-hour,
body.force-light .pv2-header p,
body.force-light .pv2-card p,
body.force-light .pv2-card small,
body.force-light .pv2-kpi-body small,
body.force-light .pv2-card-title span{
  color:var(--c-light-muted)!important;
}
body.force-light input,
body.force-light select,
body.force-light textarea,
body.force-light #chatMessage{
  background:#fff!important;
  color:var(--c-light-text)!important;
  border:1px solid #cbd8e6!important;
  box-shadow:none!important;
}
body.force-light input::placeholder,
body.force-light textarea::placeholder{color:#64748b!important;}
body.force-light .notice{background:#dcfce7!important;color:#166534!important;border-color:#86efac!important;}
body.force-light button:not(.light),
body.force-light .btn:not(.light){background:var(--c-accent)!important;color:#fff!important;border-color:var(--c-accent)!important;}
body.force-light button.danger{background:#e34a55!important;color:#fff!important;border-color:#e34a55!important;}
body.force-light button.light{background:#fff!important;color:var(--c-light-text)!important;border-color:#cbd8e6!important;}

/* Açık temada sol menü okunabilir */
body.force-light .sidebar{
  background:linear-gradient(180deg,#ffffff,#f4f8fd)!important;
  border-right:1px solid #d7e3ef!important;
  box-shadow:8px 0 25px rgba(15,23,42,.06)!important;
}
body.force-light .sidebar,
body.force-light .sidebar *{color:#17314b!important;}
body.force-light .brand{border-bottom-color:#d7e3ef!important;}
body.force-light .brand-title{color:#0f2338!important;}
body.force-light .menu-group{color:#71839a!important;}
body.force-light .menu-item{color:#193754!important;}
body.force-light .menu-item:hover,
body.force-light .menu-item.active{
  background:#23c69f!important;
  color:#ffffff!important;
  border-left-color:#0a8f73!important;
}
body.force-light .menu-item:hover *,
body.force-light .menu-item.active *{color:#ffffff!important;}
body.force-light .branch-select-wrap select{background:#fff!important;color:#17314b!important;}

/* Koyu temada sidebar sabit güzel */
body.force-dark .sidebar{
  background:linear-gradient(180deg,#101c2e,#07111f)!important;
  border-right:1px solid rgba(255,255,255,.09)!important;
}
body.force-dark .menu-item:hover,
body.force-dark .menu-item.active{background:rgba(35,198,159,.14)!important;border-left-color:var(--c-accent)!important;}

/* Tema düğmesi */
.theme-switcher{
  border-radius:999px!important;
  min-width:70px!important;
  background:#23c69f!important;
  color:#fff!important;
  border:0!important;
  box-shadow:0 10px 22px rgba(0,0,0,.16)!important;
}
body.force-light .theme-switcher{background:#fff!important;color:#0f2338!important;border:1px solid #d7e3ef!important;}

/* Yönetici ayarları sadeleştirme */
.theme-preview-grid,.theme-chip{display:none!important;}
/* === END CENGIZ FINAL DARK/LIGHT THEME FULL FIX === */

/* === FINAL VISIBLE LOGO FIX === */
.brand{
  min-height:92px!important;
  padding:16px 18px!important;
  align-items:center!important;
  gap:10px!important;
}
.brand-image{
  width:172px!important;
  max-width:172px!important;
  height:auto!important;
  min-height:48px!important;
  display:block!important;
  object-fit:contain!important;
  flex:0 0 172px!important;
  opacity:1!important;
  visibility:visible!important;
  filter:none!important;
}
.brand > div:not(:first-child){
  display:none!important;
}
.sidebar .brand img.brand-image{
  content:url('logo-yapaysistem.svg?v=logo20260523');
}
.login-logo-img{
  max-width:320px!important;
  filter:none!important;
}
@media(max-width:900px){
  .brand-image{width:150px!important;max-width:150px!important;flex-basis:150px!important;}
}
/* === END FINAL VISIBLE LOGO FIX === */

/* LOGO OKUNURLUK VE KULLANICI BİLGİSİ FIX */
.sidebar .brand{
  padding:18px 14px 20px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:10px!important;
}
.sidebar .brand img.brand-image,
.brand-image{
  width:172px!important;
  max-width:172px!important;
  height:auto!important;
  flex:0 0 auto!important;
  object-fit:contain!important;
  display:block!important;
}
.brand-user{
  width:100%;
  padding:9px 10px;
  border-radius:14px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.10);
  line-height:1.25;
}
.brand-user-title{
  color:#39d5ac!important;
  font-size:11px!important;
  font-weight:800!important;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.brand-user-name{
  color:#f4f8ff!important;
  font-size:13px!important;
  font-weight:800!important;
  margin-top:2px;
}
.brand-user-branch{
  color:#a9bfd4!important;
  font-size:11px!important;
  margin-top:2px;
}
body.force-light .brand-user,
body.light-theme .brand-user{
  background:#ffffff!important;
  border-color:#dbe6ef!important;
  box-shadow:0 8px 20px rgba(15,35,56,.08)!important;
}
body.force-light .brand-user-name,
body.light-theme .brand-user-name{
  color:#0f2338!important;
}
body.force-light .brand-user-branch,
body.light-theme .brand-user-branch{
  color:#60748a!important;
}
@media(max-width:900px){
  .sidebar .brand img.brand-image,.brand-image{width:148px!important;max-width:148px!important;}
}

/* === SIDEBAR LOGO + PERSONEL FINAL FIX === */
.sidebar .brand.sidebar-brand-final,
.sidebar-brand-final{
  padding:18px 14px 18px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:14px!important;
  min-height:auto!important;
}
.sidebar .brand.sidebar-brand-final > div,
.sidebar-brand-final > div{
  display:flex!important;
}
.sidebar-logo-final{
  width:100%!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  text-align:center!important;
  gap:0!important;
}
.sidebar-logo-icon{
  width:82px!important;
  max-width:82px!important;
  height:auto!important;
  display:block!important;
  object-fit:contain!important;
  margin:0 auto 8px!important;
  opacity:1!important;
  visibility:visible!important;
  filter:none!important;
}
.sidebar-logo-title{
  width:100%!important;
  display:block!important;
  color:#f7fbff!important;
  font-size:25px!important;
  font-weight:900!important;
  line-height:1.05!important;
  letter-spacing:-.02em!important;
  white-space:nowrap!important;
}
.sidebar-logo-title span{
  color:#17d794!important;
}
.sidebar-logo-sub{
  width:100%!important;
  display:block!important;
  margin-top:7px!important;
  color:#d6e2f1!important;
  font-size:10px!important;
  font-weight:800!important;
  letter-spacing:2.1px!important;
  line-height:1.1!important;
  white-space:nowrap!important;
}
.brand-user-final{
  width:100%!important;
  padding:12px 10px!important;
  border-radius:16px!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:12px!important;
  background:rgba(10,27,45,.72)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.16)!important;
  box-sizing:border-box!important;
}
.brand-avatar{
  flex:0 0 46px!important;
  width:46px!important;
  height:46px!important;
  border-radius:999px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:linear-gradient(135deg,#16c784,#19d6a0)!important;
  color:#fff!important;
  font-size:16px!important;
  font-weight:900!important;
  letter-spacing:.02em!important;
}
.brand-user-text{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  line-height:1.22!important;
}
.brand-user-final .brand-user-name{
  color:#ffffff!important;
  font-size:14px!important;
  font-weight:900!important;
  margin:0 0 4px!important;
  text-transform:none!important;
}
.brand-user-final .brand-user-title{
  color:#17d794!important;
  font-size:11px!important;
  font-weight:800!important;
  letter-spacing:0!important;
  text-transform:none!important;
  margin:0!important;
}
.brand-user-final .brand-user-branch{
  color:#9db2ca!important;
  font-size:10.5px!important;
  margin-top:3px!important;
}
body.force-light .sidebar-logo-title,
body.light-theme .sidebar-logo-title{
  color:#15243a!important;
}
body.force-light .sidebar-logo-title span,
body.light-theme .sidebar-logo-title span{
  color:#14bd82!important;
}
body.force-light .sidebar-logo-sub,
body.light-theme .sidebar-logo-sub{
  color:#1f3150!important;
}
body.force-light .brand-user-final,
body.light-theme .brand-user-final{
  background:#ffffff!important;
  border-color:#e2e8f0!important;
  box-shadow:0 10px 24px rgba(15,35,56,.08)!important;
}
body.force-light .brand-user-final .brand-user-name,
body.light-theme .brand-user-final .brand-user-name{
  color:#0f1f35!important;
}
body.force-light .brand-user-final .brand-user-title,
body.light-theme .brand-user-final .brand-user-title{
  color:#12a875!important;
}
body.force-light .brand-user-final .brand-user-branch,
body.light-theme .brand-user-final .brand-user-branch{
  color:#60748a!important;
}
@media(max-width:900px){
  .sidebar-logo-icon{width:74px!important;max-width:74px!important;}
  .sidebar-logo-title{font-size:22px!important;}
}
/* === END SIDEBAR LOGO + PERSONEL FINAL FIX === */


/* FINAL LOGO FIX - Yapay green, Sistem theme-aware, image visible */
.sidebar-logo-final{
  width:100%!important;display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;
}
.sidebar-logo-icon{
  width:86px!important;max-width:86px!important;height:auto!important;display:block!important;object-fit:contain!important;margin:0 auto 8px!important;opacity:1!important;visibility:visible!important;filter:none!important;
}
.sidebar-logo-title{
  width:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;font-size:25px!important;font-weight:900!important;line-height:1.05!important;letter-spacing:-.02em!important;white-space:nowrap!important;color:#ffffff!important;
}
.sidebar-logo-title span{color:#26B99A!important;font-weight:900!important;}
.sidebar-logo-title b{color:#ffffff!important;font-weight:900!important;}
body.light-theme .sidebar-logo-title b,
body.force-light .sidebar-logo-title b,
body.light .sidebar-logo-title b{color:#101828!important;}
body.light-theme .sidebar-logo-title,
body.force-light .sidebar-logo-title,
body.light .sidebar-logo-title{color:#101828!important;}
body.light-theme .sidebar-logo-title span,
body.force-light .sidebar-logo-title span,
body.light .sidebar-logo-title span{color:#26B99A!important;}



/* Yapay turkuaz - Sistem beyaz */
.sidebar-logo-title{
    color:#ffffff !important;
}
.sidebar-logo-title .yapay-text{
    color:#16d7e6 !important;
}
body.light-theme .sidebar-logo-title{
    color:#111111 !important;
}
body.light-theme .sidebar-logo-title .yapay-text{
    color:#16b8c5 !important;
}


/* FINAL LOGO TEXT FIX: Yapay icon turkuaz, Sistem theme-sensitive */
.sidebar-logo-title span{
  color:#16d7e6 !important;
}
.sidebar-logo-title b{
  color:#ffffff !important;
}
body.light-theme .sidebar-logo-title b{
  color:#111111 !important;
}


/* FORCE TURKUAZ YAPAY */
.sidebar-logo-title{
    color:#ffffff !important;
}
.sidebar-logo-title span,
.sidebar-logo-title span.yapay-text{
    color:#19d7e8 !important;
    background:none !important;
    -webkit-text-fill-color:#19d7e8 !important;
}
.sidebar-logo-title b{
    color:#ffffff !important;
}
body.light-theme .sidebar-logo-title b{
    color:#111111 !important;
}


/* === Ticket + Chat refinements === */
.chat-type-switch{
  display:flex;
  gap:8px;
  margin-bottom:10px;
}
.chat-type-btn{
  background:#26B99A !important;
  border:1px solid #169F85 !important;
  color:#06141f !important;
  font-weight:800 !important;
  border-radius:6px !important;
  box-shadow:0 8px 18px rgba(38,185,154,.16);
}
.chat-type-btn.active{
  opacity:1 !important;
  transform:translateY(-1px);
  box-shadow:0 0 0 2px rgba(38,185,154,.28), 0 10px 22px rgba(38,185,154,.20);
}
.chat-type-btn:not(.active){
  opacity:.82 !important;
}
.chat-type-btn.important-active{
  border:2px solid #ff4d5e !important;
  box-shadow:0 0 0 3px rgba(255,77,94,.18), 0 10px 22px rgba(255,77,94,.16);
}
.chat-message.important{
  border:2px solid #ff4d5e !important;
  box-shadow:0 0 0 3px rgba(255,77,94,.10), 0 10px 24px rgba(0,0,0,.12);
}


/* === Önemli mesaj kırmızı premium görünüm === */

.chat-type-btn.important-choice{
  background:linear-gradient(135deg,#d94b5c,#b92d3f) !important;
  border:1px solid #a61f34 !important;
  color:#fff !important;
}

.chat-type-btn.important-choice.active,
.chat-type-btn.important-active{
  background:linear-gradient(135deg,#ef5b6d,#c92f45) !important;
  border:2px solid #ff9aa5 !important;
  color:#fff !important;
  box-shadow:
    0 0 0 3px rgba(255,77,94,.18),
    0 10px 26px rgba(201,47,69,.28) !important;
}

.chat-message.important{
  background:linear-gradient(135deg,#4a1820,#611c28) !important;
  border:1px solid #ff6b7d !important;
  color:#fff !important;
  box-shadow:
    0 0 0 2px rgba(255,107,125,.12),
    0 12px 28px rgba(0,0,0,.22) !important;
}

.chat-message.important .chat-message-head span{
  background:rgba(255,255,255,.12) !important;
  color:#ffd7dc !important;
}

.chat-message.important .chat-message-type{
  color:#ffb8c2 !important;
  font-weight:700 !important;
}

.chat-message.important .chat-message-body{
  color:#fff !important;
}


/* === Chat button typography fix === */

.chat-type-btn{
  font-weight:600 !important;
  letter-spacing:0 !important;
}

.chat-type-btn.important-choice{
  background:linear-gradient(135deg,#d75464,#bf3b4d) !important;
  border:1px solid #aa2d3f !important;
  color:#fff !important;
}

.chat-type-btn.important-choice:not(.active){
  opacity:1 !important;
}

.chat-type-btn.active{
  transform:translateY(-1px);
}


/* === FINAL IMPORTANT BUTTON FIX === */

.chat-type-btn{
  font-weight:500 !important;
}

#importantMsgBtn,
.chat-type-btn.important-choice{
  background:linear-gradient(135deg,#d75464,#bf3b4d) !important;
  border:1px solid #aa2d3f !important;
  color:#fff !important;
  opacity:1 !important;
}

#importantMsgBtn:hover,
.chat-type-btn.important-choice:hover{
  background:linear-gradient(135deg,#e05e6f,#c9394c) !important;
}

#importantMsgBtn.active,
.chat-type-btn.important-active{
  background:linear-gradient(135deg,#ef6677,#cf3a50) !important;
  border:2px solid #ffb2bb !important;
  color:#fff !important;
  opacity:1 !important;
}


/* === Çoklu kişi seçimi: SMS / WhatsApp === */
.patient-message-picker{position:relative;margin:10px 0 12px}
.patient-search-results{
  margin-top:6px;
  border:1px solid var(--border);
  border-radius:12px;
  overflow:hidden;
  background:var(--card);
  box-shadow:0 12px 28px rgba(0,0,0,.16);
}
.patient-search-item{
  padding:10px 12px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  cursor:pointer;
  border-bottom:1px solid var(--border);
}
.patient-search-item:last-child{border-bottom:0}
.patient-search-item:hover{background:rgba(38,185,154,.10)}
.patient-search-item b{font-weight:600}
.patient-search-item span{font-size:12px;opacity:.72}
.patient-chip-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.patient-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 9px;
  border-radius:999px;
  background:rgba(38,185,154,.12);
  border:1px solid rgba(38,185,154,.32);
  color:var(--text);
  font-size:13px;
}
.patient-chip small{opacity:.7}
.patient-chip button{
  width:20px;height:20px;
  padding:0!important;
  border-radius:50%!important;
  display:inline-grid;
  place-items:center;
  background:rgba(231,76,60,.12)!important;
  color:#e74c3c!important;
  border:1px solid rgba(231,76,60,.22)!important;
  line-height:1;
}
.notice.compact{padding:8px 10px;margin-top:6px;font-size:12px}


/* === Paket bilgi baloncukları === */

.package-info-box{
  margin:14px 0 18px;
  padding:16px;
  border-radius:18px;
  background:linear-gradient(135deg,rgba(38,185,154,.12),rgba(25,215,232,.10));
  border:1px solid rgba(38,185,154,.24);
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.package-badge{
  display:inline-flex;
  align-items:center;
  padding:8px 14px;
  border-radius:999px;
  font-size:14px;
  font-weight:700;
  margin-bottom:12px;
}

.package-badge.premium{
  background:linear-gradient(135deg,#19d7e8,#26B99A);
  color:#06202a;
}

.package-feature-list{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:10px;
}

.package-feature-list div{
  padding:10px 12px;
  border-radius:12px;
  background:rgba(255,255,255,.55);
  border:1px solid rgba(255,255,255,.45);
  font-size:13px;
  font-weight:500;
}

body.dark-theme .package-feature-list div{
  background:rgba(17,24,39,.72);
  border-color:rgba(255,255,255,.06);
  color:#fff;
}


/* === Destek sayfası 3 paket bölümü === */
.support-packages-section{
  margin-top:18px;
  padding:18px;
  border-radius:20px;
  background:var(--card);
  border:1px solid var(--border);
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}
.support-packages-section .panel-title p{
  margin:4px 0 0;
  font-size:13px;
  opacity:.72;
}
.support-package-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:14px;
}
.support-package-card{
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(38,185,154,.20);
  background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.72));
  box-shadow:0 8px 22px rgba(0,0,0,.06);
}
.support-package-card.featured{
  border-color:rgba(25,215,232,.42);
  box-shadow:0 10px 28px rgba(25,215,232,.13);
}
.support-package-card h3{
  margin:4px 0 12px;
  font-size:17px;
}
.package-badge.basic{
  background:#eef2ff;
  color:#334155;
}
.package-badge.pro{
  background:linear-gradient(135deg,#19d7e8,#26B99A);
  color:#06202a;
}
.support-package-card .package-feature-list{
  grid-template-columns:1fr;
}
@media(max-width:900px){
  .support-package-grid{grid-template-columns:1fr}
}
body.force-dark .support-packages-section,
body.dark-theme .support-packages-section{
  background:rgba(15,23,42,.78);
}
body.force-dark .support-package-card,
body.dark-theme .support-package-card{
  background:linear-gradient(180deg,rgba(17,24,39,.92),rgba(17,24,39,.72));
  color:#fff;
  border-color:rgba(255,255,255,.08);
}


/* === API paket kart düzeltmeleri === */
.support-package-card .package-badge.basic{
  background:#f2f6ff !important;
  color:#14213d !important;
  border:1px solid rgba(255,255,255,.75);
}
body.force-dark .support-package-card .package-badge.basic,
body.dark-theme .support-package-card .package-badge.basic{
  background:#e8eefc !important;
  color:#111827 !important;
}
.support-package-card h3{
  color:inherit !important;
  line-height:1.35;
}
.support-package-grid{
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr)) !important;
}


/* === Paket modül sıralama + pakete özel modül rengi === */
.support-package-card .package-feature-list div{
  position:relative;
}
.support-package-card .package-feature-list div.new-package-feature{
  background:linear-gradient(135deg, rgba(25,215,232,.18), rgba(38,185,154,.14)) !important;
  border-color:rgba(25,215,232,.42) !important;
  box-shadow:0 8px 18px rgba(25,215,232,.10);
}
.support-package-card .package-feature-list div.new-package-feature small{
  display:inline-flex;
  margin-left:8px;
  padding:2px 7px;
  border-radius:999px;
  background:rgba(25,215,232,.22);
  color:#0f7780;
  font-size:10px;
  font-weight:700;
}
body.force-dark .support-package-card .package-feature-list div.new-package-feature,
body.dark-theme .support-package-card .package-feature-list div.new-package-feature{
  background:linear-gradient(135deg, rgba(25,215,232,.20), rgba(38,185,154,.16)) !important;
  border-color:rgba(25,215,232,.34) !important;
}
body.force-dark .support-package-card .package-feature-list div.new-package-feature small,
body.dark-theme .support-package-card .package-feature-list div.new-package-feature small{
  background:rgba(25,215,232,.18);
  color:#9df7ff;
}


/* Paket fiyatı en altta */
.support-package-price{
  margin-top:14px;
  padding:10px 13px;
  border-radius:14px;
  background:linear-gradient(135deg,#19d7e8,#26B99A);
  color:#06202a;
  font-size:15px;
  font-weight:800;
  text-align:center;
  box-shadow:0 10px 22px rgba(25,215,232,.16);
}
.support-package-price.empty{
  background:rgba(148,163,184,.14);
  color:#64748b;
  font-weight:600;
  box-shadow:none;
}
body.force-dark .support-package-price.empty,
body.dark-theme .support-package-price.empty{
  color:#cbd5e1;
  background:rgba(148,163,184,.12);
}


/* Paket fiyat görünümü yumuşatıldı */
.support-package-price{
  font-weight:600 !important;
  letter-spacing:0 !important;
  font-size:14px !important;
}


/* === Paket modül kutuları modern görünüm === */
.support-package-card .package-feature-list div{
  background:linear-gradient(135deg,rgba(255,255,255,.10),rgba(255,255,255,.055)) !important;
  border:1px solid rgba(255,255,255,.12) !important;
  color:#eaf6ff !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08), 0 8px 18px rgba(0,0,0,.10);
}

.support-package-card .package-feature-list div.new-package-feature{
  background:linear-gradient(135deg,rgba(25,215,232,.22),rgba(38,185,154,.16)) !important;
  border:1px solid rgba(25,215,232,.42) !important;
  color:#f4feff !important;
  box-shadow:0 0 0 1px rgba(25,215,232,.08), 0 10px 22px rgba(25,215,232,.12);
}

.support-package-card .package-feature-list div.new-package-feature small{
  background:rgba(25,215,232,.18) !important;
  color:#9df7ff !important;
  font-weight:500 !important;
}

body.force-light .support-package-card .package-feature-list div,
body.light-theme .support-package-card .package-feature-list div{
  background:linear-gradient(135deg,#f8fafc,#eef6f8) !important;
  border:1px solid #dbe8ed !important;
  color:#1f2937 !important;
}

body.force-light .support-package-card .package-feature-list div.new-package-feature,
body.light-theme .support-package-card .package-feature-list div.new-package-feature{
  background:linear-gradient(135deg,#dffcff,#e7fff5) !important;
  border-color:#7be3ee !important;
  color:#0f3f46 !important;
}


/* === Yıllık kampanya alanı === */
.annual-campaign-banner{
  margin-top:18px;
  padding:18px 20px;
  border-radius:22px;
  background:linear-gradient(135deg,rgba(25,215,232,.16),rgba(38,185,154,.12));
  border:1px solid rgba(25,215,232,.28);
  display:flex;
  align-items:center;
  gap:16px;
  box-shadow:0 14px 32px rgba(25,215,232,.10);
}

.annual-campaign-icon{
  width:58px;
  height:58px;
  border-radius:18px;
  display:grid;
  place-items:center;
  font-size:28px;
  background:linear-gradient(135deg,#19d7e8,#26B99A);
  box-shadow:0 10px 22px rgba(25,215,232,.18);
}

.annual-campaign-content{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.annual-campaign-content b{
  font-size:16px;
  font-weight:700;
  color:#f8ffff;
}

.annual-campaign-content span{
  font-size:13px;
  opacity:.82;
  color:#d8f9ff;
}

body.force-light .annual-campaign-banner,
body.light-theme .annual-campaign-banner{
  background:linear-gradient(135deg,#ebffff,#effff9);
}

body.force-light .annual-campaign-content b,
body.light-theme .annual-campaign-content b{
  color:#0f172a;
}

body.force-light .annual-campaign-content span,
body.light-theme .annual-campaign-content span{
  color:#334155;
}


/* Kampanya yazı görünürlük fix */
.annual-campaign-banner *{
  color:#ffffff !important;
}

.annual-campaign-content b{
  color:#ffffff !important;
  text-shadow:0 1px 2px rgba(0,0,0,.25);
}

.annual-campaign-content span{
  color:rgba(255,255,255,.88) !important;
}

body.force-light .annual-campaign-banner *,
body.light-theme .annual-campaign-banner *{
  color:#0f172a !important;
}

body.force-light .annual-campaign-content span,
body.light-theme .annual-campaign-content span{
  color:#334155 !important;
}


/* FINAL annual banner */
.annual-campaign-banner{
  width:100%;
  margin-top:24px;
  padding:18px 22px;
  border-radius:24px;
  display:flex;
  align-items:center;
  gap:18px;
  background:linear-gradient(135deg,#19d7e8,#26B99A);
  border:1px solid rgba(255,255,255,.12);
}

.annual-campaign-icon{
  min-width:64px;
  width:64px;
  height:64px;
  border-radius:20px;
  background:rgba(255,255,255,.18);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:30px;
}

.annual-campaign-content{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.annual-title{
  color:#fff !important;
  font-size:18px;
  font-weight:700;
  line-height:1.3;
}

.annual-subtitle{
  color:rgba(255,255,255,.92) !important;
  font-size:13px;
  line-height:1.5;
}

body.force-light .annual-title,
body.light-theme .annual-title{
  color:#0f172a !important;
}

body.force-light .annual-subtitle,
body.light-theme .annual-subtitle{
  color:#334155 !important;
}

/* === WhatsApp randevu hatırlatma premium panel === */
.whatsapp-reminder-panel{
  border:1px solid rgba(25,215,232,.26) !important;
  background:linear-gradient(135deg,rgba(25,215,232,.10),rgba(38,185,154,.06)) !important;
}
.reminder-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:10px;
  margin:12px 0 14px;
}
.inline-check{
  display:flex !important;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  font-size:13px;
}
.inline-check input{
  width:auto !important;
  margin:0 !important;
}
.small-title{
  margin-top:14px;
}
.mini-log-list{
  display:grid;
  gap:8px;
}

/* Hatırlatma paneli sıralama sonrası görünüm */
.whatsapp-reminder-panel .panel-title p{
  margin:4px 0 0;
  opacity:.78;
}

.quick-reply-preview{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:12px 0;
}
.quick-reply-preview span{
  padding:10px 14px;
  border-radius:999px;
  background:linear-gradient(135deg,rgba(25,215,232,.16),rgba(38,185,154,.12));
  border:1px solid rgba(25,215,232,.28);
  font-weight:600;
}


/* AI Sekreter paneli */
.ai-secretary-panel{
  margin-top:18px;
  border:1px solid rgba(255,255,255,.08);
}

.ai-suggestion-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:14px;
}

.ai-suggestion-card{
  border-radius:20px;
  padding:16px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
}

.ai-suggestion-card.warning{
  background:linear-gradient(135deg,rgba(245,158,11,.16),rgba(245,158,11,.08));
  border-color:rgba(245,158,11,.22);
}

.ai-suggestion-card.finance{
  background:linear-gradient(135deg,rgba(25,215,232,.16),rgba(25,215,232,.08));
  border-color:rgba(25,215,232,.24);
}

.ai-suggestion-card.danger{
  background:linear-gradient(135deg,rgba(239,68,68,.16),rgba(239,68,68,.08));
  border-color:rgba(239,68,68,.24);
}

.ai-suggestion-card.info{
  background:linear-gradient(135deg,rgba(16,185,129,.16),rgba(16,185,129,.08));
  border-color:rgba(16,185,129,.24);
}

.ai-suggestion-top{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}

.ai-suggestion-top b{
  font-size:14px;
}

.ai-suggestion-top span{
  font-size:11px;
  opacity:.75;
}

.ai-suggestion-card p{
  margin:0;
  line-height:1.55;
  font-size:13px;
}


/* Borç / bekleyen ödeme sistemi */
.debt-badge{
  display:inline-flex;
  align-items:center;
  padding:4px 9px;
  border-radius:999px;
  background:rgba(245,158,11,.16);
  color:#f59e0b;
  border:1px solid rgba(245,158,11,.28);
  font-weight:600;
  font-size:12px;
}
.secretary-debt-panel{
  margin-top:18px;
  border:1px solid rgba(245,158,11,.18);
  background:linear-gradient(135deg,rgba(245,158,11,.10),rgba(255,255,255,.03));
}
.debt-list{
  display:grid;
  gap:10px;
}
.debt-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px;
  border-radius:16px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.08);
}
.debt-row div{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.debt-row span{
  font-size:12px;
  opacity:.72;
}
.debt-row strong{
  color:#f59e0b;
  white-space:nowrap;
  font-weight:700;
}
body.force-light .debt-row,
body.light-theme .debt-row{
  background:#fffaf0;
  border-color:#fde68a;
}


/* AI WhatsApp sekreter */
.ai-wa-secretary-card{
  margin-top:18px;
  border:1px solid rgba(25,215,232,.20);
  background:linear-gradient(135deg,rgba(25,215,232,.10),rgba(38,185,154,.06));
}

.ai-wa-example-list{
  display:grid;
  gap:12px;
}

.ai-wa-example{
  padding:14px;
  border-radius:18px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  display:flex;
  flex-direction:column;
  gap:6px;
}

.ai-wa-example.reply{
  border-color:rgba(25,215,232,.26);
  background:linear-gradient(135deg,rgba(25,215,232,.12),rgba(38,185,154,.08));
}

.ai-wa-example b{
  font-size:13px;
}

.ai-wa-example span{
  font-size:13px;
  line-height:1.55;
  opacity:.9;
}


/* AI Analizler bölümü */
.ai-analysis-panel{
  border:1px solid rgba(25,215,232,.18);
  background:linear-gradient(135deg,rgba(25,215,232,.08),rgba(255,255,255,.03));
}

.ai-analysis-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:14px;
  margin-bottom:18px;
}

.ai-analysis-box{
  border-radius:22px;
  padding:18px;
  display:flex;
  gap:14px;
  align-items:flex-start;
  border:1px solid rgba(255,255,255,.08);
}

.ai-analysis-box.danger{
  background:linear-gradient(135deg,rgba(239,68,68,.16),rgba(239,68,68,.08));
  border-color:rgba(239,68,68,.20);
}

.ai-analysis-box.warning{
  background:linear-gradient(135deg,rgba(245,158,11,.16),rgba(245,158,11,.08));
  border-color:rgba(245,158,11,.22);
}

.ai-analysis-box.info{
  background:linear-gradient(135deg,rgba(25,215,232,.16),rgba(25,215,232,.08));
  border-color:rgba(25,215,232,.22);
}

.ai-analysis-icon{
  width:52px;
  height:52px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  background:rgba(255,255,255,.12);
}

.ai-analysis-box b{
  display:block;
  margin-bottom:6px;
  font-size:14px;
}

.ai-analysis-box span{
  font-size:13px;
  line-height:1.55;
  opacity:.82;
}

/* Sekreter Yetkilendirme */
.secretary-permission-panel{
  border:1px solid rgba(25,215,232,.18);
}
.secretary-permission-layout{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:16px;
  margin-top:14px;
}
.permission-groups{
  display:grid;
  gap:10px;
}
.permission-groups button{
  width:100%;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  color:inherit;
  border-radius:16px;
  padding:14px;
  text-align:left;
  display:grid;
  grid-template-columns:32px 1fr;
  gap:3px 10px;
  align-items:center;
  cursor:pointer;
}
.permission-groups button.active{
  border-color:rgba(25,215,232,.35);
  background:linear-gradient(135deg,rgba(25,215,232,.16),rgba(38,185,154,.10));
}
.permission-groups button span{
  grid-row:span 2;
  width:32px;
  height:32px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.08);
}
.permission-groups button small{
  opacity:.7;
}
.permission-detail{
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  overflow:hidden;
  background:rgba(255,255,255,.025);
}
.permission-detail-head{
  padding:16px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.permission-detail-head h3,.permission-detail-head p{
  margin:0;
}
.permission-detail-head p{
  margin-top:5px;
  opacity:.72;
}
.permission-table{
  display:grid;
}
.permission-row{
  display:grid;
  grid-template-columns:1fr 150px 180px;
  align-items:center;
  gap:14px;
  padding:14px 16px;
  border-bottom:1px solid rgba(255,255,255,.07);
}
.permission-row:last-child{
  border-bottom:0;
}
.permission-row div{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.permission-row span{
  font-size:12px;
  opacity:.72;
  line-height:1.45;
}
.perm-switch{
  display:flex;
  align-items:center;
  gap:8px;
}
.perm-switch input{
  display:none;
}
.perm-switch i{
  width:44px;
  height:24px;
  border-radius:999px;
  background:#475569;
  position:relative;
}
.perm-switch i:before{
  content:'';
  position:absolute;
  width:18px;
  height:18px;
  border-radius:50%;
  left:3px;
  top:3px;
  background:#cbd5e1;
  transition:.2s;
}
.perm-switch input:checked + i{
  background:linear-gradient(135deg,#19d7e8,#26B99A);
}
.perm-switch input:checked + i:before{
  transform:translateX(20px);
  background:#fff;
}
.perm-switch em{
  font-style:normal;
  font-size:12px;
}
.perm-edit{
  font-size:12px;
  opacity:.85;
}
.permission-summary{
  margin-top:16px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:10px;
}
.permission-summary div{
  padding:12px;
  border-radius:16px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
}
.permission-summary b,.permission-summary span{
  display:block;
}
.permission-summary span{
  margin-top:4px;
  font-size:12px;
  opacity:.72;
}
@media(max-width:900px){
  .secretary-permission-layout{grid-template-columns:1fr}
  .permission-row{grid-template-columns:1fr}
}


/* Modern Sohbet Geçmişi */
.chat-history-modern{
  overflow:hidden;
}
.chat-history-title p{
  margin:6px 0 0;
  opacity:.72;
  font-size:13px;
}
.chat-filter-bar{
  display:grid;
  grid-template-columns:repeat(5,minmax(150px,1fr));
  gap:14px;
  margin:16px 0 18px;
}
.chat-filter-bar label{
  display:flex;
  flex-direction:column;
  gap:7px;
  font-size:12px;
  color:rgba(232,243,255,.88);
}
.chat-filter-bar input,
.chat-filter-bar select{
  min-height:42px;
}
.chat-history-table-wrap{
  overflow:auto;
  border:1px solid rgba(255,255,255,.09);
  border-radius:18px;
  background:rgba(255,255,255,.025);
}
.chat-history-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  min-width:980px;
}
.chat-history-table thead th{
  position:sticky;
  top:0;
  z-index:1;
  background:linear-gradient(135deg,rgba(18,38,65,.96),rgba(12,29,51,.96));
  color:#e8f3ff;
  font-size:12px;
  letter-spacing:.02em;
  text-align:left;
  padding:16px 18px;
  border-bottom:1px solid rgba(255,255,255,.1);
}
.chat-history-table tbody td{
  padding:14px 18px;
  border-bottom:1px solid rgba(255,255,255,.07);
  vertical-align:middle;
}
.chat-history-table tbody tr:hover{
  background:rgba(25,215,232,.055);
}
.chat-history-table tbody tr:last-child td{
  border-bottom:0;
}
.row-no{
  width:44px;
  opacity:.75;
}
.chat-time{
  white-space:nowrap;
  display:flex;
  align-items:center;
  gap:8px;
}
.chat-time span{
  opacity:.65;
}
.chat-sender{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:170px;
}
.chat-sender i{
  width:30px;
  height:30px;
  border-radius:999px;
  display:grid;
  place-items:center;
  font-style:normal;
  font-size:11px;
  font-weight:800;
  color:#05251f;
  background:linear-gradient(135deg,#19d7e8,#26B99A);
}
.chat-sender b{
  font-weight:700;
}
.chat-pill{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  border:1px solid rgba(255,255,255,.08);
}
.chat-pill.role{
  color:#33e3be;
  background:rgba(38,185,154,.12);
  border-color:rgba(38,185,154,.22);
}
.chat-pill.normal{
  color:#62b7ff;
  background:rgba(59,130,246,.14);
  border-color:rgba(59,130,246,.22);
}
.chat-pill.important{
  color:#ffb4b4;
  background:rgba(239,68,68,.16);
  border-color:rgba(239,68,68,.28);
}
.chat-message-cell{
  min-width:220px;
  max-width:520px;
  white-space:normal;
  line-height:1.45;
}
.empty-row{
  text-align:center;
  padding:24px !important;
  opacity:.75;
}
.chat-history-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:14px;
  flex-wrap:wrap;
}
.chat-pagination{
  display:flex;
  align-items:center;
  gap:8px;
}
.chat-pagination button,
.chat-pagination select{
  min-height:36px;
  border-radius:10px;
}
.chat-pagination button.active{
  border-color:#26B99A;
  color:#26B99A;
  box-shadow:0 0 0 1px rgba(38,185,154,.25) inset;
}
.chat-page-gap{
  opacity:.65;
  padding:0 4px;
}
@media(max-width:1100px){
  .chat-filter-bar{grid-template-columns:repeat(2,minmax(150px,1fr));}
}
@media(max-width:700px){
  .chat-filter-bar{grid-template-columns:1fr;}
}

.compact-modern-table{
  min-width:760px;
}
.compact-modern-table thead th{
  padding:13px 15px;
}
.compact-modern-table tbody td{
  padding:12px 15px;
}


/* TABLE ALIGN FIX */
.chat-history-table td,
.chat-history-table th{
  vertical-align: middle !important;
}

.chat-time{
  display:flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
  min-height:42px;
}

.chat-time span{
  display:flex;
  align-items:center;
  justify-content:center;
  width:16px;
  height:16px;
  margin-top:0 !important;
  position:relative;
  top:0 !important;
}

.chat-sender{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:42px;
}

.chat-sender i{
  display:flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  border-radius:50%;
  font-style:normal;
  font-size:12px;
  font-weight:700;
  line-height:1;
}

.chat-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  line-height:1;
}

.chat-history-table tbody tr td{
  padding-top:14px !important;
  padding-bottom:14px !important;
}

.chat-history-table tbody tr{
  height:64px;
}

.chat-message-cell{
  vertical-align:middle !important;
  line-height:1.5;
}


/* REAL TABLE ALIGN FIX - td flex iptal */
.chat-history-table{
  border-collapse:collapse !important;
}

.chat-history-table th,
.chat-history-table td{
  display:table-cell !important;
  vertical-align:middle !important;
}

.chat-history-table tbody tr{
  height:auto !important;
}

.chat-history-table tbody td{
  padding:14px 18px !important;
  line-height:1.35 !important;
}

.chat-time{
  display:table-cell !important;
  vertical-align:middle !important;
  white-space:nowrap !important;
  min-height:0 !important;
}

.chat-time span{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:16px !important;
  height:16px !important;
  margin-right:8px !important;
  margin-top:0 !important;
  position:static !important;
  top:auto !important;
  vertical-align:middle !important;
}

.chat-sender{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  min-height:0 !important;
}

.chat-sender i{
  flex:0 0 30px !important;
  width:30px !important;
  height:30px !important;
  line-height:30px !important;
}

.chat-pill{
  vertical-align:middle !important;
}

.row-no{
  vertical-align:middle !important;
}

/* === WhatsApp sayfa sadeleştirme / üst menü === */
.whatsapp-clean-page .whatsapp-hero-clean{
  grid-column:1/-1;
}
.whatsapp-top-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:8px;
}
.whatsapp-top-menu-btn{
  border:1px solid rgba(25,215,232,.30);
  background:rgba(255,255,255,.045);
  color:var(--text);
  border-radius:7px;
  padding:10px 17px;
  min-height:38px;
  font-size:12px;
  font-weight:400 !important;
  letter-spacing:.1px;
  cursor:pointer;
  box-shadow:none;
  transition:.18s ease;
}
.whatsapp-top-menu-btn:hover,
.whatsapp-top-menu-btn.active{
  transform:translateY(-1px);
  background:rgba(25,215,232,.10);
  border-color:rgba(25,215,232,.58);
}
.whatsapp-modal-page .panel{
  margin:0 !important;
}
.whatsapp-modal-page .panel h2,
.whatsapp-top-actions .whatsapp-top-menu-btn{
  font-weight:400 !important;
}
.whatsapp-open-area{
  grid-column:1/-1;
  display:grid;
  gap:10px;
}
.whatsapp-open-area > .panel,
.whatsapp-menu-panel{
  margin:0 !important;
}
.smart-cards.compact{
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
}
.actions.right{
  justify-content:flex-end;
}
body.force-light .whatsapp-top-menu-btn,
body.light-theme .whatsapp-top-menu-btn{
  color:#0f172a;
  background:rgba(15,23,42,.04);
  border-color:rgba(15,23,42,.12);
}

/* === PERFORMANCE PAGE DARK THEME READABILITY FIX === */
body.force-dark .pv2-page{
  background:transparent!important;
  color:#f4f8ff!important;
}
body.force-dark .pv2-header h2,
body.force-dark .pv2-card-title,
body.force-dark .pv2-kpi-body strong,
body.force-dark .pv2-money,
body.force-dark .pv2-total,
body.force-dark .pv2-rank-row b,
body.force-dark .pv2-rank-row em,
body.force-dark .pv2-alert-row b{
  color:#f6fbff!important;
}
body.force-dark .pv2-kpi,
body.force-dark .pv2-card{
  background:linear-gradient(145deg,rgba(23,43,68,.94),rgba(9,22,39,.96))!important;
  border:1px solid rgba(148,163,184,.20)!important;
  box-shadow:0 16px 38px rgba(0,0,0,.24)!important;
}
body.force-dark .pv2-kpi-icon{
  background:linear-gradient(135deg,rgba(38,185,154,.22),rgba(25,215,232,.12))!important;
  color:#35f0cc!important;
  border:1px solid rgba(38,185,154,.30)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)!important;
}
body.force-dark .pv2-heat-cell{
  background:rgba(31,55,84,.82)!important;
  border:1px solid rgba(255,255,255,.04)!important;
}
body.force-dark .pv2-heat-cell.mid{
  background:linear-gradient(135deg,rgba(38,185,154,.50),rgba(25,215,232,.32))!important;
}
body.force-dark .pv2-heat-cell.high{
  background:linear-gradient(135deg,rgba(79,220,170,.90),rgba(38,185,154,.72))!important;
}
body.force-dark .pv2-heat-legend i{
  background:linear-gradient(90deg,rgba(31,55,84,.9),rgba(38,185,154,.65),rgba(79,220,170,.95))!important;
}
body.force-dark .pv2-line-chart{
  background:rgba(7,20,38,.34)!important;
  border:1px solid rgba(255,255,255,.07)!important;
  border-top:0!important;
  border-left:0!important;
  border-right:0!important;
  box-shadow:none!important;
}
body.force-dark .pv2-line-chart span{
  background:linear-gradient(180deg,#8ff0b0,#35d9b6 55%,#236dd8)!important;
}
body.force-dark .pv2-rank-row,
body.force-dark .pv2-table,
body.force-dark .pv2-table th,
body.force-dark .pv2-table td,
body.force-dark .pv2-donut-list div{
  background:transparent!important;
  color:#eaf2ff!important;
  border-color:rgba(255,255,255,.12)!important;
  box-shadow:none!important;
}
body.force-dark .pv2-bar{
  background:rgba(226,232,240,.20)!important;
}
body.force-dark .pv2-bar i{
  background:linear-gradient(90deg,#7dd3fc,#35f0cc)!important;
}
body.force-dark .pv2-donut:after{
  background:#0f2136!important;
}
body.force-dark .pv2-alert-row{
  border-bottom:1px solid rgba(255,255,255,.13)!important;
}
body.force-dark .pv2-alert-row strong{
  background:linear-gradient(135deg,rgba(38,185,154,.26),rgba(168,245,207,.18))!important;
  color:#d7fff0!important;
  border:1px solid rgba(168,245,207,.32)!important;
}
body.force-dark .pv2-ai-strip div{
  background:linear-gradient(145deg,rgba(23,43,68,.82),rgba(8,19,34,.94))!important;
  border:1px solid rgba(148,163,184,.20)!important;
  color:#eaf2ff!important;
  box-shadow:none!important;
}
body.force-dark .pv2-ai-strip b{
  background:linear-gradient(135deg,rgba(38,185,154,.24),rgba(59,130,246,.22))!important;
  color:#35f0cc!important;
}
body.force-dark .pv2-green,
body.force-dark .pv2-kpi-body em{
  color:#3af0be!important;
}
body.force-dark .pv2-controls select,
body.force-dark .pv2-controls button{
  background:rgba(7,20,38,.92)!important;
  color:#f4f8ff!important;
  border-color:rgba(148,163,184,.22)!important;
  font-weight:500!important;
}
body.force-dark .pv2-controls button.active{
  background:#26B99A!important;
  color:#062015!important;
  border-color:#26B99A!important;
}


/* Ana sayfa premium not + yaklaşan randevu/seans düzeni */
.dashboard-stat-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(130px,1fr));
  gap:14px;
  margin-bottom:18px;
}
.dash-stat-card{
  min-height:108px;
  display:flex;
  align-items:center;
  gap:13px;
  padding:16px;
  border:1px solid rgba(55,226,190,.22);
  border-radius:18px;
  background:linear-gradient(145deg,rgba(19,43,67,.96),rgba(8,25,43,.96));
  box-shadow:0 16px 40px rgba(0,0,0,.18);
}
.dash-stat-icon{
  width:44px;height:44px;border-radius:50%;
  display:grid;place-items:center;
  background:linear-gradient(145deg,rgba(26,187,156,.28),rgba(52,152,219,.18));
  border:1px solid rgba(55,226,190,.22);
  font-size:20px;
}
.dash-stat-title{font-size:13px;font-weight:600;color:#dcecff;margin-bottom:8px}
.dash-stat-value{font-size:38px;font-weight:750;color:#fff;line-height:1}
.dash-stat-sub{display:none}
.dashboard-main-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:18px;margin-top:18px}
.dashboard-main-grid.lower{grid-template-columns:1fr 1fr}
.notes-panel .panel-title p{margin:5px 0 0;color:#9eb1c4;font-size:12px}
.note-composer{display:grid;grid-template-columns:1fr auto;gap:10px;margin-bottom:14px;align-items:stretch}
.note-composer textarea{
  min-height:70px!important;margin:0!important;border-radius:14px!important;
  background:rgba(4,17,31,.75)!important;color:#eef7ff!important;border:1px solid rgba(55,226,190,.18)!important;
  box-shadow:none!important;
}
.note-composer button{border-radius:14px!important;padding-inline:18px!important}
.sticky-note-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.sticky-note{
  position:relative;min-height:150px;padding:24px 16px 14px;border-radius:16px;
  color:#102033;box-shadow:0 18px 34px rgba(0,0,0,.28), inset 0 -20px 40px rgba(255,255,255,.12);
  overflow:hidden;
}
.sticky-note:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.34),rgba(255,255,255,0));pointer-events:none}
.sticky-note.green{background:linear-gradient(145deg,#bbffd0,#89e8ad)}
.sticky-note.yellow{background:linear-gradient(145deg,#fff1a8,#ffd86f)}
.sticky-note.blue{background:linear-gradient(145deg,#d3ecff,#a8d5ff)}
.sticky-note.purple{background:linear-gradient(145deg,#eadbff,#c7b6ff)}
.sticky-note .pin{position:absolute;top:8px;left:50%;width:22px;height:22px;border-radius:50%;background:#2b8cff;box-shadow:0 3px 8px rgba(0,0,0,.25);transform:translateX(-50%);z-index:2}
.sticky-date{font-size:11px;opacity:.72;margin-bottom:12px;position:relative;z-index:1}
.sticky-text{font-size:14px;line-height:1.55;font-weight:500;white-space:pre-wrap;position:relative;z-index:1}
.sticky-actions{position:absolute;right:12px;bottom:10px;display:flex;gap:8px;z-index:3}
.sticky-actions button{padding:6px 9px!important;border-radius:10px!important;background:rgba(255,255,255,.36)!important;color:#17324a!important;border:1px solid rgba(23,50,74,.18)!important}
.home-table-panel .panel-title{align-items:center!important}
.mini-muted{font-size:12px;color:#93a9bd}
.home-table{background:transparent!important}
.home-table th{font-size:12px;color:#a9bdd0!important;border-bottom:1px solid rgba(255,255,255,.09)!important}
.home-table td{color:#eaf4ff!important;border-top:1px solid rgba(255,255,255,.07)!important;padding:12px 10px!important}
.empty-soft{padding:18px;border-radius:14px;background:rgba(255,255,255,.045);border:1px dashed rgba(255,255,255,.12);color:#9fb2c6}
.home-chat-box{background:rgba(4,17,31,.55)!important;border-color:rgba(55,226,190,.16)!important;border-radius:14px!important}
body.force-light .dash-stat-card{background:#fff;color:#34495E;border-color:#e2e8ef;box-shadow:0 10px 24px rgba(42,63,84,.10)}
body.force-light .dash-stat-title,body.force-light .dash-stat-value{color:#34495E}.body.force-light .dash-stat-sub{color:#73879C}
@media(max-width:1200px){.dashboard-stat-grid{grid-template-columns:repeat(3,1fr)}.dashboard-main-grid,.dashboard-main-grid.lower{grid-template-columns:1fr}.sticky-note-grid{grid-template-columns:1fr}}
@media(max-width:700px){.dashboard-stat-grid{grid-template-columns:1fr}.note-composer{grid-template-columns:1fr}}

/* NOTE READABILITY FIX - 23.05.2026 */
.sticky-note,
.sticky-note *{
  color:#102033 !important;
  text-shadow:none !important;
}
.sticky-note{
  border:1px solid rgba(8,24,42,.18) !important;
  box-shadow:0 16px 30px rgba(0,0,0,.32), inset 0 -18px 34px rgba(255,255,255,.10) !important;
}
.sticky-date{
  color:#38506a !important;
  opacity:1 !important;
  font-weight:700 !important;
  letter-spacing:.2px !important;
}
.sticky-text{
  color:#14243a !important;
  font-size:14px !important;
  font-weight:700 !important;
  line-height:1.58 !important;
}
.sticky-actions button{
  background:rgba(8,22,38,.82)!important;
  color:#ffffff!important;
  border:1px solid rgba(255,255,255,.18)!important;
}
.sticky-actions button:hover{background:#10243a!important;color:#fff!important}
.sticky-note .pin{box-shadow:0 5px 12px rgba(0,0,0,.38)!important}

/* HOME NOTE READABILITY + GRID ALIGNMENT FIX - 23.05.2026 */
.dashboard-main-grid,
.dashboard-main-grid.lower{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  gap:18px !important;
  align-items:start !important;
}
.notes-panel,
.dashboard-main-grid > .panel,
.dashboard-main-grid.lower > .panel{
  width:100% !important;
  box-sizing:border-box !important;
}
.sticky-note-grid{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:14px !important;
}
.sticky-note{
  position:relative !important;
  min-height:140px !important;
  padding:28px 16px 48px !important;
  border-radius:16px !important;
  overflow:hidden !important;
  background:linear-gradient(145deg,rgba(13,38,62,.98),rgba(7,23,39,.98)) !important;
  border:1px solid rgba(55,226,190,.24) !important;
  box-shadow:0 16px 32px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.05) !important;
}
.sticky-note.green{border-color:rgba(72,236,151,.42)!important;box-shadow:0 16px 32px rgba(0,0,0,.30), inset 5px 0 0 rgba(72,236,151,.85)!important}
.sticky-note.yellow{border-color:rgba(255,205,80,.42)!important;box-shadow:0 16px 32px rgba(0,0,0,.30), inset 5px 0 0 rgba(255,205,80,.90)!important}
.sticky-note.blue{border-color:rgba(82,164,255,.42)!important;box-shadow:0 16px 32px rgba(0,0,0,.30), inset 5px 0 0 rgba(82,164,255,.90)!important}
.sticky-note.purple{border-color:rgba(176,126,255,.42)!important;box-shadow:0 16px 32px rgba(0,0,0,.30), inset 5px 0 0 rgba(176,126,255,.90)!important}
.sticky-note:after{
  display:none !important;
}
.sticky-note .pin{
  top:9px !important;
  left:auto !important;
  right:16px !important;
  width:16px !important;
  height:16px !important;
  transform:none !important;
  background:linear-gradient(145deg,#37e2be,#2b8cff) !important;
  border:2px solid rgba(255,255,255,.28) !important;
  box-shadow:0 6px 14px rgba(0,0,0,.42) !important;
}
.sticky-date{
  position:relative !important;
  z-index:2 !important;
  display:block !important;
  margin-bottom:10px !important;
  color:#93abc2 !important;
  opacity:1 !important;
  font-size:11px !important;
  font-weight:500 !important;
  letter-spacing:.15px !important;
}
.sticky-text{
  position:relative !important;
  z-index:2 !important;
  color:#f4fbff !important;
  font-size:14px !important;
  line-height:1.55 !important;
  font-weight:600 !important;
  white-space:pre-wrap !important;
  word-break:break-word !important;
}
.sticky-note,
.sticky-note *{
  text-shadow:none !important;
}
.sticky-actions{
  position:absolute !important;
  right:12px !important;
  bottom:10px !important;
  z-index:5 !important;
  display:flex !important;
  gap:8px !important;
}
.sticky-actions button{
  background:rgba(2,13,24,.88)!important;
  color:#ffffff!important;
  border:1px solid rgba(255,255,255,.18)!important;
  border-radius:10px!important;
  padding:7px 9px!important;
  line-height:1!important;
}
.sticky-actions button:hover{
  background:#0f2b46!important;
  color:#37e2be!important;
  border-color:rgba(55,226,190,.45)!important;
}
@media(max-width:1200px){
  .dashboard-main-grid,
  .dashboard-main-grid.lower{grid-template-columns:1fr!important}
}
@media(max-width:700px){
  .sticky-note-grid{grid-template-columns:1fr!important}
}

/* DASHBOARD ALL NOTES POPUP - 23.05.2026 */
.all-notes-btn{
  width:100%;
  margin-top:14px;
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:14px!important;
  background:linear-gradient(135deg,rgba(8,35,56,.92),rgba(8,27,44,.92))!important;
  color:#eaffff!important;
  border:1px solid rgba(55,226,190,.38)!important;
  font-weight:600!important;
  letter-spacing:.1px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 10px 22px rgba(0,0,0,.20)!important;
}
.all-notes-btn span{color:#37e2be;font-size:12px;font-weight:500}
.all-notes-btn.subtle{opacity:.92}
.all-notes-btn:hover{border-color:rgba(55,226,190,.72)!important;transform:translateY(-1px)}
.all-notes-modal{display:flex;flex-direction:column;gap:14px;max-height:72vh}
.all-notes-summary{padding:12px 14px;border-radius:14px;background:rgba(55,226,190,.08);border:1px solid rgba(55,226,190,.18);color:#cfe4f7;font-size:13px}
.all-notes-list{display:flex;flex-direction:column;gap:12px;overflow:auto;padding-right:6px;max-height:62vh}
.all-note-row{position:relative;padding:14px 16px;border-radius:16px;background:linear-gradient(145deg,rgba(13,38,62,.98),rgba(7,23,39,.98));border:1px solid rgba(55,226,190,.22);box-shadow:0 12px 26px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.04)}
.all-note-row.green{box-shadow:0 12px 26px rgba(0,0,0,.22),inset 5px 0 0 rgba(72,236,151,.85)}
.all-note-row.yellow{box-shadow:0 12px 26px rgba(0,0,0,.22),inset 5px 0 0 rgba(255,205,80,.90)}
.all-note-row.blue{box-shadow:0 12px 26px rgba(0,0,0,.22),inset 5px 0 0 rgba(82,164,255,.90)}
.all-note-row.purple{box-shadow:0 12px 26px rgba(0,0,0,.22),inset 5px 0 0 rgba(176,126,255,.90)}
.all-note-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;color:#9fb8ce;font-size:12px}
.all-note-top div{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.all-note-top button{padding:7px 10px!important;border-radius:10px!important;background:rgba(2,13,24,.70)!important;color:#ffffff!important;border:1px solid rgba(255,255,255,.15)!important;font-weight:500!important}
.all-note-top button:hover{color:#37e2be!important;border-color:rgba(55,226,190,.45)!important}
.all-note-top button.danger:hover{color:#ff7e92!important;border-color:rgba(255,126,146,.45)!important}
.all-note-text{white-space:pre-wrap;word-break:break-word;color:#f4fbff;font-size:14px;line-height:1.62;font-weight:500}
@media(max-width:700px){.all-note-top{align-items:flex-start;flex-direction:column}.all-note-top div{justify-content:flex-start}}

/* LIGHT THEME NOTE VISIBILITY + HOME ALIGN FINAL FIX - 23.05.2026 */
body.force-light .dashboard-main-grid,
body.force-light .dashboard-main-grid.lower,
.dashboard-main-grid,
.dashboard-main-grid.lower{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  gap:18px !important;
  align-items:start !important;
}
body.force-light .notes-panel,
body.force-light .home-chat-panel,
body.force-light .home-table-panel,
.notes-panel,
.home-chat-panel,
.home-table-panel{
  width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
}
body.force-light .sticky-note,
body.force-light .sticky-note.green,
body.force-light .sticky-note.yellow,
body.force-light .sticky-note.blue,
body.force-light .sticky-note.purple{
  background:linear-gradient(145deg,#fff7c7,#ffe38f) !important;
  border:1px solid rgba(210,158,39,.35) !important;
  box-shadow:0 14px 28px rgba(42,63,84,.16), inset 5px 0 0 rgba(36,195,161,.9), inset 0 1px 0 rgba(255,255,255,.78) !important;
}
body.force-light .sticky-note:nth-child(4n+1){background:linear-gradient(145deg,#e7fff0,#b7f2c9)!important}
body.force-light .sticky-note:nth-child(4n+2){background:linear-gradient(145deg,#fff4bd,#ffe083)!important}
body.force-light .sticky-note:nth-child(4n+3){background:linear-gradient(145deg,#e6f5ff,#bedfff)!important}
body.force-light .sticky-note:nth-child(4n+4){background:linear-gradient(145deg,#f1e7ff,#d6c3ff)!important}
body.force-light .sticky-date,
body.force-light .sticky-note .sticky-date{
  color:#52657a !important;
  opacity:1 !important;
  font-weight:700 !important;
}
body.force-light .sticky-text,
body.force-light .sticky-note .sticky-text,
body.force-light .sticky-note .sticky-text *{
  color:#142033 !important;
  opacity:1 !important;
  font-weight:700 !important;
  text-shadow:none !important;
}
body.force-light .sticky-actions button,
body.force-light .sticky-note .sticky-actions button{
  background:rgba(20,32,51,.92)!important;
  color:#fff!important;
  border:1px solid rgba(20,32,51,.18)!important;
}
body.force-light .all-notes-btn{
  background:#24c3a1!important;
  color:#fff!important;
  border:1px solid rgba(36,195,161,.35)!important;
}
body.force-light .home-table td,
body.force-light .home-table th{
  color:#24364a!important;
  border-color:#e3eaf1!important;
}
@media(max-width:1200px){
  body.force-light .dashboard-main-grid,
  body.force-light .dashboard-main-grid.lower,
  .dashboard-main-grid,
  .dashboard-main-grid.lower{grid-template-columns:1fr!important}
}

/* Yönetici profil popup ve zorunlu profil sistemi */
.profile-trigger{position:relative;display:grid;place-items:center;cursor:pointer}
.user-avatar.profile-incomplete{box-shadow:0 0 0 3px rgba(239,68,68,.28);background:linear-gradient(135deg,#ef4444,#f59e0b)!important}
.profile-hover-card{position:absolute;right:0;top:42px;width:260px;background:var(--theme-panel,#132435);border:1px solid var(--theme-border,rgba(255,255,255,.12));border-radius:16px;padding:14px;box-shadow:0 20px 55px rgba(0,0,0,.35);display:none;z-index:3000;color:var(--theme-text,#eaf6ff)}
.profile-trigger:hover .profile-hover-card{display:block}
.profile-hover-head{display:flex;gap:10px;align-items:center;margin-bottom:12px}.profile-hover-head span{display:block;font-size:12px;color:var(--theme-muted,#98a9b8);margin-top:2px}.profile-avatar-lg{width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#16a085,#22c55e);display:grid;place-items:center;color:#fff;font-weight:700;letter-spacing:.5px}.profile-status{border-radius:12px;padding:8px 10px;margin-bottom:10px;font-size:12px;border:1px solid}.profile-status.ok{background:rgba(34,197,94,.12);border-color:rgba(34,197,94,.35);color:#86efac}.profile-status.bad{background:rgba(239,68,68,.12);border-color:rgba(239,68,68,.35);color:#fca5a5}.profile-hover-card button{width:100%;margin:0}.profile-required-alert{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px;border:1px solid rgba(239,68,68,.35);background:linear-gradient(135deg,rgba(239,68,68,.14),rgba(245,158,11,.10));border-radius:18px;padding:14px 16px;color:var(--theme-text,#eaf6ff)}.profile-required-alert b{display:block;font-size:14px;margin-bottom:3px}.profile-required-alert span{font-size:12px;color:var(--theme-muted,#b9c8d4)}.profile-required-alert button{white-space:nowrap;margin:0;background:#ef4444!important}.profile-lock-panel{text-align:center;padding:34px!important;border:1px solid rgba(239,68,68,.35)!important}.profile-lock-panel p{max-width:640px;margin:8px auto 16px;color:var(--theme-muted,#a7b7c8)}.profile-missing-list{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:15px 0 20px}.profile-missing-list span{font-size:12px;border-radius:999px;padding:7px 10px;background:rgba(239,68,68,.12);border:1px solid rgba(239,68,68,.25);color:#fca5a5}.profile-form h3{margin:6px 0 12px}.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-form textarea{min-height:78px}.legal-box{border:1px solid var(--theme-border,var(--border));border-radius:16px;padding:12px;background:rgba(255,255,255,.035);margin-bottom:14px}.legal-box small{display:block;margin-bottom:10px;color:var(--theme-muted,#93a4b5)}.check-line{display:flex!important;align-items:flex-start;gap:10px;margin:10px 0!important;font-weight:400!important}.check-line input{width:auto!important;margin-top:3px}.danger-note{background:rgba(239,68,68,.14)!important;color:#fecaca!important;border-color:rgba(239,68,68,.35)!important}body.force-light .profile-hover-card,body.light-theme .profile-hover-card{background:#fff;color:#111827;border-color:#dbe4ee}body.force-light .profile-hover-head span,body.light-theme .profile-hover-head span,body.force-light .profile-required-alert span,body.light-theme .profile-required-alert span{color:#64748b}body.force-light .profile-required-alert,body.light-theme .profile-required-alert{color:#111827;background:#fff7ed;border-color:#fdba74}body.force-light .legal-box,body.light-theme .legal-box{background:#f8fafc;border-color:#dbe4ee}@media(max-width:760px){.profile-grid{grid-template-columns:1fr}.profile-required-alert{align-items:flex-start;flex-direction:column}.profile-required-alert button{width:100%}.profile-hover-card{right:-58px}}

/* === LAPTOP SIDEBAR RESPONSIVE FIX - 13/14/15 inch ekranlar === */
@media (min-width:901px) and (max-width:1366px), (min-width:901px) and (max-height:820px){
  .sidebar{
    width:232px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    scrollbar-width:thin!important;
  }
  .main{
    margin-left:232px!important;
    width:calc(100% - 232px)!important;
  }
  .sidebar .brand.sidebar-brand-final,
  .sidebar-brand-final{
    padding:12px 10px 12px!important;
    gap:9px!important;
  }
  .sidebar-logo-icon{
    width:58px!important;
    max-width:58px!important;
    margin-bottom:4px!important;
  }
  .sidebar-logo-title{
    font-size:20px!important;
    gap:4px!important;
  }
  .sidebar-logo-sub{
    font-size:8.5px!important;
    letter-spacing:1.45px!important;
    margin-top:4px!important;
  }
  .brand-user-final{
    padding:8px 8px!important;
    border-radius:13px!important;
    gap:8px!important;
  }
  .brand-avatar{
    width:34px!important;
    height:34px!important;
    flex-basis:34px!important;
    font-size:13px!important;
  }
  .brand-user-final .brand-user-name{
    font-size:12.5px!important;
    margin-bottom:2px!important;
    max-width:155px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .brand-user-final .brand-user-title,
  .brand-user-final .brand-user-branch{
    font-size:9.5px!important;
    max-width:155px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .menu-group{
    padding:11px 14px 5px!important;
    font-size:8px!important;
    letter-spacing:.15em!important;
    line-height:1!important;
  }
  .sidebar .menu-item + .menu-group{
    padding-top:10px!important;
  }
  .menu-item{
    height:34px!important;
    min-height:34px!important;
    line-height:34px!important;
    margin:0 7px 3px!important;
    padding:0 10px!important;
    border-radius:9px!important;
    gap:9px!important;
    font-size:12.5px!important;
  }
  .menu-item span:not(.mi-icon){
    font-size:12.5px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .mi-icon{
    width:18px!important;
    min-width:18px!important;
    font-size:15px!important;
  }
  .menu-item.active{
    padding-left:8px!important;
    border-left-width:3px!important;
  }
  .branch-select-box{
    margin:6px 8px 3px!important;
    padding:7px!important;
    border-radius:10px!important;
  }
  .branch-select-box label{font-size:8.5px!important;}
  .branch-select-box select{font-size:12px!important;padding:7px 8px!important;}
  .sidebar .logout-btn,
  .logout-btn{
    margin:10px 10px!important;
    width:calc(100% - 20px)!important;
    min-height:34px!important;
    padding:8px 10px!important;
    font-size:12.5px!important;
    border-radius:10px!important;
  }
  .topbar{
    min-height:58px!important;
    height:auto!important;
    padding:8px 14px!important;
  }
  .topbar h1{
    font-size:20px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .content{padding:14px!important;}
}

@media (min-width:901px) and (max-height:700px){
  .sidebar-logo-icon{width:48px!important;max-width:48px!important;}
  .sidebar-logo-title{font-size:18px!important;}
  .sidebar-logo-sub{display:none!important;}
  .brand-user-final{padding:7px!important;}
  .brand-avatar{width:30px!important;height:30px!important;flex-basis:30px!important;}
  .menu-group{padding:8px 12px 4px!important;font-size:7.5px!important;}
  .menu-item{height:31px!important;min-height:31px!important;line-height:31px!important;margin-bottom:2px!important;font-size:12px!important;}
  .menu-item span:not(.mi-icon){font-size:12px!important;}
}
/* === END LAPTOP SIDEBAR RESPONSIVE FIX === */

/* Laptop menü akordeon düzeni - İşleyiş sabit, diğer gruplar kapalı açılır */
.sidebar .menu-group-toggle{
  width:calc(100% - 20px)!important;
  margin:10px 10px 4px!important;
  padding:9px 10px!important;
  border:0!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.055)!important;
  color:rgba(219,231,243,.78)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  cursor:pointer!important;
  font-family:inherit!important;
  text-align:left!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  font-size:10px!important;
  font-weight:800!important;
}
.sidebar .menu-group-toggle:hover,
.sidebar .menu-group-toggle.open{
  background:rgba(26,187,156,.13)!important;
  color:#fff!important;
}
.sidebar .menu-group-toggle b{
  font-size:14px!important;
  line-height:1!important;
  color:inherit!important;
}
.sidebar .menu-subgroup{
  display:none!important;
  padding:0 0 4px!important;
}
.sidebar .menu-subgroup.open{
  display:block!important;
}
.sidebar .menu-subgroup .menu-item{
  padding-left:22px!important;
}
body.force-light .sidebar .menu-group-toggle,
body.light-theme .sidebar .menu-group-toggle{
  background:rgba(23,49,75,.06)!important;
  color:#607289!important;
}
body.force-light .sidebar .menu-group-toggle:hover,
body.force-light .sidebar .menu-group-toggle.open,
body.light-theme .sidebar .menu-group-toggle:hover,
body.light-theme .sidebar .menu-group-toggle.open{
  background:rgba(26,187,156,.12)!important;
  color:#17314b!important;
}
@media(max-height:820px){
  .sidebar .menu-group-toggle{margin-top:7px!important;padding:7px 9px!important;}
  .sidebar .menu-subgroup .menu-item{padding-top:8px!important;padding-bottom:8px!important;}
}

/* === Profesyonel Destek/Ticket Merkezi === */
.support-hero-panel{
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  padding:22px;border:1px solid rgba(38,185,154,.22);border-radius:24px;
  background:linear-gradient(135deg,rgba(38,185,154,.16),rgba(52,152,219,.10));
  box-shadow:var(--shadow);margin-bottom:16px;
}
.support-hero-panel h2{margin:4px 0 6px;font-size:28px;letter-spacing:-.03em}
.support-hero-panel p{margin:0;color:var(--muted);max-width:760px}
.mini-eyebrow{font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#26B99A}
.support-hero-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.support-metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px}
.support-metric-card{border:1px solid var(--border);border-radius:22px;background:var(--card);padding:16px;box-shadow:var(--shadow);display:grid;gap:4px}
.support-metric-card span{font-size:12px;color:var(--muted);font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.support-metric-card b{font-size:26px;color:var(--text)}
.support-metric-card small{color:var(--muted)}
.support-board-panel{padding:18px!important}
.support-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;flex-wrap:wrap}
.support-filter-group{display:flex;gap:8px;flex-wrap:wrap}
.support-filter{background:rgba(148,163,184,.12)!important;border:1px solid var(--border)!important;color:var(--text)!important;border-radius:999px!important;padding:9px 14px!important;box-shadow:none!important}
.support-filter.active{background:linear-gradient(135deg,#26B99A,#3498DB)!important;color:#fff!important;border-color:transparent!important}
.support-search{max-width:330px;border-radius:999px!important}
.support-limit-note{border:1px solid rgba(38,185,154,.22);background:rgba(38,185,154,.08);color:var(--text);border-radius:16px;padding:10px 12px;margin-bottom:14px;font-weight:700}
.support-limit-note.danger{border-color:rgba(239,68,68,.35);background:rgba(239,68,68,.10);color:#ff9aa5}
.ticket-list.professional{gap:14px}
.pro-ticket-card{padding:16px!important;border-radius:22px!important;position:relative;overflow:hidden}
.pro-ticket-card:before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,#26B99A,#3498DB);opacity:.9}
.pro-ticket-top{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important}
.pro-ticket-top h3{margin:2px 0 8px;font-size:17px;letter-spacing:-.01em;color:var(--text)}
.ticket-code{font-size:11px;font-weight:900;color:#26B99A;letter-spacing:.08em}
.ticket-meta-line{display:flex;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:12px}
.ticket-meta-line span{background:rgba(148,163,184,.10);border:1px solid var(--border);padding:4px 8px;border-radius:999px}
.ticket-chip-wrap{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.ticket-chip{border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900;border:1px solid transparent;white-space:nowrap}
.status-new{background:rgba(52,152,219,.12);color:#61b8ff;border-color:rgba(52,152,219,.25)}
.status-progress{background:rgba(245,158,11,.13);color:#fbbf24;border-color:rgba(245,158,11,.28)}
.status-waiting{background:rgba(168,85,247,.13);color:#c084fc;border-color:rgba(168,85,247,.28)}
.status-answered{background:rgba(38,185,154,.13);color:#34d399;border-color:rgba(38,185,154,.28)}
.status-done{background:rgba(148,163,184,.14);color:#cbd5e1;border-color:rgba(148,163,184,.24)}
.status-cancel{background:rgba(239,68,68,.12);color:#fca5a5;border-color:rgba(239,68,68,.28)}
.priority-critical,.priority-acil{background:rgba(239,68,68,.14);color:#fca5a5;border-color:rgba(239,68,68,.30)}
.priority-high{background:rgba(245,158,11,.13);color:#fbbf24;border-color:rgba(245,158,11,.28)}
.priority-normal{background:rgba(38,185,154,.12);color:#34d399;border-color:rgba(38,185,154,.26)}
.priority-low{background:rgba(148,163,184,.12);color:#cbd5e1;border-color:rgba(148,163,184,.24)}
.ticket-message-preview{line-height:1.55;color:var(--text);background:rgba(148,163,184,.08);border:1px solid var(--border);border-radius:16px;padding:12px;margin:0!important}
.support-admin-note{border:1px solid rgba(38,185,154,.26);background:rgba(38,185,154,.09);border-radius:16px;padding:11px;display:grid;gap:4px}
.support-admin-note p{margin:0!important}
.ticket-timeline{display:grid;gap:8px;margin-top:2px}
.ticket-timeline.detail{margin-top:12px}
.ticket-empty-reply{border:1px dashed var(--border);border-radius:14px;padding:10px;color:var(--muted);font-size:13px}
.ticket-actions-row{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}
.ticket-detail-modal{display:grid;gap:12px}
.ticket-meta-box{border:1px solid var(--border);background:rgba(148,163,184,.08);border-radius:14px;padding:10px;color:var(--muted);line-height:1.6}
.support-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width: 900px){
  .support-hero-panel{display:grid;padding:18px}.support-hero-actions{justify-content:flex-start}
  .support-metric-grid{grid-template-columns:1fr}.support-toolbar{display:grid}.support-search{max-width:none;width:100%}
  .pro-ticket-top{display:grid!important}.ticket-chip-wrap{justify-content:flex-start}.support-form-grid{grid-template-columns:1fr}
}
body.force-light .status-done, body.light-theme .status-done{color:#475569}
body.force-light .priority-low, body.light-theme .priority-low{color:#475569}
body.force-light .ticket-message-preview, body.light-theme .ticket-message-preview,
body.force-light .ticket-meta-box, body.light-theme .ticket-meta-box{background:rgba(15,23,42,.04)}

.support-info-section{margin-top:18px}.support-faq-list{display:grid;gap:10px}.support-faq-card{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:14px 16px}.support-faq-card summary{cursor:pointer;font-weight:800}.support-faq-card p{margin:10px 0 0;color:var(--muted);line-height:1.55}.support-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.support-video-card{background:var(--card);border:1px solid var(--border);border-radius:18px;padding:12px;box-shadow:var(--shadow)}.video-frame{position:relative;width:100%;aspect-ratio:16/9;border-radius:14px;overflow:hidden;background:#05070d}.video-frame iframe,.video-frame video{position:absolute;inset:0;width:100%;height:100%;border:0}.support-video-card b{display:block;margin-top:10px}.support-video-card p{color:var(--muted);font-size:13px;line-height:1.45}@media(max-width:1100px){.support-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.support-video-grid{grid-template-columns:1fr}}

/* === Hasta AI Muayene Önerileri === */
.ai-btn{background:linear-gradient(135deg,#7C3AED,#26B99A)!important;color:#fff!important;border:0!important;box-shadow:0 10px 24px rgba(124,58,237,.18)!important}
.ai-empty{text-align:center;display:grid;gap:10px;padding:16px}.ai-empty-icon{font-size:42px}.ai-empty h3{margin:0}.ai-empty p{margin:0;color:var(--muted)}
.ai-suggestion-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:10px}.ai-suggestion-head h3{margin:0 0 4px}.ai-suggestion-head p{margin:0;color:var(--muted)}
.ai-chip{display:inline-flex;align-items:center;border-radius:999px;padding:7px 11px;background:rgba(124,58,237,.13);border:1px solid rgba(124,58,237,.25);color:#c4b5fd;font-size:12px;font-weight:900;white-space:nowrap}
.ai-disclaimer{border:1px solid rgba(245,158,11,.28);background:rgba(245,158,11,.10);border-radius:16px;padding:10px 12px;margin:12px 0;color:var(--text);font-weight:700;line-height:1.45}
.ai-suggestion-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.ai-suggestion-card{background:var(--card);border:1px solid var(--border);border-radius:18px;padding:14px;box-shadow:var(--shadow)}.ai-suggestion-card h4{margin:0 0 10px}.ai-suggestion-card ul{margin:0;padding-left:18px;display:grid;gap:7px}.ai-suggestion-card li{line-height:1.45;color:var(--text)}
@media(max-width:820px){.ai-suggestion-head{display:grid}.ai-suggestion-grid{grid-template-columns:1fr}}

/* === SATIS PAKETI: ilk kurulum + tablet/mobil son dokunuş === */
.setup-wizard-panel{max-width:860px;margin:0 auto;text-align:center;background:linear-gradient(145deg,rgba(15,23,42,.92),rgba(20,83,45,.18))!important}
.setup-badge{display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(34,197,94,.35);background:rgba(34,197,94,.10);color:#bbf7d0;border-radius:999px;padding:7px 13px;font-size:12px;font-weight:900;margin-bottom:12px;letter-spacing:.02em}
.setup-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px auto 8px;max-width:720px}
.setup-steps span{border:1px solid var(--theme-border,var(--border));background:rgba(255,255,255,.045);border-radius:14px;padding:10px 8px;font-size:12px;font-weight:800;color:var(--theme-text,var(--text))}
body.force-light .setup-wizard-panel,body.light-theme .setup-wizard-panel{background:linear-gradient(145deg,#fff,#ecfdf5)!important}
body.force-light .setup-steps span,body.light-theme .setup-steps span{background:#f8fafc;color:#0f172a;border-color:#dbe4ee}
@media(max-width:1024px){
  .main,.dashboard-main,.content,.page,.workspace{max-width:100%;overflow-x:hidden}
  .panel,.card,.table-wrap{max-width:100%}
  table{font-size:13px}
  th,td{padding:9px 8px}
  .action-row,.button-row,.panel-actions{flex-wrap:wrap;gap:8px}
}
@media(max-width:900px){
  body{overflow-x:hidden}
  .layout,.app-shell{display:block!important}
  .sidebar{position:relative!important;width:auto!important;min-height:auto!important;max-height:none!important;margin:10px;border-radius:22px;overflow:visible!important}
  .main{margin-left:0!important;width:auto!important;padding:10px!important}
  .topbar,.page-head,.panel-title{align-items:flex-start!important;flex-wrap:wrap!important;gap:10px!important}
  .profile-grid,.grid-2,.grid-3,.dashboard-grid,.stats-grid{grid-template-columns:1fr!important}
  .support-video-grid{grid-template-columns:1fr!important}
  .modal,.modal-box,.modal-content{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;max-height:calc(100vh - 20px)!important}
}
@media(max-width:640px){
  .login-card{width:calc(100vw - 22px)!important;padding:22px!important}
  .setup-steps{grid-template-columns:1fr 1fr}
  .profile-lock-panel{padding:24px 16px!important}
  .profile-missing-list{justify-content:flex-start}
  input,select,textarea,button{font-size:15px!important}
  .table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .panel-title h2{font-size:18px!important}
  .annual-campaign-banner{left:10px!important;right:10px!important;width:auto!important}
}
@media(max-width:430px){
  .setup-steps{grid-template-columns:1fr}
  .profile-missing-list span{width:100%;text-align:center}
}

/* === Sistem Mesajları / Footer Reklamları sayfa kartları === */
.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin-top:16px}
.info-card{border:1px solid var(--border);border-radius:18px;background:var(--card-soft,rgba(255,255,255,.04));padding:16px;box-shadow:0 10px 24px rgba(0,0,0,.08)}
.info-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.info-card-head b{font-size:15px;color:var(--text)}
.info-card-head span{font-size:11px;font-weight:800;border:1px solid var(--border);border-radius:999px;padding:4px 8px;color:var(--muted)}
.info-card p{margin:0 0 12px;color:var(--muted);line-height:1.5;font-size:13px}
.mini-action{display:inline-flex!important;width:auto!important;padding:8px 10px!important;font-size:12px!important}

/* Footer hızlı erişim butonları */
.public-footer .footer-nav-actions{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  width:100%;
  align-items:stretch;
}
.public-footer .footer-nav-actions .footer-support{
  width:100%;
  min-height:46px!important;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  white-space:nowrap;
}
.public-footer .footer-nav-actions .footer-support.secondary{
  background:linear-gradient(135deg,rgba(26,42,68,.96),rgba(16,28,48,.96));
  border:1px solid rgba(52,152,219,.35)!important;
  color:#eaf6ff;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}
.public-footer .footer-nav-actions .footer-support.secondary:hover{
  border-color:rgba(38,185,154,.7)!important;
  transform:translateY(-1px);
}
@media(max-width:900px){
  .public-footer .footer-nav-actions{grid-template-columns:1fr;}
  .public-footer .footer-nav-actions .footer-support{white-space:normal;}
}

/* === SSS accordion + beyaz tema bildirim görünürlük düzeltmesi === */
body.force-light .notif-panel,
body.light-theme .notif-panel,
body.theme-minimalwhite .notif-panel,
body.theme-tailadmin .notif-panel{
  background:#ffffff!important;
  color:#0f172a!important;
  border-color:#dbe4ee!important;
  box-shadow:0 24px 70px rgba(15,23,42,.18)!important;
}
body.force-light .notif-head,
body.light-theme .notif-head,
body.theme-minimalwhite .notif-head,
body.theme-tailadmin .notif-head{
  border-color:#e5e7eb!important;
  background:#ffffff!important;
}
body.force-light .notif-head b,
body.light-theme .notif-head b,
body.theme-minimalwhite .notif-head b,
body.theme-tailadmin .notif-head b,
body.force-light .notif-body b,
body.light-theme .notif-body b,
body.theme-minimalwhite .notif-body b,
body.theme-tailadmin .notif-body b{
  color:#0f172a!important;
}
body.force-light .notif-head small,
body.light-theme .notif-head small,
body.theme-minimalwhite .notif-head small,
body.theme-tailadmin .notif-head small,
body.force-light .notif-body span,
body.light-theme .notif-body span,
body.theme-minimalwhite .notif-body span,
body.theme-tailadmin .notif-body span,
body.force-light .notif-body small,
body.light-theme .notif-body small,
body.theme-minimalwhite .notif-body small,
body.theme-tailadmin .notif-body small,
body.force-light .notif-empty,
body.light-theme .notif-empty,
body.theme-minimalwhite .notif-empty,
body.theme-tailadmin .notif-empty{
  color:#64748b!important;
}
body.force-light .notif-item,
body.light-theme .notif-item,
body.theme-minimalwhite .notif-item,
body.theme-tailadmin .notif-item{
  background:linear-gradient(135deg,rgba(38,185,154,.08),#ffffff)!important;
  border-color:#e2e8f0!important;
}
body.force-light .notif-icon,
body.light-theme .notif-icon,
body.theme-minimalwhite .notif-icon,
body.theme-tailadmin .notif-icon{
  background:#eef2f7!important;
  color:#0f172a!important;
}
body.force-light .notif-actions .light,
body.light-theme .notif-actions .light,
body.theme-minimalwhite .notif-actions .light,
body.theme-tailadmin .notif-actions .light{
  background:#f8fafc!important;
  color:#0f172a!important;
  border-color:#cbd5e1!important;
}
.support-faq-card[open]{border-color:rgba(38,185,154,.35);box-shadow:0 10px 24px rgba(0,0,0,.08)}


/* V1.0 Performans paketi: eski laptoplarda daha akıcı açılış ve daha hafif efektler */
.boot-screen{min-height:100vh;display:grid;place-items:center;background:var(--bg,#07101d);color:var(--text,#eaf2ff);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;padding:24px}.boot-card{width:min(360px,92vw);border:1px solid rgba(148,163,184,.22);background:rgba(15,23,42,.86);border-radius:24px;padding:24px;text-align:center;box-shadow:0 18px 60px rgba(0,0,0,.22)}.boot-card img{width:112px;height:auto;margin-bottom:12px}.boot-card b{display:block;font-size:17px;margin-bottom:6px}.boot-card span{display:block;color:#94a3b8;font-size:13px}
html.perf-mode *,html.perf-mode *::before,html.perf-mode *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.08s!important}html.perf-mode .modal,html.perf-mode .panel,html.perf-mode .card,html.perf-mode .stat-card{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}html.perf-mode .panel,html.perf-mode .card,html.perf-mode .stat-card{box-shadow:0 8px 24px rgba(15,23,42,.12)!important}
@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
@media (max-width:900px){.table{font-size:12px}.actions{gap:6px}.actions button{padding:8px 10px}.panel{contain:layout paint}.support-video-grid,.support-package-grid{grid-template-columns:1fr!important}}
@media (max-height:760px){.sidebar,.menu{font-size:12px}.menu-item{min-height:34px}.panel{padding:14px}}

/* === VIDEO CALL PLACEHOLDER PAGE === */
.video-call-coming-panel .panel-title p{margin:6px 0 0;color:var(--muted,#7b8496);font-size:13px}
.video-call-hero{display:flex;gap:18px;align-items:center;padding:22px;border-radius:24px;background:linear-gradient(135deg,rgba(59,130,246,.12),rgba(16,185,129,.10));border:1px solid rgba(148,163,184,.22);margin:16px 0}
.video-call-icon{width:62px;height:62px;border-radius:22px;display:grid;place-items:center;font-size:30px;background:rgba(255,255,255,.14);box-shadow:0 18px 40px rgba(15,23,42,.12)}
.video-call-hero h3{margin:0 0 8px;font-size:22px}
.video-call-hero p{margin:0;color:var(--muted,#7b8496);line-height:1.6}
.video-call-plan{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:12px}
.video-call-plan .quick-card span{display:block;margin-top:8px;color:var(--muted,#7b8496);font-size:13px;line-height:1.45}
@media(max-width:900px){.video-call-hero{align-items:flex-start}.video-call-plan{grid-template-columns:1fr}.video-call-icon{width:52px;height:52px;font-size:24px}}

/* === V1.1 Kurumsal güven + akıllı özet dokunuşları === */
.trust-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0 18px}.trust-item{border:1px solid var(--border);background:linear-gradient(135deg,rgba(38,185,154,.10),rgba(52,152,219,.08));border-radius:18px;padding:14px 16px;box-shadow:0 10px 26px rgba(15,23,42,.08)}.trust-item b{display:block;margin-bottom:6px;color:var(--text)}.trust-item span{display:block;color:var(--muted);font-size:13px;line-height:1.45}.today-action-panel{margin:0 0 18px}.today-action-panel .panel-title p{margin:4px 0 0;color:var(--muted);font-size:13px}.today-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.today-action-card{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--border);background:rgba(255,255,255,.04);border-radius:18px;padding:13px}.today-action-icon{width:38px;height:38px;border-radius:14px;display:grid;place-items:center;background:rgba(38,185,154,.12);font-size:19px;flex:0 0 auto}.today-action-card b{display:block;margin-bottom:5px}.today-action-card span{display:block;color:var(--muted);font-size:13px;line-height:1.45}.ai-summary-box{border:1px solid rgba(38,185,154,.28);background:linear-gradient(135deg,rgba(38,185,154,.10),rgba(59,130,246,.08));border-radius:20px;padding:16px;margin:14px 0}.ai-summary-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px}.ai-summary-head span{font-size:12px;color:var(--muted);padding:5px 9px;border:1px solid var(--border);border-radius:999px}.ai-summary-box p{line-height:1.55}.ai-summary-box ul{margin:10px 0 0;padding-left:18px}.ai-disclaimer.mini{font-size:12px;margin-top:10px;padding:8px 10px}.ai-empty.compact{border:1px dashed var(--border);border-radius:18px;padding:14px;background:rgba(255,255,255,.035)}.profile-mini-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.ai-btn.soft{background:linear-gradient(135deg,rgba(52,152,219,.92),rgba(38,185,154,.92))!important}.patient-journey{display:grid;gap:10px;margin-bottom:12px}.journey-item{display:flex;gap:10px;border:1px solid var(--border);border-radius:16px;padding:11px;background:rgba(255,255,255,.035)}.journey-icon{width:34px;height:34px;border-radius:13px;display:grid;place-items:center;background:rgba(59,130,246,.12);flex:0 0 auto}.journey-item b{display:block}.journey-item span{display:block;font-size:12px;color:var(--muted);margin:2px 0 5px}.journey-item p{margin:0;color:var(--muted);font-size:13px;line-height:1.4}
body.force-light .today-action-card,body.light-theme .today-action-card,body.theme-minimalwhite .today-action-card,body.theme-tailadmin .today-action-card,body.force-light .journey-item,body.light-theme .journey-item,body.theme-minimalwhite .journey-item,body.theme-tailadmin .journey-item{background:#fff!important;color:#0f172a!important;border-color:#e2e8f0!important}.ai-summary-box,.trust-item{color:var(--text)}
@media(max-width:1100px){.trust-strip,.today-action-grid{grid-template-columns:1fr}.ai-summary-head{align-items:flex-start;flex-direction:column}.actions .ai-btn{padding:8px 10px}}


/* Terapist bakım paketi: hasta seçim listesi ve log görünümü */
#sessionPatientResults,
#appointmentPatientResults{
  background:var(--card) !important;
  color:var(--text) !important;
  border:1px solid var(--border) !important;
  border-radius:14px !important;
  overflow:auto !important;
  box-shadow:0 18px 45px rgba(0,0,0,.28) !important;
}
.patient-select-row{
  padding:10px 12px;
  border-bottom:1px solid var(--border);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  background:rgba(13,30,50,.96);
  color:var(--text);
}
.patient-select-row:hover{background:rgba(35,199,169,.16)}
.patient-select-row b{color:var(--text);font-weight:700}
.patient-select-row small{color:var(--muted)}
body.force-light #sessionPatientResults,
body.force-light #appointmentPatientResults,
body.light-theme #sessionPatientResults,
body.light-theme #appointmentPatientResults{background:#fff !important;color:#203040 !important;box-shadow:0 18px 45px rgba(31,41,55,.18) !important}
body.force-light .patient-select-row,
body.light-theme .patient-select-row{background:#fff;color:#1f2937;border-bottom:1px solid #e5e7eb}
body.force-light .patient-select-row:hover,
body.light-theme .patient-select-row:hover{background:#eefcf8}
body.force-light .patient-select-row b,
body.light-theme .patient-select-row b{color:#111827}
body.force-light .patient-select-row small,
body.light-theme .patient-select-row small{color:#64748b}
.log-modern-panel .chat-filter-bar label{min-width:170px}
.log-modern-panel .chat-message-cell{max-width:420px;white-space:normal}


/* Modern Güvenlik Logları */
.security-mini-summary .security-summary-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.security-summary-list div{
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.035);
  border-radius:16px;
  padding:14px 16px;
}
.security-summary-list span{
  display:block;
  font-size:12px;
  opacity:.72;
  margin-bottom:5px;
}
.security-summary-list b{
  display:block;
  font-size:24px;
  letter-spacing:.01em;
}
.security-log-modern{
  box-shadow:0 20px 60px rgba(0,0,0,.18);
}
.security-filter-bar{
  grid-template-columns:repeat(5,minmax(150px,1fr));
}
.security-log-table-wrap{
  max-height:520px;
}
.security-log-table{
  min-width:1050px;
}
.security-user div{
  display:flex;
  flex-direction:column;
  gap:3px;
}
.security-user small{
  font-size:11px;
  opacity:.62;
}
.chat-pill.success{
  background:rgba(38,185,154,.14);
  color:#70f1d3;
  border:1px solid rgba(38,185,154,.28);
}
.chat-pill.danger{
  background:rgba(255,91,91,.13);
  color:#ffaaaa;
  border:1px solid rgba(255,91,91,.25);
}
.ip-code{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  border-radius:10px;
  padding:4px 9px;
  background:rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.08);
  color:inherit;
  font-size:12px;
}
.security-agent{
  max-width:320px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  opacity:.82;
}
body.light-theme .security-summary-list div,
body.force-light .security-summary-list div{
  background:rgba(15,23,42,.035);
  border-color:rgba(15,23,42,.08);
}
body.light-theme .ip-code,
body.force-light .ip-code{
  background:rgba(15,23,42,.055);
  border-color:rgba(15,23,42,.08);
}
@media(max-width:1100px){
  .security-filter-bar{grid-template-columns:repeat(2,minmax(150px,1fr));}
}
@media(max-width:700px){
  .security-filter-bar,.security-mini-summary .security-summary-list{grid-template-columns:1fr;}
}


/* Yönetici Ayarları - görseldeki kontrollü build düzeni */
.settings-shell{display:flex;flex-direction:column;gap:16px}.settings-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:4px 0 8px}.settings-hero h2{margin:0;font-size:24px}.settings-hero p{margin:6px 0 0;color:var(--muted)}.settings-hero-actions,.settings-actions{display:flex;gap:10px;flex-wrap:wrap}.settings-card{background:linear-gradient(145deg,rgba(24,48,78,.96),rgba(14,31,54,.98));border:1px solid rgba(126,164,207,.22);border-radius:18px;box-shadow:0 18px 45px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.04);padding:16px}.settings-card-wide{width:100%}.settings-grid-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.settings-card-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.settings-card-title{display:flex;align-items:flex-start;gap:12px;margin-bottom:12px}.settings-card-title h3{margin:0;font-size:18px}.settings-card-title p{margin:3px 0 0;color:var(--muted);font-size:13px}.settings-step{width:28px;height:28px;border:2px solid var(--accent);color:var(--accent);border-radius:10px;display:inline-flex;align-items:center;justify-content:center;font-weight:900;box-shadow:0 0 18px rgba(31,211,177,.25)}.settings-table-wrap{overflow:auto;border:1px solid rgba(126,164,207,.18);border-radius:14px}.settings-services-table{margin:0}.settings-services-table th{white-space:nowrap;background:rgba(8,22,40,.65)}.settings-services-table input,.settings-services-table select{margin:0;min-width:95px}.settings-services-table input[type="color"]{width:42px;min-width:42px;height:34px;padding:3px;border-radius:999px}.settings-link-row{display:grid;grid-template-columns:1fr 210px;align-items:center;gap:12px;padding:10px 12px;border:1px solid rgba(126,164,207,.16);border-radius:12px;margin-top:8px;background:rgba(4,15,29,.24)}.settings-link-row span{font-weight:800}.settings-link-row input,.settings-link-row select{margin:0}.license-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid rgba(126,164,207,.18);border-radius:14px;overflow:hidden;margin:10px 0 14px}.license-strip div{padding:14px;border-right:1px solid rgba(126,164,207,.18);background:rgba(4,15,29,.22)}.license-strip div:last-child{border-right:0}.license-strip span{display:block;color:var(--muted);font-size:12px;margin-bottom:5px}.license-strip b{color:#fff}.license-edit-grid label{font-weight:800}.license-edit-grid input{margin-top:8px}.mini-switch{display:inline-flex!important;align-items:center;justify-content:center;margin:0!important}.mini-switch input{display:none}.mini-switch span{width:42px;height:23px;border-radius:999px;background:#475569;position:relative;display:inline-block}.mini-switch span:after{content:"";position:absolute;width:17px;height:17px;border-radius:50%;background:#fff;left:3px;top:3px;transition:.18s}.mini-switch input:checked+span{background:linear-gradient(135deg,#19d3b1,#26c281)}.mini-switch input:checked+span:after{left:22px}.icon-btn{width:34px;height:34px;padding:0;border-radius:10px}.icon-btn.danger{background:rgba(239,68,68,.14);color:#ff6b6b;border:1px solid rgba(239,68,68,.35)}.field-help{font-size:12px;color:var(--muted);margin:-8px 0 12px}.modal #appointmentPatientResults,.modal #sessionPatientResults{background:#071426!important;color:#e8f3ff!important;border-color:rgba(126,164,207,.35)!important}.modal #appointmentPatientResults div,.modal #sessionPatientResults div{color:#e8f3ff!important}.modal #appointmentPatientResults small,.modal #sessionPatientResults small{color:#9fb5ce!important}@media(max-width:900px){.settings-grid-two,.license-strip{grid-template-columns:1fr}.settings-link-row{grid-template-columns:1fr}.settings-hero,.settings-card-head{align-items:flex-start;flex-direction:column}}


/* Akıllı Kapasite Takvimi - terapist bazlı çizelge nazik dokunuşu */
.provider-calendar-select{min-width:230px;margin:0;height:42px;border-radius:14px;border:1px solid var(--border);background:rgba(15,23,42,.72);color:var(--text);font-weight:800;padding:0 12px;}
.provider-focus-card{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 16px;padding:14px 16px;border:1px solid rgba(20,184,166,.28);border-radius:18px;background:linear-gradient(135deg, rgba(20,184,166,.14), rgba(59,130,246,.08));box-shadow:0 14px 34px rgba(0,0,0,.12)}
.provider-focus-card b{font-size:16px}.provider-focus-card span{color:var(--muted);font-weight:800}.service-therapist-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:6px;min-width:260px}.service-therapist-checks label{display:flex;align-items:center;gap:6px;border:1px solid var(--border);border-radius:12px;padding:6px 8px;background:rgba(15,23,42,.35);font-size:12px;font-weight:800;color:var(--text)}.service-therapist-checks input{width:auto;margin:0}.patient-search-results{border:1px solid var(--border)!important;background:var(--card)!important;color:var(--text)!important;margin-top:-10px;margin-bottom:14px;max-height:180px;overflow:auto;border-radius:14px;box-shadow:0 18px 40px rgba(0,0,0,.2)}
.settings-services-table th:nth-child(5),.settings-services-table td:nth-child(5){min-width:280px}


/* Hasta terapist/hizmet atama ve aktarım görünümü */
.patient-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;margin-bottom:12px}
.transfer-badge{display:inline-block;margin-top:5px;padding:4px 8px;border-radius:999px;background:rgba(245,158,11,.14);border:1px solid rgba(245,158,11,.35);color:#facc15;font-weight:700}
@media(max-width:760px){.patient-form-grid{grid-template-columns:1fr}}

/* Hasta Profili modern bakım paketi */
.patient-profile-modern{display:flex;flex-direction:column;gap:14px;color:#f3f7ff}.modal.large:has(.patient-profile-modern){width:min(1180px,96vw)!important}.patient-profile-modern *{box-sizing:border-box}.ppm-topbar{display:grid;grid-template-columns:1.2fr 1.2fr .55fr .9fr;gap:10px;align-items:stretch;border:1px solid rgba(126,164,207,.24);border-radius:18px;padding:12px;background:linear-gradient(145deg,rgba(12,31,57,.90),rgba(5,17,34,.96));box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}.ppm-selector-card{display:flex;align-items:center;gap:12px;min-height:72px;border:1px solid rgba(126,164,207,.20);border-radius:16px;background:linear-gradient(135deg,rgba(18,49,91,.86),rgba(12,29,54,.92));padding:12px;cursor:pointer;transition:.18s}.ppm-selector-card:hover{transform:translateY(-1px);border-color:rgba(31,211,177,.55);box-shadow:0 12px 30px rgba(0,0,0,.18)}.ppm-selector-icon{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;font-size:22px;color:#fff;box-shadow:0 8px 25px rgba(0,0,0,.22)}.ppm-therapist .ppm-selector-icon{background:linear-gradient(135deg,#26d5bc,#1499e7)}.ppm-service .ppm-selector-icon{background:linear-gradient(135deg,#7c3aed,#2563eb)}.ppm-selector-text{display:flex;flex-direction:column;gap:5px;min-width:0}.ppm-selector-text span,.ppm-status-block span,.ppm-date-block span{color:#b9c9de;font-size:13px}.ppm-selector-text b{font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff}.ppm-chevron{margin-left:auto;width:34px;height:34px;border-radius:12px;display:grid;place-items:center;border:1px solid rgba(126,164,207,.20);background:rgba(4,15,29,.32);font-size:23px;color:#d7e7ff}.ppm-status-block,.ppm-date-block{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border-left:1px solid rgba(126,164,207,.30);padding:0 10px}.ppm-date-block{align-items:flex-start}.ppm-date-block b{font-size:16px;white-space:nowrap}.ppm-status{display:inline-flex;align-items:center;justify-content:center;min-width:92px;border-radius:12px;padding:9px 14px;font-size:18px}.ppm-status.active{color:#d7ffe8;background:linear-gradient(135deg,rgba(16,185,129,.55),rgba(21,128,61,.72))}.ppm-status.passive{color:#ffe4e6;background:linear-gradient(135deg,rgba(239,68,68,.55),rgba(136,19,55,.72))}.ppm-transfer-note{border:1px solid rgba(245,158,11,.38);background:rgba(245,158,11,.12);color:#fde68a;border-radius:14px;padding:10px 12px}.ppm-grid-main{display:grid;grid-template-columns:1.2fr .9fr;gap:14px}.ppm-left,.ppm-right{display:flex;flex-direction:column;gap:14px}.ppm-card{border:1px solid rgba(126,164,207,.24);border-radius:18px;background:linear-gradient(145deg,rgba(11,32,60,.92),rgba(5,18,35,.96));box-shadow:0 18px 45px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.04);padding:16px}.ppm-card h3{margin:0 0 14px;font-size:20px;color:#fff}.ppm-identity-card{display:grid;grid-template-columns:138px 1fr 1fr;gap:16px;align-items:center;min-height:190px}.ppm-patient-avatar{width:116px;height:116px;border-radius:999px;display:grid;place-items:center;border:3px solid rgba(255,255,255,.88);box-shadow:0 15px 45px rgba(0,0,0,.30);font-size:54px;color:#fff}.ppm-patient-avatar.female{background:radial-gradient(circle at 30% 25%,#ff9fc7,#b43c85 58%,#6236c9)}.ppm-patient-avatar.male{background:radial-gradient(circle at 30% 25%,#70d7ff,#2563eb 58%,#1e3a8a)}.ppm-patient-avatar.neutral{background:radial-gradient(circle at 30% 25%,#a7f3d0,#0f766e 58%,#164e63)}.ppm-patient-core h2{font-size:29px;margin:0 0 18px;color:#fff}.ppm-pill{display:flex;align-items:center;gap:8px;border:1px solid rgba(126,164,207,.22);border-radius:999px;background:rgba(4,15,29,.36);padding:10px 14px;margin:9px 0;color:#e8f3ff;font-size:16px}.ppm-vitals{border-left:1px solid rgba(126,164,207,.25);padding-left:16px;display:grid;gap:13px}.ppm-vitals div{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center}.ppm-vitals i{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#2563eb,#083e78);font-style:normal}.ppm-vitals i.female{background:linear-gradient(135deg,#ec4899,#7c3aed)}.ppm-vitals i.male{background:linear-gradient(135deg,#38bdf8,#2563eb)}.ppm-vitals span{color:#c2d2e8}.ppm-vitals b{font-size:16px}.ppm-action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ppm-action{min-height:94px;border-radius:16px;background:linear-gradient(145deg,rgba(16,42,76,.94),rgba(7,23,45,.98));border:1px solid rgba(126,164,207,.24);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#fff;font-weight:900}.ppm-action span{font-size:31px;color:#20e3c0}.ppm-stat-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.ppm-stat-row div{display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;gap:2px 9px;align-items:center;border-right:1px solid rgba(126,164,207,.20);padding:8px}.ppm-stat-row div:last-child{border-right:0}.ppm-stat-row span{grid-row:1/3;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:rgba(59,130,246,.18)}.ppm-stat-row small{color:#b9c9de}.ppm-stat-row b{font-size:24px}.ppm-stat-row b.ok{color:#33f28b}.ppm-stat-row b.warn,.ppm-money-row b.warn{color:#ffb020}.ppm-two-buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ppm-two-buttons button{border-radius:18px;min-height:78px;color:#fff;font-size:16px;font-weight:900}.ppm-blue{background:linear-gradient(135deg,#096fd8,#0b4fa6)!important}.ppm-green{background:linear-gradient(135deg,#12b981,#12813f)!important}.ppm-journey-card h3{display:flex;justify-content:space-between}.ppm-journey-card h3 span{width:14px;height:14px;border-radius:50%;background:#18e0a9;box-shadow:0 0 15px rgba(24,224,169,.65)}.ppm-journey-box{border:1px solid rgba(31,211,177,.42);border-radius:14px;background:rgba(12,104,95,.18);padding:12px;max-height:130px;overflow:auto}.ppm-journey-box .patient-journey{margin:0}.ppm-journey-box .journey-item{background:transparent;border:0;padding:4px}.ppm-money-row{display:grid;grid-template-columns:1fr 1fr;border:1px solid rgba(31,211,177,.25);border-radius:16px;background:rgba(18,117,118,.20);overflow:hidden}.ppm-money-row div{padding:14px 20px}.ppm-money-row div+div{border-left:1px solid rgba(126,164,207,.28)}.ppm-money-row span{display:block;color:#c2d2e8;margin-bottom:5px}.ppm-money-row b{font-size:27px;color:#19f6c2}.ppm-file-box{border:1px solid rgba(126,164,207,.20);border-radius:14px;background:rgba(10,34,66,.58);padding:14px;color:#d8e7fb}.ppm-bottom-actions{display:grid;grid-template-columns:1fr 1fr .65fr;gap:16px;margin-top:2px}.ppm-big{min-height:58px;border-radius:18px!important;font-size:18px!important;font-weight:900!important;color:#fff!important}.ppm-big.green{background:linear-gradient(135deg,#18c989,#079756)!important}.ppm-big.blue{background:linear-gradient(135deg,#0ea5e9,#1d4ed8)!important}.ppm-big.dark{background:linear-gradient(135deg,#162b48,#0b1728)!important;border:1px solid rgba(126,164,207,.28)!important}@media(max-width:980px){.ppm-topbar,.ppm-grid-main,.ppm-identity-card,.ppm-bottom-actions{grid-template-columns:1fr}.ppm-status-block,.ppm-date-block{border-left:0;border-top:1px solid rgba(126,164,207,.22);align-items:flex-start;padding-top:10px}.ppm-action-grid,.ppm-stat-row,.ppm-two-buttons{grid-template-columns:1fr 1fr}.ppm-vitals{border-left:0;border-top:1px solid rgba(126,164,207,.20);padding-left:0;padding-top:14px}}


/* Hasta formu - terapist ve hizmet seçimleri */
.patient-row-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-start}
.patient-form-modern{display:flex;flex-direction:column;gap:16px}
.patient-form-top-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:4px 0 6px;padding-bottom:14px;border-bottom:1px solid rgba(148,163,184,.22)}
.patient-form-choice-card{display:flex;gap:14px;align-items:flex-start;padding:16px;border-radius:22px;background:linear-gradient(135deg,rgba(15,23,42,.96),rgba(12,32,43,.94));border:1px solid rgba(45,212,191,.26);box-shadow:0 18px 42px rgba(0,0,0,.22)}
.patient-form-choice-card.service-choice-card{border-color:rgba(52,211,153,.28);background:linear-gradient(135deg,rgba(14,35,38,.96),rgba(18,42,32,.94))}
.patient-form-choice-icon{width:48px;height:48px;min-width:48px;border-radius:18px;display:grid;place-items:center;font-size:25px;font-weight:900;background:rgba(45,212,191,.14);border:1px solid rgba(45,212,191,.28);color:#67e8f9;box-shadow:inset 0 0 18px rgba(45,212,191,.08)}
.service-choice-card .patient-form-choice-icon{background:rgba(34,197,94,.14);border-color:rgba(34,197,94,.28);color:#86efac}
.patient-form-choice-body{flex:1;min-width:0}
.patient-form-choice-body label{margin:0 0 7px;color:#dffcf8;font-weight:900;letter-spacing:.01em}
.patient-form-choice-body select{height:46px;border-radius:16px;background:rgba(2,6,23,.82);border:1px solid rgba(148,163,184,.24);color:#e5f7f5;font-weight:800;padding:0 14px}
.patient-form-choice-body small{display:block;margin-top:7px;color:#8fb5ba;font-size:12px;line-height:1.35}
.patient-form-modern .patient-form-grid{margin-top:0}
.patient-form-actions{display:flex;justify-content:flex-end;margin-top:4px}
.patient-form-actions button{min-width:160px;border-radius:16px;font-weight:900}
.modal-back .modal.large .patient-form-modern{max-width:100%}
@media (max-width: 760px){.patient-form-top-choice{grid-template-columns:1fr}.patient-form-choice-card{padding:14px}.patient-form-choice-icon{width:42px;height:42px;min-width:42px;font-size:22px}}


/* Hasta ekle/düzenle modern form - nazik tipografi */
.modal.large:has(.patient-form-modern-v2){width:min(1080px,96vw)!important;}
.modal:has(.patient-form-modern-v2){background:linear-gradient(145deg,#10243d 0%,#09182c 58%,#061226 100%)!important;border:1px solid rgba(126,164,207,.26)!important;border-radius:20px!important;box-shadow:0 28px 80px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.04)!important;padding:22px 26px!important;color:#e9f3ff!important;}
.modal:has(.patient-form-modern-v2) .modal-head{border-bottom:0!important;margin-bottom:14px!important;padding-bottom:0!important;}
.modal:has(.patient-form-modern-v2) .modal-head h3{font-size:21px!important;font-weight:650!important;letter-spacing:.01em;color:#f6fbff!important;}
.modal:has(.patient-form-modern-v2) .modal-head h3:before{content:'♙';display:inline-grid;place-items:center;width:42px;height:42px;margin-right:12px;border-radius:14px;background:linear-gradient(135deg,rgba(37,99,235,.55),rgba(14,165,233,.25));border:1px solid rgba(96,165,250,.40);color:#dbeafe;font-size:22px;vertical-align:middle;}
.modal:has(.patient-form-modern-v2) .modal-head button{width:44px;height:44px;border-radius:14px!important;font-size:0!important;background:rgba(3,12,26,.48)!important;border:1px solid rgba(126,164,207,.26)!important;color:#fff!important;}
.modal:has(.patient-form-modern-v2) .modal-head button:after{content:'×';font-size:32px;font-weight:300;line-height:1;}
.patient-form-modern-v2{display:flex;flex-direction:column;gap:18px;color:#e9f3ff;font-weight:400;}
.patient-form-modern-v2 *{box-sizing:border-box;}
.pfm-choice-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:2px;}
.pfm-choice-card{display:grid;grid-template-columns:70px 1fr;gap:16px;align-items:center;min-height:142px;padding:22px 24px;border-radius:24px;border:1px solid rgba(96,165,250,.28);background:radial-gradient(circle at 20% 15%,rgba(59,130,246,.20),transparent 42%),linear-gradient(145deg,rgba(14,35,68,.96),rgba(7,23,45,.98));box-shadow:0 18px 48px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.04);}
.pfm-choice-card.service{border-color:rgba(34,197,94,.28);background:radial-gradient(circle at 20% 15%,rgba(34,197,94,.18),transparent 42%),linear-gradient(145deg,rgba(12,57,54,.94),rgba(7,31,32,.98));}
.pfm-choice-icon{width:62px;height:62px;border-radius:22px;display:grid;place-items:center;font-size:29px;font-weight:500;color:#fff;background:linear-gradient(135deg,#4f46e5,#2563eb);box-shadow:0 14px 30px rgba(37,99,235,.24);}
.pfm-choice-card.service .pfm-choice-icon{background:linear-gradient(135deg,#0f766e,#16a34a);box-shadow:0 14px 30px rgba(22,163,74,.22);}
.pfm-choice-label{font-size:15px;color:#f4fbff;margin-bottom:10px;font-weight:650;}
.pfm-choice-content select{width:100%;height:52px;border-radius:15px!important;padding:0 16px!important;background:rgba(4,13,29,.72)!important;border:1px solid rgba(126,164,207,.24)!important;color:#f7fbff!important;font-size:16px!important;font-weight:600!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.02)!important;}
.pfm-choice-help{margin-top:14px;color:#9fb4cb;font-size:14px;line-height:1.45;font-weight:400;}
.pfm-section-title{display:flex;align-items:center;gap:10px;margin:4px 0 -4px;color:#f3f9ff;border-bottom:1px solid rgba(126,164,207,.22);padding-bottom:10px;}
.pfm-section-title span{width:30px;height:30px;border-radius:12px;display:grid;place-items:center;background:rgba(59,130,246,.14);border:1px solid rgba(96,165,250,.22);color:#7dd3fc;}
.pfm-section-title.address span{color:#5eead4;background:rgba(20,184,166,.14);border-color:rgba(45,212,191,.24);}
.pfm-section-title b{font-size:17px;font-weight:650;}
.pfm-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px;}
.pfm-field,.pfm-textarea-field{display:flex;flex-direction:column;gap:8px;margin:0!important;}
.pfm-field span,.pfm-textarea-field span{font-size:14px;color:#f0f7ff;font-weight:600;}
.pfm-input-wrap,.pfm-textarea-wrap{position:relative;display:flex;align-items:center;border-radius:15px;border:1px solid rgba(126,164,207,.23);background:linear-gradient(145deg,rgba(9,25,48,.70),rgba(4,13,27,.86));box-shadow:inset 0 1px 0 rgba(255,255,255,.03);overflow:hidden;}
.pfm-input-wrap i,.pfm-textarea-wrap i{width:46px;min-width:46px;text-align:center;color:#7aa7ff;font-style:normal;font-size:19px;font-weight:400;opacity:.92;}
.pfm-input-wrap input,.pfm-input-wrap select{height:52px;margin:0!important;padding:0 14px 0 0!important;border:0!important;background:transparent!important;color:#eaf4ff!important;font-size:15px!important;font-weight:400!important;outline:none!important;box-shadow:none!important;}
.pfm-input-wrap select{padding-right:12px!important;}
.pfm-input-wrap input::placeholder,.pfm-textarea-wrap textarea::placeholder{color:#7891aa;}
.pfm-bmi-preview{height:52px;display:flex;align-items:center;padding:0 16px;border-radius:15px;border:1px solid rgba(45,212,191,.25);background:linear-gradient(145deg,rgba(12,68,70,.52),rgba(8,40,52,.72));color:#c9fff3;font-size:15px;font-weight:500;}
.pfm-textarea-wrap{align-items:flex-start;}
.pfm-textarea-wrap i{padding-top:18px;}
.pfm-textarea-wrap textarea{min-height:76px;margin:0!important;padding:16px 16px 16px 0!important;border:0!important;background:transparent!important;color:#eaf4ff!important;font-size:15px!important;font-weight:400!important;outline:none!important;box-shadow:none!important;resize:vertical;}
.patient-form-actions-v2{display:flex;justify-content:flex-end;margin-top:2px;}
.patient-form-actions-v2 button{min-width:210px;height:58px;border-radius:16px!important;background:linear-gradient(135deg,#20d3ae,#17a488)!important;color:#06241d!important;border:0!important;font-size:16px!important;font-weight:650!important;box-shadow:0 16px 34px rgba(32,211,174,.20)!important;}
.patient-form-actions-v2 button:hover{transform:translateY(-1px);filter:brightness(1.04);}
.modal:has(.patient-form-modern-v2) label{font-weight:500!important;}
@media(max-width:820px){.pfm-choice-row,.pfm-field-grid{grid-template-columns:1fr}.pfm-choice-card{grid-template-columns:56px 1fr;min-height:auto;padding:16px}.pfm-choice-icon{width:52px;height:52px;border-radius:18px}.modal:has(.patient-form-modern-v2){padding:18px!important}}

/* Responsive modal bakım paketi - hasta formu ve profil ekranı */
.modal-back:has(.patient-form-modern-v2),
.modal-back:has(.patient-profile-modern){
  align-items:center!important;
  padding:14px!important;
}
.modal:has(.patient-form-modern-v2),
.modal.large:has(.patient-profile-modern){
  max-height:calc(100vh - 28px)!important;
  overflow:hidden!important;
}

/* Hasta Ekle / Düzenle: ekrana sığan kompakt görünüm */
.modal.large:has(.patient-form-modern-v2){
  width:min(1160px,96vw)!important;
}
.modal:has(.patient-form-modern-v2){
  padding:14px 20px 16px!important;
}
.modal:has(.patient-form-modern-v2) .modal-head{
  margin-bottom:10px!important;
}
.modal:has(.patient-form-modern-v2) .modal-head h3{
  font-size:18px!important;
  font-weight:500!important;
}
.modal:has(.patient-form-modern-v2) .modal-head h3:before{
  width:34px!important;
  height:34px!important;
  border-radius:12px!important;
  font-size:18px!important;
  margin-right:10px!important;
}
.patient-form-modern-v2{
  gap:10px!important;
  max-height:calc(100vh - 118px)!important;
  overflow:visible!important;
  font-weight:400!important;
}
.pfm-choice-row{
  gap:12px!important;
  margin-bottom:4px!important;
}
.pfm-choice-card{
  min-height:104px!important;
  padding:14px 16px!important;
  border-radius:18px!important;
  grid-template-columns:58px 1fr!important;
}
.pfm-choice-icon{
  width:52px!important;
  height:52px!important;
  border-radius:17px!important;
  font-size:24px!important;
}
.pfm-choice-card label,
.pfm-choice-card b,
.pfm-section-title b,
.pfm-field span,
.pfm-textarea-field span{
  font-weight:500!important;
}
.pfm-choice-card select{
  height:42px!important;
  margin-top:8px!important;
}
.pfm-choice-card p{
  margin:8px 0 0!important;
  line-height:1.35!important;
  font-size:12px!important;
}
.pfm-section-title{
  margin-top:2px!important;
  padding-top:4px!important;
}
.pfm-field-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:9px 12px!important;
}
.pfm-field,.pfm-textarea-field{
  gap:5px!important;
}
.pfm-input-wrap{
  min-height:40px!important;
  height:40px!important;
}
.pfm-input-wrap input,
.pfm-input-wrap select{
  height:38px!important;
  min-height:38px!important;
  font-size:13px!important;
}
.pfm-bmi-preview{
  min-height:40px!important;
  height:40px!important;
  padding:10px 12px!important;
  font-size:13px!important;
}
.pfm-section-title.address{
  margin-top:4px!important;
}
.pfm-textarea-wrap textarea{
  min-height:58px!important;
  height:58px!important;
  font-size:13px!important;
}
.patient-form-actions-v2{
  margin-top:4px!important;
}
.patient-form-actions-v2 button{
  min-height:44px!important;
  padding:0 28px!important;
  font-size:14px!important;
  font-weight:500!important;
  border-radius:14px!important;
}

/* Hasta profili: ekrana sığan kompakt görünüm ve hafif fontlar */
.modal.large:has(.patient-profile-modern){
  width:min(1120px,96vw)!important;
  padding:14px 18px 16px!important;
}
.patient-profile-modern{
  gap:9px!important;
  font-weight:400!important;
  max-height:calc(100vh - 116px)!important;
  overflow:visible!important;
}
.patient-profile-modern b,
.patient-profile-modern h2,
.patient-profile-modern h3,
.patient-profile-modern button{
  font-weight:500!important;
}
.ppm-topbar{
  padding:9px!important;
  gap:8px!important;
  border-radius:16px!important;
}
.ppm-selector-card{
  min-height:58px!important;
  padding:9px 10px!important;
  border-radius:14px!important;
}
.ppm-selector-icon{
  width:38px!important;
  height:38px!important;
  border-radius:13px!important;
  font-size:18px!important;
}
.ppm-selector-text span,.ppm-status-block span,.ppm-date-block span{
  font-size:11px!important;
}
.ppm-selector-text b{
  font-size:14px!important;
}
.ppm-chevron{
  width:28px!important;
  height:28px!important;
  border-radius:10px!important;
  font-size:18px!important;
}
.ppm-status-block,.ppm-date-block{
  gap:5px!important;
  padding:0 8px!important;
}
.ppm-status{
  min-width:76px!important;
  padding:7px 10px!important;
  font-size:14px!important;
  border-radius:10px!important;
}
.ppm-date-block b{
  font-size:12px!important;
}
.ppm-grid-main{
  gap:10px!important;
}
.ppm-left,.ppm-right{
  gap:10px!important;
}
.ppm-card{
  padding:11px 12px!important;
  border-radius:16px!important;
}
.ppm-card h3{
  margin:0 0 9px!important;
  font-size:16px!important;
  font-weight:500!important;
}
.ppm-identity-card{
  grid-template-columns:105px 1fr 1fr!important;
  min-height:135px!important;
  gap:11px!important;
}
.ppm-patient-avatar{
  width:86px!important;
  height:86px!important;
  font-size:42px!important;
  border-width:2px!important;
}
.ppm-patient-core h2{
  font-size:22px!important;
  margin:0 0 10px!important;
  font-weight:500!important;
}
.ppm-pill{
  margin:6px 0!important;
  padding:7px 10px!important;
  font-size:13px!important;
}
.ppm-vitals{
  gap:8px!important;
  padding-left:12px!important;
}
.ppm-vitals div{
  grid-template-columns:32px 1fr auto!important;
  gap:7px!important;
}
.ppm-vitals i{
  width:28px!important;
  height:28px!important;
  font-size:13px!important;
}
.ppm-vitals span{
  font-size:12px!important;
}
.ppm-vitals b{
  font-size:13px!important;
  font-weight:500!important;
}
.ppm-action-grid{
  gap:9px!important;
}
.ppm-action{
  min-height:68px!important;
  gap:5px!important;
  border-radius:14px!important;
  font-weight:500!important;
  font-size:13px!important;
}
.ppm-action span{
  font-size:22px!important;
}
.ppm-two-buttons{
  gap:9px!important;
}
.ppm-two-buttons button{
  min-height:58px!important;
  font-size:13px!important;
  font-weight:500!important;
  border-radius:14px!important;
}
.ppm-journey-box{
  max-height:74px!important;
  padding:9px!important;
  font-size:12px!important;
}
.ppm-money-row div{
  padding:10px 14px!important;
}
.ppm-money-row span{
  font-size:12px!important;
}
.ppm-money-row b{
  font-size:21px!important;
  font-weight:500!important;
}
.ppm-file-box{
  padding:10px 12px!important;
  font-size:12px!important;
}
.ppm-stat-row div{
  padding:5px!important;
  grid-template-columns:34px 1fr!important;
}
.ppm-stat-row span{
  width:30px!important;
  height:30px!important;
  font-size:12px!important;
}
.ppm-stat-row small{
  font-size:10px!important;
}
.ppm-stat-row b{
  font-size:18px!important;
  font-weight:500!important;
}
.ppm-bottom-actions{
  gap:10px!important;
  margin-top:0!important;
}
.ppm-big{
  min-height:44px!important;
  border-radius:14px!important;
  font-size:14px!important;
  font-weight:500!important;
  letter-spacing:0!important;
}

@media(max-height:760px){
  .modal:has(.patient-form-modern-v2){padding:10px 16px 12px!important;}
  .patient-form-modern-v2{gap:7px!important;}
  .pfm-choice-card{min-height:88px!important;padding:10px 12px!important;}
  .pfm-choice-icon{width:44px!important;height:44px!important;font-size:20px!important;}
  .pfm-choice-card p{display:none!important;}
  .pfm-input-wrap,.pfm-input-wrap input,.pfm-input-wrap select,.pfm-bmi-preview{height:34px!important;min-height:34px!important;}
  .pfm-textarea-wrap textarea{height:44px!important;min-height:44px!important;}
  .modal.large:has(.patient-profile-modern){padding:10px 14px 12px!important;}
  .patient-profile-modern{gap:7px!important;}
  .ppm-card{padding:9px 10px!important;}
  .ppm-identity-card{min-height:116px!important;}
  .ppm-patient-avatar{width:74px!important;height:74px!important;font-size:36px!important;}
  .ppm-action{min-height:56px!important;}
  .ppm-journey-box{max-height:58px!important;}
  .ppm-big{min-height:40px!important;font-size:13px!important;}
}

@media(max-width:980px){
  .modal:has(.patient-form-modern-v2),
  .modal.large:has(.patient-profile-modern){overflow:auto!important;}
  .pfm-field-grid{grid-template-columns:1fr 1fr!important;}
}
@media(max-width:720px){
  .pfm-choice-row,.pfm-field-grid{grid-template-columns:1fr!important;}
}

/* === STANDART SABLON TOPLU BAKIM PAKETI 20260524 === */
.modal:has(.std-template),
.modal.std-force-modal{
  width:min(1040px,96vw)!important;
  max-height:calc(100vh - 28px)!important;
  overflow:hidden!important;
  padding:18px 22px!important;
  border-radius:24px!important;
  border:1px solid rgba(126,164,207,.24)!important;
  background:linear-gradient(145deg,#10243d 0%,#09182c 62%,#061226 100%)!important;
  color:#e9f3ff!important;
  box-shadow:0 28px 80px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.04)!important;
}
.modal:has(.std-template) .modal-head,
.modal.std-force-modal .modal-head{border-bottom:0!important;margin-bottom:8px!important;padding-bottom:0!important;}
.modal:has(.std-template) .modal-head h3,
.modal.std-force-modal .modal-head h3{font-size:0!important;margin:0!important;}
.modal:has(.std-template) .modal-head button,
.modal.std-force-modal .modal-head button{width:42px;height:42px;border-radius:14px!important;font-size:0!important;background:rgba(3,12,26,.48)!important;border:1px solid rgba(126,164,207,.26)!important;color:#fff!important;margin:0!important;}
.modal:has(.std-template) .modal-head button:after,
.modal.std-force-modal .modal-head button:after{content:'×';font-size:30px;font-weight:300;line-height:1;}
.std-template{display:flex;flex-direction:column;gap:12px;max-height:calc(100vh - 110px);overflow:visible;color:#e9f3ff;font-weight:400;}
.std-template *{box-sizing:border-box;}
.std-template-head{display:flex;align-items:center;gap:13px;padding-bottom:10px;border-bottom:1px solid rgba(126,164,207,.20);}
.std-template-icon{width:48px;height:48px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(37,99,235,.62),rgba(20,184,166,.22));border:1px solid rgba(96,165,250,.35);font-size:24px;box-shadow:0 16px 34px rgba(37,99,235,.18);}
.std-template-head h2{margin:0;font-size:21px;font-weight:520;color:#f7fbff;letter-spacing:.01em;}
.std-template-head p{margin:4px 0 0;color:#9fb4cb;font-size:13px;line-height:1.35;font-weight:400;}
.std-choice-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.std-choice-card{display:grid;grid-template-columns:54px 1fr;gap:12px;align-items:center;min-height:100px;padding:14px;border-radius:19px;border:1px solid rgba(96,165,250,.26);background:radial-gradient(circle at 20% 15%,rgba(59,130,246,.18),transparent 42%),linear-gradient(145deg,rgba(14,35,68,.93),rgba(7,23,45,.97));box-shadow:0 18px 42px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.035);}
.std-choice-card.service{border-color:rgba(34,197,94,.28);background:radial-gradient(circle at 20% 15%,rgba(34,197,94,.16),transparent 42%),linear-gradient(145deg,rgba(12,57,54,.92),rgba(7,31,32,.98));}
.std-choice-icon{width:48px;height:48px;border-radius:17px;display:grid;place-items:center;font-size:23px;font-weight:400;color:#fff;background:linear-gradient(135deg,#4f46e5,#2563eb);box-shadow:0 14px 30px rgba(37,99,235,.22);}
.std-choice-card.service .std-choice-icon{background:linear-gradient(135deg,#0f766e,#16a34a);}
.std-choice-content label{display:block;margin:0 0 7px!important;color:#f3f9ff!important;font-size:14px!important;font-weight:520!important;}
.std-choice-content select,.std-choice-content input{width:100%;height:42px;border-radius:14px!important;padding:0 13px!important;background:rgba(4,13,29,.72)!important;border:1px solid rgba(126,164,207,.24)!important;color:#f7fbff!important;font-size:14px!important;font-weight:400!important;margin:0!important;}
.std-choice-content small{display:block;margin-top:7px;color:#9fb4cb;font-size:12px;line-height:1.35;font-weight:400;}
.std-section-title{display:flex;align-items:center;gap:9px;color:#f3f9ff;border-bottom:1px solid rgba(126,164,207,.20);padding:2px 0 8px;}
.std-section-title span{width:30px;height:30px;border-radius:12px;display:grid;place-items:center;background:rgba(59,130,246,.14);border:1px solid rgba(96,165,250,.22);color:#7dd3fc;font-weight:400;}
.std-section-title b{font-size:16px;font-weight:520;}
.std-field-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 12px;}
.std-field-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}
.std-field{display:flex;flex-direction:column;gap:5px;margin:0!important;min-width:0;}
.std-field span,.std-inline-label{font-size:13px;color:#f0f7ff;font-weight:500;margin-bottom:2px;}
.std-field-wide{grid-column:1/-1;}
.std-input-wrap{position:relative;display:flex;align-items:center;min-height:40px;height:40px;border-radius:14px;border:1px solid rgba(126,164,207,.22);background:linear-gradient(145deg,rgba(9,25,48,.68),rgba(4,13,27,.84));box-shadow:inset 0 1px 0 rgba(255,255,255,.03);overflow:hidden;}
.std-input-wrap.textarea{height:auto;min-height:60px;align-items:flex-start;}
.std-input-wrap i{width:42px;min-width:42px;text-align:center;color:#7aa7ff;font-style:normal;font-size:17px;font-weight:400;opacity:.92;}
.std-input-wrap.textarea i{padding-top:16px;}
.std-input-wrap input,.std-input-wrap select{height:38px;min-height:38px;margin:0!important;padding:0 12px 0 0!important;border:0!important;background:transparent!important;color:#eaf4ff!important;font-size:13px!important;font-weight:400!important;outline:none!important;box-shadow:none!important;width:100%;}
.std-input-wrap textarea{min-height:58px;height:58px;width:100%;margin:0!important;padding:13px 14px 13px 0!important;border:0!important;background:transparent!important;color:#eaf4ff!important;font-size:13px!important;font-weight:400!important;outline:none!important;box-shadow:none!important;resize:vertical;}
.std-info-box{display:flex;align-items:center;min-height:40px;height:40px;padding:0 13px;border-radius:14px;border:1px solid rgba(45,212,191,.25);background:linear-gradient(145deg,rgba(12,68,70,.52),rgba(8,40,52,.72));color:#c9fff3;font-size:13px;font-weight:400;}
.std-template-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:2px;padding-top:10px;border-top:1px solid rgba(126,164,207,.18);}
.std-template-actions button{min-height:42px;border-radius:14px!important;padding:0 26px!important;font-size:14px!important;font-weight:500!important;margin:0!important;}
.std-template-actions button:not(.light){background:linear-gradient(135deg,#20d3ae,#17a488)!important;color:#06241d!important;border:0!important;box-shadow:0 14px 30px rgba(32,211,174,.18)!important;}
.std-check-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;border:1px solid rgba(126,164,207,.22);border-radius:16px;padding:12px;background:rgba(4,13,29,.35);}
.std-check-panel label{display:flex!important;gap:8px;align-items:center;margin:0!important;color:#eaf4ff;font-weight:400!important;}
.std-check-panel input{width:auto!important;margin:0!important;}
.std-list-wrap{display:grid;gap:10px;max-height:58vh;overflow:auto;padding-right:3px;}
.std-list-card{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid rgba(126,164,207,.22);border-radius:16px;padding:12px 14px;background:rgba(4,13,29,.35);}
.std-list-card b{display:block;color:#f7fbff;font-weight:520;margin-bottom:3px;}.std-list-card span,.std-list-card p{display:block;color:#9fb4cb;font-size:12px;margin:0;line-height:1.4}.std-empty{border:1px dashed rgba(126,164,207,.24);border-radius:16px;padding:22px;text-align:center;color:#9fb4cb;background:rgba(4,13,29,.28)}
.std-tab-content .panel,.std-force-modal .panel{background:rgba(4,13,29,.38)!important;border:1px solid rgba(126,164,207,.22)!important;border-radius:18px!important;box-shadow:none!important;color:#e9f3ff!important;}
.std-tab-content .panel-title h2,.std-force-modal .panel-title h2{font-weight:520!important;color:#f7fbff!important;}
.std-tab-content label,.std-force-modal label{font-weight:500!important;color:#e9f3ff!important;}
.std-tab-content input,.std-tab-content select,.std-tab-content textarea,.std-force-modal input,.std-force-modal select,.std-force-modal textarea{border-radius:14px!important;background:rgba(4,13,29,.70)!important;border:1px solid rgba(126,164,207,.24)!important;color:#f7fbff!important;font-weight:400!important;}
.std-tab-content .actions button,.std-force-modal .actions button{font-weight:500!important;border-radius:14px!important;}
body.force-light .modal:has(.std-template),body.light-theme .modal:has(.std-template),body.force-light .modal.std-force-modal,body.light-theme .modal.std-force-modal{background:linear-gradient(145deg,#ffffff,#f4f7fb)!important;color:#172033!important;border-color:#dbe4ee!important;box-shadow:0 24px 70px rgba(15,23,42,.18)!important;}
body.force-light .std-template,body.light-theme .std-template{color:#172033!important;}body.force-light .std-template-head h2,body.light-theme .std-template-head h2,body.force-light .std-section-title b,body.light-theme .std-section-title b{color:#172033!important;}body.force-light .std-template-head p,body.light-theme .std-template-head p,body.force-light .std-choice-content small,body.light-theme .std-choice-content small,body.force-light .std-list-card span,body.light-theme .std-list-card span,body.force-light .std-list-card p,body.light-theme .std-list-card p{color:#64748b!important;}body.force-light .std-choice-card,body.light-theme .std-choice-card,body.force-light .std-input-wrap,body.light-theme .std-input-wrap,body.force-light .std-list-card,body.light-theme .std-list-card,body.force-light .std-check-panel,body.light-theme .std-check-panel{background:#f8fafc!important;border-color:#dbe4ee!important;box-shadow:none!important;}body.force-light .std-choice-content label,body.light-theme .std-choice-content label,body.force-light .std-field span,body.light-theme .std-field span,body.force-light .std-inline-label,body.light-theme .std-inline-label{color:#1f2937!important;}body.force-light .std-choice-content select,body.light-theme .std-choice-content select,body.force-light .std-choice-content input,body.light-theme .std-choice-content input,body.force-light .std-input-wrap input,body.light-theme .std-input-wrap input,body.force-light .std-input-wrap select,body.light-theme .std-input-wrap select,body.force-light .std-input-wrap textarea,body.light-theme .std-input-wrap textarea{background:#fff!important;color:#111827!important;border-color:#dbe4ee!important;}body.force-light .std-info-box,body.light-theme .std-info-box{background:#ecfdf5!important;color:#047857!important;border-color:#a7f3d0!important;}body.force-light .std-tab-content .panel,body.light-theme .std-tab-content .panel,body.force-light .std-force-modal .panel,body.light-theme .std-force-modal .panel{background:#fff!important;color:#111827!important;border-color:#dbe4ee!important;}body.force-light .std-tab-content input,body.light-theme .std-tab-content input,body.force-light .std-tab-content select,body.light-theme .std-tab-content select,body.force-light .std-tab-content textarea,body.light-theme .std-tab-content textarea,body.force-light .std-force-modal input,body.light-theme .std-force-modal input,body.force-light .std-force-modal select,body.light-theme .std-force-modal select,body.force-light .std-force-modal textarea,body.light-theme .std-force-modal textarea{background:#fff!important;color:#111827!important;border-color:#dbe4ee!important;}
@media(max-height:760px){.modal:has(.std-template){padding:12px 16px!important}.std-template{gap:8px;max-height:calc(100vh - 92px)}.std-choice-card{min-height:84px;padding:10px 12px}.std-choice-icon{width:42px;height:42px;font-size:20px}.std-choice-content small{display:none}.std-input-wrap,.std-info-box{height:34px;min-height:34px}.std-input-wrap input,.std-input-wrap select{height:32px;min-height:32px}.std-input-wrap textarea{height:44px;min-height:44px}.std-template-actions{padding-top:7px}.std-template-actions button{min-height:38px}}
@media(max-width:900px){.std-choice-row,.std-field-grid,.std-field-grid.two{grid-template-columns:1fr!important}.modal:has(.std-template){overflow:auto!important}.std-template{overflow:visible}.std-list-card{align-items:flex-start;flex-direction:column}.std-check-panel{grid-template-columns:1fr}}
/* === END STANDART SABLON TOPLU BAKIM PAKETI 20260524 === */

/* === WHATSAPP / SMS STANDART SABLON NAZIK DOKUNUS 20260524 === */
.std-soft-note{border:1px solid rgba(45,212,191,.24);background:linear-gradient(135deg,rgba(20,184,166,.12),rgba(124,58,237,.10));color:#dff8ff;border-radius:18px;padding:12px 14px;font-weight:400;line-height:1.45;margin-bottom:14px}.std-compact-grid{gap:12px}.std-compact-grid .std-input-wrap textarea{min-height:76px}.std-field-grid.mini{gap:10px}.std-special-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-height:min(58vh,560px);overflow:auto;padding-right:4px}.std-special-card{background:rgba(4,13,29,.42);border:1px solid rgba(126,164,207,.20);border-radius:20px;padding:13px;box-shadow:0 12px 32px rgba(0,0,0,.16)}.std-special-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:10px}.std-special-head span{display:block;color:#f7fbff;font-size:14px;font-weight:500}.std-special-head small{display:block;color:#9fb1c9;font-size:11px;font-weight:400}.std-toggle-line{display:flex!important;align-items:center;gap:7px!important;color:#dbeafe!important;font-size:12px!important;font-weight:400!important;white-space:nowrap}.std-tab-modernized .panel{padding:14px!important;border-radius:20px!important}.std-tab-modernized .panel-title{margin-bottom:12px!important}.std-tab-modernized .notice,.std-tab-modernized .mini-log,.std-tab-modernized .robot-reply{border-radius:16px!important;font-weight:400!important}.std-tab-modernized .smart-card b{font-weight:500!important}.std-tab-modernized .chat-history-table-wrap{border-radius:18px!important;overflow:auto}.std-tab-modernized .actions{gap:8px!important;flex-wrap:wrap}.std-tab-modernized button,.std-template-actions button{font-weight:500!important}.whatsapp-clean-page .panel-title h2,.sms-clean-page .panel-title h2{font-weight:520!important}.whatsapp-top-menu-btn{font-weight:500!important}
body.light-theme .std-soft-note,body.force-light .std-soft-note{background:#ecfeff!important;border-color:#a5f3fc!important;color:#155e75!important}body.light-theme .std-special-card,body.force-light .std-special-card{background:#fff!important;border-color:#dbe4ee!important;color:#111827!important;box-shadow:0 12px 28px rgba(15,23,42,.08)!important}body.light-theme .std-special-head span,body.force-light .std-special-head span{color:#111827!important}body.light-theme .std-special-head small,body.force-light .std-special-head small{color:#64748b!important}body.light-theme .std-toggle-line,body.force-light .std-toggle-line{color:#334155!important}body.light-theme .std-tab-modernized .notice,body.force-light .std-tab-modernized .notice,body.light-theme .std-tab-modernized .robot-reply,body.force-light .std-tab-modernized .robot-reply{background:#f8fafc!important;color:#334155!important;border-color:#dbe4ee!important}
@media(max-width:900px){.std-special-grid{grid-template-columns:1fr;max-height:none}.std-compact-grid{grid-template-columns:1fr!important}}
/* === END WHATSAPP / SMS STANDART SABLON NAZIK DOKUNUS 20260524 === */

/* === ACIK TEMA GORSEL BAKIM - HASTA PROFILI + YONETICI AYARLARI === */
body.force-light .settings-shell,
body.force-light .patient-profile-modern{
  --lt-bg:#f4f8fc;
  --lt-panel:#ffffff;
  --lt-panel-2:#f8fbff;
  --lt-border:#dbe7f3;
  --lt-border-strong:#c7d8ea;
  --lt-text:#10243a;
  --lt-muted:#60758c;
  --lt-soft:#ecf4fb;
  --lt-accent:#19b99a;
  --lt-blue:#2563eb;
}

/* Yönetici Ayarları açık tema */
body.force-light .settings-hero h2,
body.force-light .settings-hero p,
body.force-light .settings-card-title h3,
body.force-light .settings-card-title p{
  color:var(--lt-text)!important;
  text-shadow:none!important;
}
body.force-light .settings-card{
  background:linear-gradient(145deg,#ffffff,#f6faff)!important;
  border:1px solid var(--lt-border)!important;
  box-shadow:0 18px 45px rgba(15,35,58,.08)!important;
  color:var(--lt-text)!important;
}
body.force-light .settings-step{
  background:#e7fbf6!important;
  border-color:#2ed3b4!important;
  color:#0b8f78!important;
  box-shadow:0 10px 24px rgba(25,185,154,.12)!important;
  font-weight:600!important;
}
body.force-light .settings-table-wrap{
  background:#ffffff!important;
  border-color:var(--lt-border)!important;
  box-shadow:none!important;
}
body.force-light .settings-services-table,
body.force-light .settings-services-table thead,
body.force-light .settings-services-table tbody,
body.force-light .settings-services-table tr,
body.force-light .settings-services-table th,
body.force-light .settings-services-table td{
  background:#ffffff!important;
  color:var(--lt-text)!important;
  border-color:#edf3f9!important;
}
body.force-light .settings-services-table th{
  background:#f1f6fb!important;
  color:#213a55!important;
  font-weight:600!important;
}
body.force-light .settings-services-table tr:nth-child(even) td{
  background:#fbfdff!important;
}
body.force-light .settings-services-table input,
body.force-light .settings-services-table select{
  background:#ffffff!important;
  color:#10243a!important;
  border:1px solid #c9d8e8!important;
  box-shadow:0 4px 12px rgba(15,35,58,.04)!important;
  font-weight:400!important;
}
body.force-light .settings-services-table input:focus,
body.force-light .settings-services-table select:focus{
  border-color:#19b99a!important;
  box-shadow:0 0 0 3px rgba(25,185,154,.12)!important;
}
body.force-light .service-therapist-checks label{
  background:#eef4fa!important;
  border:1px solid #cfdae6!important;
  color:#17314b!important;
  font-weight:500!important;
  box-shadow:none!important;
}
body.force-light .service-therapist-checks label:has(input:checked){
  background:linear-gradient(135deg,#e1fbf4,#edf5ff)!important;
  border-color:#8bdccc!important;
  color:#0d3b35!important;
}
body.force-light .service-therapist-checks span{
  color:inherit!important;
  font-weight:500!important;
}
body.force-light .settings-link-row,
body.force-light .license-strip div{
  background:#f8fbff!important;
  border-color:var(--lt-border)!important;
  color:var(--lt-text)!important;
}
body.force-light .license-strip b,
body.force-light .settings-link-row span{
  color:var(--lt-text)!important;
  font-weight:500!important;
}

/* Hasta profili açık tema: koyu kartları açık temaya çevir */
body.force-light .modal.large:has(.patient-profile-modern){
  background:#ffffff!important;
  border:1px solid var(--lt-border)!important;
  box-shadow:0 28px 80px rgba(15,35,58,.16)!important;
  color:var(--lt-text)!important;
}
body.force-light .modal.large:has(.patient-profile-modern) .modal-head{
  border-bottom:1px solid var(--lt-border)!important;
  background:#ffffff!important;
}
body.force-light .patient-profile-modern,
body.force-light .patient-profile-modern *{
  color:var(--lt-text)!important;
  text-shadow:none!important;
}
body.force-light .ppm-topbar,
body.force-light .ppm-card{
  background:linear-gradient(145deg,#ffffff,#f7fbff)!important;
  border:1px solid var(--lt-border)!important;
  box-shadow:0 14px 34px rgba(15,35,58,.08)!important;
}
body.force-light .ppm-selector-card{
  background:#f6faff!important;
  border:1px solid #d8e6f4!important;
  box-shadow:none!important;
}
body.force-light .ppm-selector-card:hover{
  border-color:#21c7a7!important;
  box-shadow:0 12px 28px rgba(25,185,154,.12)!important;
}
body.force-light .ppm-selector-text span,
body.force-light .ppm-status-block span,
body.force-light .ppm-date-block span,
body.force-light .ppm-vitals span,
body.force-light .ppm-stat-row small,
body.force-light .ppm-money-row span{
  color:var(--lt-muted)!important;
}
body.force-light .ppm-selector-text b,
body.force-light .ppm-date-block b,
body.force-light .ppm-patient-core h2,
body.force-light .ppm-card h3,
body.force-light .ppm-vitals b,
body.force-light .ppm-stat-row b,
body.force-light .ppm-money-row b{
  color:var(--lt-text)!important;
  font-weight:500!important;
}
body.force-light .ppm-chevron{
  background:#ffffff!important;
  color:#37607f!important;
  border:1px solid #cfdae6!important;
}
body.force-light .ppm-status-block,
body.force-light .ppm-date-block,
body.force-light .ppm-vitals,
body.force-light .ppm-money-row div+div,
body.force-light .ppm-stat-row div{
  border-color:#dbe7f3!important;
}
body.force-light .ppm-status.active{
  color:#08745f!important;
  background:#dffaf2!important;
  border:1px solid #a5eadb!important;
}
body.force-light .ppm-status.passive{
  color:#b4232f!important;
  background:#fff1f2!important;
  border:1px solid #fecdd3!important;
}
body.force-light .ppm-pill,
body.force-light .ppm-file-box,
body.force-light .ppm-journey-box,
body.force-light .ppm-money-row{
  background:#f7fbff!important;
  border:1px solid #dbe7f3!important;
  color:var(--lt-text)!important;
  box-shadow:none!important;
}
body.force-light .ppm-journey-box{
  background:#f0fdfa!important;
  border-color:#99f6e4!important;
}
body.force-light .ppm-patient-avatar{
  border-color:#ffffff!important;
  box-shadow:0 15px 35px rgba(15,35,58,.16)!important;
  color:#ffffff!important;
}
body.force-light .ppm-vitals i,
body.force-light .ppm-stat-row span,
body.force-light .ppm-selector-icon{
  color:#ffffff!important;
}
body.force-light .ppm-action{
  background:#ffffff!important;
  border:1px solid #dbe7f3!important;
  box-shadow:0 10px 24px rgba(15,35,58,.06)!important;
  color:#17314b!important;
  font-weight:500!important;
}
body.force-light .ppm-action span{
  color:#14b89c!important;
}
body.force-light .ppm-two-buttons button,
body.force-light .ppm-bottom-actions button,
body.force-light .ppm-big{
  font-weight:500!important;
  text-shadow:none!important;
  box-shadow:0 12px 26px rgba(15,35,58,.10)!important;
}
body.force-light .ppm-blue,
body.force-light .ppm-big.blue{
  background:linear-gradient(135deg,#2f8dff,#2563eb)!important;
  color:#ffffff!important;
}
body.force-light .ppm-green,
body.force-light .ppm-big.green{
  background:linear-gradient(135deg,#1fc69f,#12a87e)!important;
  color:#ffffff!important;
}
body.force-light .ppm-big.dark{
  background:#f6faff!important;
  color:#17314b!important;
  border:1px solid #cbd8e6!important;
}
body.force-light .ppm-big.dark *{color:#17314b!important;}
body.force-light .ppm-file-box,
body.force-light .ppm-file-box *{color:#425a72!important;}
body.force-light .ppm-money-row b{color:#0fa982!important;}
body.force-light .ppm-money-row b.warn{color:#d97706!important;}
body.force-light .ppm-stat-row b.ok{color:#16a34a!important;}
body.force-light .ppm-stat-row b.warn{color:#d97706!important;}

/* Açık temada modal arka karartması daha soft */
body.force-light .modal-back:has(.patient-profile-modern){
  background:rgba(46,65,84,.34)!important;
  backdrop-filter:blur(3px)!important;
}

/* === END ACIK TEMA GORSEL BAKIM === */

/* === TERAPIST SABIT HIZMETLER / RENKLI KAPASITE / DESTEK BUTONU BAKIM PAKETI === */
.refined-settings-shell .settings-card{overflow:hidden}.refined-services-table td,.refined-services-table th{vertical-align:middle}.service-provider-summary{display:flex;gap:7px;flex-wrap:wrap;align-items:center;min-width:250px}.service-provider-summary span{display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(126,164,207,.26);border-radius:999px;padding:7px 9px;background:rgba(15,23,42,.22);font-size:12px;font-weight:500;line-height:1.15}.service-provider-summary span i{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#26B99A,#3498DB);font-style:normal;color:#fff;font-size:10px}.service-provider-summary em{font-style:normal;color:var(--muted);font-size:12px}.service-color-picker{display:inline-flex;align-items:center;justify-content:center}.service-color-picker input{position:absolute;opacity:0;pointer-events:none}.service-color-picker span{width:34px;height:25px;border-radius:9px;background:var(--svc);border:2px solid rgba(255,255,255,.55);box-shadow:0 8px 16px rgba(0,0,0,.15);cursor:pointer}.provider-service-card{margin-top:-2px}.provider-service-grid{display:grid;gap:12px}.provider-service-row{display:grid;grid-template-columns:250px 1fr;gap:12px;align-items:center;border:1px solid rgba(126,164,207,.18);border-radius:18px;padding:12px;background:rgba(4,15,29,.18)}.provider-service-person{display:grid;grid-template-columns:46px 1fr;grid-template-rows:auto auto;gap:2px 10px;align-items:center}.provider-service-person span{grid-row:1/3;width:46px;height:46px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(135deg,#0ea5e9,#8b5cf6);color:#fff;font-weight:500}.provider-service-person b{font-weight:600;color:var(--text)}.provider-service-person small{color:var(--muted)}.provider-service-options{display:flex;flex-wrap:wrap;gap:8px}.provider-service-option{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(126,164,207,.26);border-radius:999px;padding:9px 12px;background:rgba(15,23,42,.22);cursor:pointer;transition:.16s;font-weight:500}.provider-service-option:hover{transform:translateY(-1px);border-color:var(--svc)}.provider-service-option input{width:auto;margin:0}.provider-service-option i{width:13px;height:13px;border-radius:50%;background:var(--svc);box-shadow:0 0 0 4px color-mix(in srgb, var(--svc) 16%, transparent)}.provider-service-option:has(input:checked){background:color-mix(in srgb, var(--svc) 18%, rgba(15,23,42,.30));border-color:color-mix(in srgb, var(--svc) 70%, rgba(126,164,207,.26));}.service-color-badge{display:inline-flex!important;align-items:center;gap:7px;border:1px solid color-mix(in srgb,var(--svc) 45%, rgba(126,164,207,.25));background:color-mix(in srgb,var(--svc) 14%, transparent);border-radius:999px;padding:5px 9px;font-size:12px;font-weight:500;color:var(--text)!important;white-space:nowrap}.service-color-badge i{width:10px;height:10px;border-radius:999px;background:var(--svc);box-shadow:0 0 12px color-mix(in srgb,var(--svc) 60%, transparent)}.patient-toolbar-refined{display:flex;gap:10px;align-items:center;margin:0 0 14px;flex-wrap:wrap}.patient-toolbar-refined input{max-width:420px;margin:0}.patient-filter-select{max-width:310px;margin:0!important}.colored-service-chip{border-left:4px solid var(--svc)!important;background:linear-gradient(135deg,color-mix(in srgb,var(--svc) 18%, rgba(15,23,42,.22)),rgba(15,23,42,.14))!important}.colored-service-chip small{display:block;font-size:10px;opacity:.85;margin-top:2px}.service-colored-card{position:relative;overflow:hidden}.service-colored-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--svc);box-shadow:0 0 24px color-mix(in srgb,var(--svc) 55%, transparent)}.session-mini-card.service-colored-card{padding-left:14px!important}.std-list-card.service-colored-card{padding-left:18px!important}.footer-support-red{background:linear-gradient(135deg,#ef4444,#be123c)!important;color:#fff!important;border:0!important;box-shadow:0 12px 30px rgba(239,68,68,.30)!important;font-weight:600!important}.footer-support-red:hover{filter:brightness(1.05);transform:translateY(-1px)}
body.force-light .service-provider-summary span,body.light-theme .service-provider-summary span{background:#f8fafc;border-color:#dbe5ef;color:#0f172a}body.force-light .provider-service-row,body.light-theme .provider-service-row{background:#f8fbff;border-color:#d8e5f0}body.force-light .provider-service-option,body.light-theme .provider-service-option{background:#fff;border-color:#d8e5f0;color:#0f172a}body.force-light .provider-service-option:has(input:checked),body.light-theme .provider-service-option:has(input:checked){background:color-mix(in srgb,var(--svc) 12%, #fff);border-color:color-mix(in srgb,var(--svc) 55%, #d8e5f0)}body.force-light .service-color-badge,body.light-theme .service-color-badge{color:#0f172a!important;background:color-mix(in srgb,var(--svc) 10%, #fff)}body.force-light .colored-service-chip,body.light-theme .colored-service-chip{background:linear-gradient(135deg,color-mix(in srgb,var(--svc) 10%, #fff),#fff)!important;color:#0f172a!important}body.force-light .service-colored-card:before,body.light-theme .service-colored-card:before{box-shadow:none}@media(max-width:980px){.provider-service-row{grid-template-columns:1fr}.patient-toolbar-refined input,.patient-filter-select{max-width:none;width:100%}.service-provider-summary{min-width:180px}}
/* === END TERAPIST SABIT HIZMETLER / RENKLI KAPASITE / DESTEK BUTONU BAKIM PAKETI === */

/* === INSTAGRAM ROBOTU STANDART MODERN SABLON === */
.menu-item[onclick="go('instagram')"]{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(225,48,108,.35);
  background:linear-gradient(135deg, rgba(64,93,230,.20), rgba(225,48,108,.22), rgba(245,133,41,.18));
  box-shadow:0 12px 32px rgba(225,48,108,.14);
}
.menu-item[onclick="go('instagram')"] .mi-icon{
  color:#fff;
  background:radial-gradient(circle at 30% 30%, #FEDA75, #FA7E1E 35%, #D62976 62%, #962FBF 82%, #4F5BD5);
  border-radius:14px;
}
.instagram-shell{display:flex;flex-direction:column;gap:16px}.instagram-hero{display:grid;grid-template-columns:auto 1fr minmax(180px,260px);gap:18px;align-items:center;padding:20px;border-radius:28px;background:linear-gradient(135deg,rgba(13,20,44,.96),rgba(28,36,82,.92));border:1px solid rgba(255,255,255,.10);box-shadow:0 24px 70px rgba(5,10,24,.28)}.instagram-logo-orb{width:76px;height:76px;border-radius:26px;display:grid;place-items:center;font-size:38px;color:#fff;background:radial-gradient(circle at 30% 30%, #FEDA75, #FA7E1E 34%, #D62976 60%, #962FBF 80%, #4F5BD5);box-shadow:0 18px 38px rgba(225,48,108,.30)}.instagram-hero h2,.instagram-section-head h3,.instagram-builder-card h4,.instagram-result-card h4,.instagram-caption-card h4{margin:0;font-weight:500}.instagram-hero p,.instagram-section-head p,.std-card-head p{margin:4px 0 0;color:var(--muted);font-weight:400}.instagram-status-card{border-radius:22px;padding:14px 16px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);display:flex;flex-direction:column;gap:3px}.instagram-status-card span,.instagram-status-card small{color:var(--muted);font-size:12px}.instagram-status-card b{font-weight:500;color:#fff}.modern-channel-tabs{display:flex;gap:10px;flex-wrap:wrap;padding:10px;border-radius:24px;background:rgba(8,14,32,.74);border:1px solid rgba(255,255,255,.08)}.modern-channel-tabs button{border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.05);color:var(--text);border-radius:18px;padding:11px 14px;font-weight:400;display:flex;align-items:center;gap:8px}.modern-channel-tabs button.active{background:linear-gradient(135deg,rgba(20,184,166,.26),rgba(225,48,108,.22));border-color:rgba(20,184,166,.42);box-shadow:0 14px 28px rgba(20,184,166,.12)}.instagram-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;border-radius:24px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08)}.instagram-post-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.instagram-builder-card,.instagram-result-card,.instagram-caption-card,.instagram-coming-card,.instagram-settings-card,.instagram-demo-list,.instagram-demo-calendar{border-radius:26px;padding:18px;background:rgba(12,20,44,.86);border:1px solid rgba(255,255,255,.08);box-shadow:0 20px 48px rgba(5,10,24,.18)}.std-card-head{display:flex;align-items:flex-start;gap:12px;margin-bottom:14px}.instagram-mini-icon{width:38px;height:38px;border-radius:14px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#14B8A6,#962FBF,#E1306C);flex:0 0 auto}.instagram-upload-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:150px;border:1px dashed rgba(225,48,108,.45);border-radius:24px;background:linear-gradient(135deg,rgba(225,48,108,.08),rgba(20,184,166,.07));cursor:pointer;margin-bottom:14px}.instagram-upload-zone input{display:none}.instagram-upload-zone b{font-weight:500}.instagram-upload-zone span{color:var(--muted);font-size:13px}.instagram-preview-list{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.instagram-preview-empty,.instagram-empty-output{min-height:110px;display:grid;place-items:center;color:var(--muted);border-radius:18px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.07)}.instagram-preview-item{position:relative;border-radius:18px;overflow:hidden;aspect-ratio:1/1;background:#111827}.instagram-preview-item img{width:100%;height:100%;object-fit:cover;display:block}.instagram-preview-item button{position:absolute;right:8px;top:8px;width:28px;height:28px;padding:0;border-radius:50%;background:rgba(220,38,38,.92)}.instagram-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.instagram-form-grid .span-2{grid-column:1/-1}.instagram-form-grid label{display:flex;flex-direction:column;gap:6px;font-weight:400;color:var(--muted)}.instagram-form-grid input,.instagram-form-grid select,.instagram-form-grid textarea,.instagram-caption-card textarea{width:100%;border-radius:16px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.06);color:var(--text);padding:12px 13px;font-weight:400}.instagram-actions-row,.instagram-download-area{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.instagram-canvas-wrap{min-height:320px;display:grid;place-items:center;border-radius:22px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);overflow:hidden}.instagram-output-canvas{max-width:100%;max-height:520px;border-radius:18px;box-shadow:0 18px 46px rgba(0,0,0,.26)}.instagram-caption-card textarea{min-height:210px;resize:vertical}.instagram-two-col{display:grid;grid-template-columns:1.2fr 1fr;gap:16px}.instagram-coming-card{display:flex;gap:14px;align-items:flex-start}.instagram-coming-card h4{margin:0 0 6px;font-weight:500}.instagram-coming-card p{margin:0 0 8px;color:var(--muted)}.instagram-coming-card span{font-size:13px;color:var(--muted)}.instagram-demo-list{display:flex;flex-direction:column;gap:12px}.instagram-demo-list>div{padding:14px;border-radius:18px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.07)}.instagram-demo-list b{display:block;font-weight:500}.instagram-demo-list span{display:block;color:var(--muted);margin:5px 0 10px}.instagram-demo-calendar,.instagram-stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.instagram-demo-calendar>div,.instagram-stats-grid>div{border-radius:20px;padding:16px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08)}.instagram-stats-grid{grid-template-columns:repeat(4,1fr)}.instagram-stats-grid span,.instagram-stats-grid small{display:block;color:var(--muted)}.instagram-stats-grid b{font-size:32px;font-weight:500}.button.secondary{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
body.force-light .instagram-hero,body.light-theme .instagram-hero{background:linear-gradient(135deg,#ffffff,#f7f4ff);border-color:#e6eaf5;box-shadow:0 22px 50px rgba(40,52,94,.12)}body.force-light .instagram-hero h2,body.light-theme .instagram-hero h2,body.force-light .instagram-status-card b,body.light-theme .instagram-status-card b{color:#172033}body.force-light .instagram-status-card,body.light-theme .instagram-status-card,body.force-light .modern-channel-tabs,body.light-theme .modern-channel-tabs,body.force-light .instagram-section-head,body.light-theme .instagram-section-head,body.force-light .instagram-builder-card,body.light-theme .instagram-builder-card,body.force-light .instagram-result-card,body.light-theme .instagram-result-card,body.force-light .instagram-caption-card,body.light-theme .instagram-caption-card,body.force-light .instagram-coming-card,body.light-theme .instagram-coming-card,body.force-light .instagram-settings-card,body.light-theme .instagram-settings-card,body.force-light .instagram-demo-list,body.light-theme .instagram-demo-list,body.force-light .instagram-demo-calendar,body.light-theme .instagram-demo-calendar{background:#fff;border-color:#e6eaf5;box-shadow:0 18px 42px rgba(40,52,94,.08)}body.force-light .modern-channel-tabs button,body.light-theme .modern-channel-tabs button{background:#f8fafc;color:#22304a;border-color:#e5e7eb}body.force-light .modern-channel-tabs button.active,body.light-theme .modern-channel-tabs button.active{background:linear-gradient(135deg,#e6fffb,#fff1f7);border-color:#9ee7dc;color:#0f172a}body.force-light .instagram-form-grid input,body.force-light .instagram-form-grid select,body.force-light .instagram-form-grid textarea,body.force-light .instagram-caption-card textarea,body.light-theme .instagram-form-grid input,body.light-theme .instagram-form-grid select,body.light-theme .instagram-form-grid textarea,body.light-theme .instagram-caption-card textarea{background:#fff;color:#172033;border-color:#d8deea}body.force-light .instagram-preview-empty,body.force-light .instagram-empty-output,body.force-light .instagram-demo-list>div,body.force-light .instagram-demo-calendar>div,body.force-light .instagram-stats-grid>div,body.light-theme .instagram-preview-empty,body.light-theme .instagram-empty-output,body.light-theme .instagram-demo-list>div,body.light-theme .instagram-demo-calendar>div,body.light-theme .instagram-stats-grid>div{background:#f8fafc;border-color:#e6eaf5;color:#53617a}
@media(max-width:980px){.instagram-hero{grid-template-columns:1fr}.instagram-post-grid,.instagram-two-col{grid-template-columns:1fr}.instagram-stats-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.instagram-form-grid{grid-template-columns:1fr}.instagram-preview-list,.instagram-demo-calendar{grid-template-columns:1fr}.instagram-stats-grid{grid-template-columns:1fr}.modern-channel-tabs button{flex:1 1 100%}}
/* === END INSTAGRAM ROBOTU STANDART MODERN SABLON === */

/* Instagram Robotu - premium post tasarım bakım paketi */
.instagram-premium-grid{grid-template-columns:1fr 1fr}.instagram-premium-grid .span-2{grid-column:1/-1}.instagram-template-card{background:linear-gradient(135deg,rgba(12,20,44,.94),rgba(18,29,58,.88));border-color:rgba(225,48,108,.18)}.instagram-template-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.instagram-template-option{min-height:112px;border-radius:22px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.045);color:var(--text);text-align:left;padding:14px;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;gap:7px 12px;align-items:center;transition:.18s ease;box-shadow:none}.instagram-template-option:hover{transform:translateY(-2px);border-color:rgba(20,184,166,.38);background:rgba(255,255,255,.07)}.instagram-template-option.active{border-color:rgba(225,48,108,.58);box-shadow:0 16px 36px rgba(225,48,108,.13);background:linear-gradient(135deg,rgba(225,48,108,.14),rgba(20,184,166,.10))}.instagram-template-option b{font-weight:500}.instagram-template-option small{grid-column:2;color:var(--muted);line-height:1.35}.template-swatch{width:42px;height:42px;border-radius:16px;display:block;box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}.template-swatch.premium-collage{background:linear-gradient(135deg,#111D3A 0 45%,#FEDA75 45% 55%,#D62976 55%)}.template-swatch.hero-focus{background:linear-gradient(135deg,#0F172A,#111D3A 55%,#14B8A6)}.template-swatch.editorial{background:linear-gradient(90deg,#0B1530 0 38%,#F8FBFF 38%)}.template-swatch.minimal-lux{background:linear-gradient(135deg,#FFFFFF,#EAF1FF 60%,#E1306C)}.template-swatch.announcement{background:linear-gradient(135deg,#111D3A,#962FBF,#E1306C)}.template-swatch.story-cover{background:linear-gradient(180deg,#4F5BD5,#962FBF,#D62976)}.premium-actions-row{justify-content:flex-end}.premium-upload-zone{min-height:170px}.instagram-multi-output{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:14px;align-items:start;padding:14px}.instagram-output-card{border-radius:22px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);padding:12px;display:flex;flex-direction:column;gap:10px}.instagram-output-title{font-size:13px;color:var(--muted);font-weight:500}.instagram-output-card .instagram-output-canvas{width:100%;height:auto;max-height:620px;object-fit:contain;border-radius:18px}.instagram-download-area a.button.secondary{margin-right:8px;margin-bottom:8px}.instagram-builder-main{min-height:100%}
body.force-light .instagram-template-card,body.light-theme .instagram-template-card{background:#fff;border-color:#e6eaf5;box-shadow:0 18px 42px rgba(40,52,94,.08)}body.force-light .instagram-template-option,body.light-theme .instagram-template-option{background:#f8fafc;color:#172033;border-color:#e1e7f2}body.force-light .instagram-template-option.active,body.light-theme .instagram-template-option.active{background:linear-gradient(135deg,#fff1f7,#effffb);border-color:#f3a8c8;box-shadow:0 14px 30px rgba(190,24,93,.10)}body.force-light .instagram-output-card,body.light-theme .instagram-output-card{background:#f8fafc;border-color:#e6eaf5}.instagram-form-grid input#igBrand{letter-spacing:.01em}
@media(max-width:1180px){.instagram-multi-output{grid-template-columns:1fr}.instagram-template-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){.instagram-premium-grid{grid-template-columns:1fr}.instagram-template-grid{grid-template-columns:1fr}.premium-actions-row{justify-content:stretch}.premium-actions-row button{flex:1 1 100%}}

/* === INSTAGRAM AJANS MODU GORSEL BAKIM === */
.instagram-agency-grid .instagram-builder-card{background:linear-gradient(135deg,rgba(9,18,38,.94),rgba(18,28,57,.88));}
.agency-template-grid{grid-template-columns:repeat(4,1fr)}
.agency-template-option{min-height:128px;}
.template-swatch.agency-hero{background:linear-gradient(135deg,#071126 0 48%,#0E7490 48% 68%,#F8FAFC 68%)}
.template-swatch.medical-brochure{background:linear-gradient(135deg,#F8FAFC 0 45%,#0E7490 45% 55%,#0F172A 55%)}
.template-swatch.home-service{background:linear-gradient(180deg,#F8FAFC 0 28%,#0F4C5C 28% 52%,#FFFFFF 52%)}
.template-swatch.expert-card{background:radial-gradient(circle at 70% 25%,#0E7490 0 32%,transparent 33%),linear-gradient(135deg,#FFFFFF,#E0F2FE)}
.template-swatch.wave-info{background:linear-gradient(160deg,#0B1220 0 45%,#14B8A6 45% 67%,#0E7490 67%)}
.template-swatch.lux-announcement{background:linear-gradient(135deg,#111827,#7C2D12,#E11D48)}
body.force-light .instagram-agency-grid .instagram-builder-card,body.light-theme .instagram-agency-grid .instagram-builder-card{background:#fff;border-color:#e6eaf5;}
@media(max-width:1320px){.agency-template-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:920px){.agency-template-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.agency-template-grid{grid-template-columns:1fr}}
/* === END INSTAGRAM AJANS MODU GORSEL BAKIM === */

/* === Instagram Robotu Katmanlı Ajans Motoru V3 === */
.ig-v3-layout{display:grid;grid-template-columns:minmax(340px,.95fr) minmax(520px,1.25fr);gap:16px;align-items:start}.ig-v3-left,.ig-v3-right{display:flex;flex-direction:column;gap:16px}.ig-v3-card{border-radius:28px;padding:18px;background:linear-gradient(135deg,rgba(9,18,38,.95),rgba(17,28,56,.88));border:1px solid rgba(255,255,255,.09);box-shadow:0 22px 54px rgba(2,8,23,.22)}.ig-v3-brand-strip{background:linear-gradient(135deg,rgba(225,48,108,.13),rgba(20,184,166,.11),rgba(79,91,213,.10))}.ig-v3-brand-pills{display:flex;gap:8px;flex-wrap:wrap}.ig-v3-brand-pills span{padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.10);color:var(--muted);font-size:12px}.ig-v3-brand-pills b{font-weight:500;color:var(--text)}.ig-v3-upload{min-height:150px}.ig-v3-template-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px}.ig-v3-layer-map{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.ig-v3-layer-map span{padding:8px 10px;border-radius:999px;background:rgba(20,184,166,.10);border:1px solid rgba(20,184,166,.18);font-size:12px;color:var(--muted)}.ig-v3-output.instagram-multi-output{grid-template-columns:repeat(2,minmax(240px,1fr));align-items:start}.ig-v3-output .instagram-output-card{background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.09)}.ig-v3-output .instagram-output-canvas{max-height:760px}.ig-v3-settings{display:grid;grid-template-columns:1.2fr .8fr;gap:16px}.template-swatch.clinic-hero-pro{background:linear-gradient(135deg,#06111F 0 45%,#0E7490 45% 63%,#F59E0B 63%)}.template-swatch.split-magazine{background:linear-gradient(90deg,#0F172A 0 42%,#F8FAFC 42% 76%,#F59E0B 76%)}.template-swatch.medical-cards{background:linear-gradient(135deg,#F8FAFC 0 52%,#0E7490 52% 60%,#FFFFFF 60%)}.template-swatch.home-care-wave{background:linear-gradient(180deg,#0E7490 0 36%,#FFFFFF 36% 72%,#F59E0B 72%)}.template-swatch.expert-premium{background:radial-gradient(circle at 72% 30%,#0E7490 0 34%,transparent 35%),linear-gradient(135deg,#FFFFFF,#E0F2FE)}.template-swatch.campaign-bold{background:linear-gradient(135deg,#06111F,#7C2D12,#F59E0B)}.template-swatch.minimal-editorial{background:linear-gradient(135deg,#FFFFFF 0 68%,#0E7490 68% 73%,#EEF2FF 73%)}body.force-light .ig-v3-card,body.light-theme .ig-v3-card{background:#fff;border-color:#e6eaf5;box-shadow:0 18px 42px rgba(40,52,94,.08)}body.force-light .ig-v3-brand-pills span,body.light-theme .ig-v3-brand-pills span{background:#f8fafc;border-color:#e6eaf5;color:#53617a}body.force-light .ig-v3-layer-map span,body.light-theme .ig-v3-layer-map span{background:#effffb;border-color:#b9eee5;color:#25635b}body.force-light .ig-v3-output .instagram-output-card,body.light-theme .ig-v3-output .instagram-output-card{background:#f8fafc;border-color:#e6eaf5}@media(max-width:1280px){.ig-v3-layout,.ig-v3-settings{grid-template-columns:1fr}.ig-v3-template-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:820px){.ig-v3-template-grid,.ig-v3-output.instagram-multi-output{grid-template-columns:1fr}.ig-v3-card{padding:14px}}
/* === END Instagram Robotu Katmanlı Ajans Motoru V3 === */

/* FizyoSistem Şablon Hafızası */
.ig-hub-card,.ig-hub-empty{border:1px solid rgba(236,72,153,.22)!important;background:linear-gradient(135deg,rgba(15,23,42,.96),rgba(49,46,129,.76))!important}.ig-hub-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-top:12px}.ig-hub-template{display:flex;flex-direction:column;gap:7px;text-align:left;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);border-radius:18px;padding:10px;color:#fff;min-height:150px}.ig-hub-template.active{border-color:#f472b6;box-shadow:0 0 0 3px rgba(244,114,182,.18)}.ig-hub-template img{width:100%;height:82px;object-fit:cover;border-radius:13px}.ig-hub-template span{height:82px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,#f472b6,#6366f1);font-size:28px}.ig-hub-template b{font-weight:600}.ig-hub-template small{color:#cbd5e1}.light .ig-hub-card,.light .ig-hub-empty{background:#fff!important;border-color:#fbcfe8!important}.light .ig-hub-template{background:#fff7fb;color:#0f172a;border-color:#fbcfe8}.light .ig-hub-template small{color:#64748b}

/* === INSTAGRAM ROBOTU GALERI ODAKLI SABLON SECICI BAKIMI === */
.ig-gallery-workspace{display:grid;grid-template-columns:minmax(560px,1fr) 430px;gap:18px;align-items:start}.ig-gallery-main{display:flex;flex-direction:column;gap:16px;min-width:0}.ig-gallery-head,.ig-selected-card,.ig-selected-info,.ig-gallery-form,.ig-gallery-output,.ig-template-panel{border:1px solid rgba(126,164,207,.16);background:linear-gradient(135deg,rgba(10,24,48,.94),rgba(18,31,61,.88));border-radius:24px;box-shadow:0 24px 60px rgba(2,8,23,.22)}.ig-gallery-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px}.ig-gallery-head h3,.ig-template-title h3{margin:0;font-weight:550}.ig-gallery-head p,.ig-template-title p{margin:4px 0 0;color:var(--muted);font-size:13px}.ig-selected-card{padding:18px}.ig-selected-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.ig-selected-top b{display:block;font-weight:550}.ig-selected-top span{display:block;color:var(--muted);font-size:12px;margin-top:4px}.ig-preview-tools{display:flex;gap:8px;flex-wrap:wrap}.ig-gallery-preview-image{border-radius:28px;padding:14px;background:radial-gradient(circle at 20% 0%,rgba(45,212,191,.12),transparent 36%),rgba(2,8,23,.28);border:1px solid rgba(255,255,255,.08);display:flex;justify-content:center;align-items:center;min-height:430px}.ig-gallery-preview-image img{max-width:100%;max-height:680px;width:auto;height:auto;object-fit:contain;border-radius:22px;box-shadow:0 24px 70px rgba(0,0,0,.34)}.ig-gallery-preview-fallback{min-height:520px;border-radius:28px;padding:44px;display:flex;align-items:flex-end;background:linear-gradient(135deg,#f8fafc 0 45%,#0f766e 45% 63%,#082f49 63%);color:#0f172a;overflow:hidden;position:relative}.ig-gallery-preview-fallback:after{content:"";position:absolute;right:-80px;top:80px;width:360px;height:360px;border-radius:50%;background:rgba(20,184,166,.22)}.ig-gallery-preview-fallback div{position:relative;z-index:1;max-width:440px}.ig-gallery-preview-fallback span{display:inline-flex;padding:8px 13px;border-radius:999px;background:#14b8a6;color:#fff;font-size:12px;margin-bottom:14px}.ig-gallery-preview-fallback h3{font-size:44px;line-height:1.02;margin:0 0 12px;font-weight:650}.ig-gallery-preview-fallback p{font-size:18px;line-height:1.35}.ig-selected-info{display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:10px;padding:14px}.ig-selected-info>div{border:1px solid rgba(126,164,207,.12);border-radius:16px;padding:12px;background:rgba(255,255,255,.035)}.ig-selected-info small{display:block;color:var(--muted);font-size:11px;margin-bottom:6px}.ig-selected-info b{font-weight:520}.ig-palette-row{display:flex;gap:8px}.ig-palette-row span{width:24px;height:24px;border-radius:50%;background:var(--c);border:1px solid rgba(255,255,255,.55);box-shadow:0 8px 18px rgba(0,0,0,.15)}.ig-gallery-form,.ig-gallery-output{padding:16px}.ig-gallery-section-title{font-weight:550;margin:0 0 12px;color:var(--text)}.ig-template-sidebar{position:sticky;top:14px;align-self:start;min-width:0}.ig-template-panel{padding:16px;height:calc(100vh - 130px);display:flex;flex-direction:column;gap:12px;min-height:680px}.ig-template-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.ig-template-filters{display:grid;grid-template-columns:1fr 130px;gap:10px}.ig-template-filters input,.ig-template-filters select{margin:0}.ig-template-scroll{display:flex;flex-direction:column;gap:9px;overflow-y:auto;overflow-x:hidden;padding:2px 6px 2px 0;min-height:0;scrollbar-width:thin}.ig-template-row{width:100%;display:grid;grid-template-columns:82px 1fr auto;gap:12px;align-items:center;text-align:left;border:1px solid rgba(126,164,207,.12);background:rgba(255,255,255,.035);color:var(--text);border-radius:18px;padding:9px;transition:.16s ease}.ig-template-row:hover{transform:translateY(-1px);border-color:rgba(45,212,191,.28);background:rgba(255,255,255,.06)}.ig-template-row.active{background:linear-gradient(135deg,rgba(20,184,166,.34),rgba(14,116,144,.20));border-color:rgba(45,212,191,.58);box-shadow:0 16px 34px rgba(20,184,166,.12)}.ig-template-thumb{width:82px;height:82px;border-radius:14px;overflow:hidden;display:grid;place-items:center;background:linear-gradient(135deg,#14b8a6,#2563eb)}.ig-template-thumb img{width:100%;height:100%;object-fit:cover;display:block}.ig-template-thumb i{font-style:normal;color:#fff;font-weight:650;font-size:26px}.ig-template-main{min-width:0}.ig-template-main b{display:block;font-weight:560;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ig-template-main small{display:block;color:var(--muted);font-size:11px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ig-template-main em{font-style:normal;margin-left:6px;color:#8fb3ce}.ig-template-actions{display:flex;flex-direction:column;align-items:center;gap:8px}.ig-template-check{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(255,255,255,.14);color:#cbd5e1}.ig-template-row.active .ig-template-check{background:#20d0ad;color:#062f2a;border-color:#20d0ad}.ig-template-star{font-size:22px;line-height:1;color:#64748b;cursor:pointer}.ig-template-star.on{color:#fbbf24;text-shadow:0 0 20px rgba(251,191,36,.32)}.ig-template-footer{border-top:1px solid rgba(126,164,207,.14);padding-top:12px;display:grid;gap:10px}.ig-template-footer span{color:var(--muted);font-size:12px}.ig-template-footer button{width:100%}.ig-gallery-output .instagram-multi-output{max-height:none;overflow:visible}.ig-gallery-output .instagram-output-card{max-width:100%}.ig-gallery-output .instagram-download-area{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.ig-gallery-output textarea{margin-top:12px}.ig-gallery-output .instagram-empty-output{min-height:140px;display:grid;place-items:center;text-align:center;color:var(--muted);border:1px dashed rgba(126,164,207,.22);border-radius:18px;background:rgba(255,255,255,.03);padding:24px}
body.force-light .ig-gallery-head,body.force-light .ig-selected-card,body.force-light .ig-selected-info,body.force-light .ig-gallery-form,body.force-light .ig-gallery-output,body.force-light .ig-template-panel,body.light-theme .ig-gallery-head,body.light-theme .ig-selected-card,body.light-theme .ig-selected-info,body.light-theme .ig-gallery-form,body.light-theme .ig-gallery-output,body.light-theme .ig-template-panel{background:#fff;border-color:#e6eaf5;box-shadow:0 18px 42px rgba(40,52,94,.08)}body.force-light .ig-gallery-preview-image,body.light-theme .ig-gallery-preview-image{background:#f8fafc;border-color:#e6eaf5}body.force-light .ig-selected-info>div,body.light-theme .ig-selected-info>div,body.force-light .ig-template-row,body.light-theme .ig-template-row{background:#f8fafc;border-color:#e1e7f2;color:#172033}body.force-light .ig-template-row.active,body.light-theme .ig-template-row.active{background:linear-gradient(135deg,#ccfbf1,#eff6ff);border-color:#5eead4}body.force-light .ig-template-main small,body.light-theme .ig-template-main small{color:#64748b}body.force-light .ig-gallery-output .instagram-empty-output,body.light-theme .ig-gallery-output .instagram-empty-output{background:#f8fafc;border-color:#d8e5f0;color:#64748b}
@media(max-width:1380px){.ig-gallery-workspace{grid-template-columns:1fr}.ig-template-sidebar{position:relative;top:auto}.ig-template-panel{height:auto;max-height:760px}.ig-template-scroll{max-height:560px}.ig-gallery-preview-image{min-height:360px}}
@media(max-width:760px){.ig-gallery-head,.ig-selected-top,.ig-template-title{flex-direction:column;align-items:stretch}.ig-selected-info{grid-template-columns:1fr}.ig-template-filters{grid-template-columns:1fr}.ig-template-row{grid-template-columns:70px 1fr auto}.ig-template-thumb{width:70px;height:70px}.ig-gallery-preview-fallback h3{font-size:32px}}
/* === END INSTAGRAM ROBOTU GALERI ODAKLI SABLON SECICI BAKIMI === */

/* Instagram Robotu V2 - gerçek sabit şablon kütüphanesi */
.ig-v2-workspace{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px;align-items:start}.ig-v2-main{display:grid;gap:16px}.ig-v2-head,.ig-v2-preview-card,.ig-v2-form-card,.ig-v2-output-card,.ig-v2-sidebar{background:linear-gradient(145deg,rgba(16,31,56,.94),rgba(8,17,35,.96));border:1px solid rgba(148,163,184,.18);border-radius:22px;padding:18px;box-shadow:0 18px 45px rgba(0,0,0,.18)}.ig-v2-head{display:flex;justify-content:space-between;gap:16px;align-items:center}.ig-v2-head h3{margin:0 0 5px;font-size:21px;font-weight:600}.ig-v2-head p,.ig-v2-head span{display:block;margin:0;color:#a9bdd5;font-size:13px}.ig-v2-preview-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.ig-v2-preview-top b{display:block;font-weight:600;font-size:16px}.ig-v2-preview-top span{display:block;color:#9fb1c7;font-size:12px;margin-top:3px}.ig-v2-preview-poster{position:relative;min-height:420px;border-radius:28px;overflow:hidden;background:linear-gradient(135deg,var(--b),#fff);border:1px solid rgba(255,255,255,.16)}.ig-v2-preview-poster:before{content:"";position:absolute;inset:auto -14% -16% 30%;height:58%;background:var(--a);border-radius:50% 0 0 0;opacity:.85}.ig-v2-preview-poster:after{content:"";position:absolute;right:8%;top:13%;width:42%;height:58%;border-radius:36px;background:linear-gradient(135deg,#ffffffaa,#00000018);box-shadow:0 22px 45px rgba(15,23,42,.22)}.ig-v2-poster-logo{position:absolute;left:45px;top:38px;width:52px;height:52px;border-radius:50%;background:var(--a);color:#fff;display:grid;place-items:center;font-weight:700}.ig-v2-poster-title{position:absolute;left:45px;top:135px;max-width:42%;font-size:42px;line-height:1.03;font-weight:650;color:var(--d)}.ig-v2-poster-photo{position:absolute;right:12%;top:23%;width:31%;height:38%;border-radius:24px;background:linear-gradient(135deg,var(--c),#fff);opacity:.75}.ig-v2-poster-cta{position:absolute;left:45px;bottom:45px;padding:16px 24px;border-radius:999px;background:var(--a);color:#fff;font-weight:600}.ig-v2-template-scroll{max-height:calc(100vh - 310px);overflow:auto;padding-right:6px;display:grid;gap:10px}.ig-v2-template-row{width:100%;display:grid;grid-template-columns:74px 1fr auto;gap:12px;text-align:left;align-items:center;border:1px solid rgba(148,163,184,.17);background:rgba(15,30,52,.72);border-radius:18px;padding:10px;color:#e5edf7;cursor:pointer}.ig-v2-template-row.active{background:linear-gradient(135deg,rgba(20,184,166,.92),rgba(13,148,136,.72));border-color:rgba(255,255,255,.30)}.ig-v2-mini-poster{position:relative;width:74px;height:74px;border-radius:14px;background:linear-gradient(135deg,var(--b),#fff);overflow:hidden}.ig-v2-mini-poster:before{content:"";position:absolute;right:-18px;bottom:-18px;width:62px;height:62px;border-radius:50%;background:var(--a);opacity:.85}.ig-v2-mini-poster i{position:absolute;left:8px;top:10px;width:24px;height:24px;border-radius:50%;background:var(--a)}.ig-v2-mini-poster b{position:absolute;left:8px;top:41px;width:38px;height:5px;border-radius:4px;background:var(--d,#111827)}.ig-v2-mini-poster em{position:absolute;left:8px;top:51px;width:48px;height:5px;border-radius:4px;background:var(--c)}.ig-v2-row-main strong{display:block;font-weight:600;font-size:13px}.ig-v2-row-main small{display:block;color:#a8bad0;font-size:11px;margin-top:3px}.ig-v2-template-row.active small{color:rgba(255,255,255,.86)}.ig-v2-output.instagram-multi-output{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px;align-items:start;max-height:none}.ig-v2-output .instagram-output-card canvas{width:100%;height:auto;border-radius:10px}.instagram-output-card h5{font-weight:500}.instagram-download-area{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.ig-download-button{display:inline-flex;align-items:center;justify-content:center;padding:10px 12px;border-radius:10px;background:#10213b;color:#dbeafe;text-decoration:none;border:1px solid rgba(148,163,184,.22);font-size:12px}@media(max-width:1100px){.ig-v2-workspace{grid-template-columns:1fr}.ig-v2-sidebar{position:relative}.ig-v2-template-scroll{max-height:520px}}body.light .ig-v2-head,body.light .ig-v2-preview-card,body.light .ig-v2-form-card,body.light .ig-v2-output-card,body.light .ig-v2-sidebar{background:#fff;border-color:#dbe5f0;color:#0f172a;box-shadow:0 18px 45px rgba(15,23,42,.08)}body.light .ig-v2-head p,body.light .ig-v2-head span,body.light .ig-v2-preview-top span,body.light .ig-v2-row-main small{color:#64748b}body.light .ig-v2-template-row{background:#f8fafc;color:#0f172a;border-color:#dbe5f0}body.light .ig-download-button{background:#eef6ff;color:#0f172a;border-color:#cbd5e1}


/* === Instagram Gerçek Template Editor V4 === */
.real-editor-layout{display:grid;grid-template-columns:minmax(0,1.35fr) 390px;gap:18px;align-items:start}
.real-editor-left,.real-editor-right{display:grid;gap:18px}.real-preview-card,.real-controls,.real-template-gallery{border:1px solid rgba(255,255,255,.12);border-radius:24px;background:rgba(255,255,255,.055);padding:16px;box-shadow:0 18px 55px rgba(0,0,0,.16)}
.real-live-preview{position:relative;aspect-ratio:1/1;border-radius:24px;overflow:hidden;background:radial-gradient(circle at 20% 0%,rgba(20,184,166,.28),transparent 36%),linear-gradient(135deg,#071426,#0e2742);display:grid;place-items:center}
.real-live-preview>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.real-overlay-text{position:absolute;left:7%;top:12%;width:55%;padding:26px;border-radius:28px;background:rgba(3,9,22,.55);backdrop-filter:blur(8px);color:#fff}
.real-overlay-text span{display:inline-flex;padding:8px 12px;border-radius:999px;background:rgba(20,184,166,.82);font-size:12px;font-weight:500}.real-overlay-text b{display:block;font-size:clamp(22px,4vw,44px);line-height:1.05;margin:18px 0 10px;font-weight:650}.real-overlay-text p{font-size:14px;line-height:1.45;color:rgba(255,255,255,.86)}.real-overlay-text em{display:inline-flex;margin-top:12px;padding:12px 18px;border-radius:999px;background:#0E7490;font-style:normal;font-weight:650}.real-overlay-text small{display:block;margin-top:18px;color:rgba(255,255,255,.82)}
.real-template-gallery{max-height:680px;overflow:auto}.real-gallery-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.real-gallery-head b{font-weight:650;color:var(--title,#fff)}.real-gallery-head button{border-radius:12px;padding:8px 10px}
.real-gallery-item{width:100%;display:grid;grid-template-columns:82px 1fr;gap:12px;align-items:center;text-align:left;padding:10px;border-radius:18px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.10);color:inherit;margin-bottom:10px}.real-gallery-item.active{outline:2px solid #1ABB9C;background:rgba(26,187,156,.12)}.real-gallery-item img,.real-gallery-item .template-swatch{width:82px;height:82px;border-radius:16px;object-fit:cover}.real-gallery-item strong{display:block;font-weight:600;color:var(--title,#fff);font-size:13px}.real-gallery-item small{display:block;color:var(--text,#91a1ba);font-size:11px;margin-top:6px}
.real-controls .instagram-form-grid input,.real-controls .instagram-form-grid textarea,.real-controls .instagram-form-grid select{font-weight:400}
@media(max-width:1100px){.real-editor-layout{grid-template-columns:1fr}.real-template-gallery{max-height:none}.real-overlay-text{width:68%}}

/* Kanka bakım: Template Editor fotoğraf yükleme alanı */
.real-upload-zone{margin:0 0 14px 0;min-height:92px}
.ig-uploaded-photo-preview{position:absolute;right:8%;top:16%;width:34%;height:48%;object-fit:cover;border-radius:34px;box-shadow:0 20px 60px rgba(0,0,0,.28);z-index:2}
.real-live-preview .real-overlay-text{z-index:3}
.real-template-gallery{max-height:520px;overflow:auto}
.real-gallery-item img{object-fit:cover}

/* === Galeri ve kategori/alan okunabilirlik düzeltmesi === */
select, select:focus { color: #eef7ff !important; background-color: #17263a !important; }
select option { color: #111827 !important; background: #ffffff !important; }
.real-template-gallery { scroll-behavior: auto; overscroll-behavior: contain; }
.real-gallery-item { scroll-margin-top: 12px; }
.real-gallery-item strong { font-weight: 600; }
.real-live-preview img[data-template-bg="1"] { display:none !important; }


/* Gerçek Mimari V1: FizyoSistem galeri scroll ve açık tema okunabilirliği */
.ig-hub-grid { max-height: 520px; overflow-y: auto; scroll-behavior:auto; }
.ig-hub-template { scroll-margin: 0 !important; }
.ig-hub-template.active { outline:2px solid rgba(20,184,166,.75); box-shadow:0 0 0 4px rgba(20,184,166,.12); }
select option { color:#0f172a !important; background:#ffffff !important; }
.light-theme select, .light select { color:#0f172a !important; background:#ffffff !important; }

/* === KANKA GERCEK TASARIM ARACI V2 CSS === */
.ig-designer-layout .real-editor-left{min-width:0}.ig-design-stage{position:relative;width:min(760px,100%);aspect-ratio:1/1;margin:18px auto;border-radius:26px;overflow:hidden;background:#071426;border:1px solid rgba(148,163,184,.24);box-shadow:0 18px 48px rgba(0,0,0,.28);touch-action:none}.ig-stage-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.ig-stage-empty{position:absolute;inset:0;display:grid;place-items:center;color:#9fb3ce;background:linear-gradient(135deg,#08182b,#0f2d45)}.ig-layer{position:absolute;box-sizing:border-box;cursor:move;user-select:none}.ig-layer:hover{outline:2px dashed rgba(34,211,238,.85);outline-offset:3px}.ig-text{line-height:1.08;white-space:pre-wrap;text-shadow:0 2px 12px rgba(0,0,0,.32);padding:4px 6px;z-index:4}.ig-text:focus{outline:2px solid #22d3ee;background:rgba(2,6,23,.22);border-radius:10px}.ig-patch{z-index:2;backdrop-filter:blur(7px)}.ig-person{z-index:3;object-fit:contain;filter:drop-shadow(0 18px 24px rgba(0,0,0,.25))}.real-template-gallery{max-height:430px;overflow:auto;scroll-behavior:auto!important}.instagram-caption-card textarea#igCaptionOutput{background:#071426;color:#e5f7ff;border:1px solid rgba(148,163,184,.25);border-radius:14px;padding:14px;width:100%;resize:vertical}.real-upload-zone{margin-bottom:10px}.ig-designer-layout .instagram-upload-zone input{display:block;width:100%;opacity:.01;height:1px}.ig-designer-layout .instagram-actions-row{gap:8px;flex-wrap:wrap}.ig-design-stage .ig-text-title{font-family:Arial, sans-serif}.ig-design-stage .ig-text-desc,.ig-design-stage .ig-text-phone{font-family:Arial, sans-serif}.ig-design-stage .ig-text-cta{background:#0e8aa7;border-radius:999px;text-align:center;padding-top:12px}.ig-design-stage .ig-text-brand,.ig-design-stage .ig-text-phone{text-shadow:0 2px 10px rgba(0,0,0,.45)}

/* === KANKA YENİ TASARIM ARACI V3 === */
.ig-local-shell .instagram-status-card{min-width:190px}.ig-local-editor{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px;align-items:start}.ig-local-main{min-width:0}.ig-local-right{position:sticky;top:16px;max-height:calc(100vh - 120px);overflow:auto;padding-right:4px}.ig-local-stage-wrap{display:flex;justify-content:center;padding:18px 0}.ig-local-stage{width:760px;height:760px;max-width:100%;aspect-ratio:1/1;position:relative;overflow:hidden;border-radius:28px;background:#071426;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14),0 18px 40px rgba(0,0,0,.28);touch-action:none}.ig-local-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.ig-local-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#cbd5e1;background:linear-gradient(135deg,#071426,#13263d)}.ig-local-empty b{font-size:24px}.ig-local-empty span{margin-top:8px;color:#8aa0bb}.ig-local-layer{position:absolute;box-sizing:border-box;cursor:move;user-select:none}.ig-local-layer.selected{outline:2px dashed #22d3ee;outline-offset:3px}.ig-local-text{white-space:pre-wrap;line-height:1.08;text-shadow:0 8px 20px rgba(0,0,0,.24);padding:4px}.ig-local-text:focus{outline:2px solid #34d399;background:rgba(8,20,36,.20);border-radius:8px}.ig-local-image{object-fit:cover}.ig-local-sidebar{display:flex;flex-direction:column;gap:12px}.ig-side-acc{border:1px solid rgba(148,163,184,.22);border-radius:22px;background:rgba(15,29,48,.84);overflow:hidden}.ig-side-acc summary{display:flex;align-items:center;gap:10px;padding:14px 16px;cursor:pointer;color:#fff;list-style:none}.ig-side-acc summary::-webkit-details-marker{display:none}.ig-side-acc summary span{width:30px;height:30px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(135deg,#7c3aed,#06b6d4);font-weight:800}.ig-side-acc-body{padding:0 16px 16px;color:#dbeafe}.ig-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ig-mini-grid label,.ig-selected-layer label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#b6c7dc}.ig-mini-grid input,.ig-mini-grid select,.ig-selected-layer textarea{width:100%;border:1px solid rgba(148,163,184,.24);background:#08172a;color:#fff;border-radius:12px;padding:10px}.ig-selected-layer textarea{min-height:78px}.ig-layer-title{margin:0 0 10px;color:#fff;font-weight:650}.muted-mini{font-size:12px;color:#8ea4bd;line-height:1.45}.ig-layer-list{display:flex;flex-direction:column;gap:8px}.ig-layer-list button{background:#0b1b30;border:1px solid rgba(148,163,184,.22);color:#dbeafe;border-radius:12px;text-align:left;padding:10px}.ig-layer-list button.active{border-color:#34d399;background:#12372f;color:#fff}.danger{color:#fecaca!important;border-color:rgba(248,113,113,.35)!important}@media(max-width:1100px){.ig-local-editor{grid-template-columns:1fr}.ig-local-right{position:static;max-height:none}.ig-local-stage{width:100%;height:auto}}

/* === Instagram bağımsız tasarım aracı V4: boş başlangıç + köşe resize + katman silme === */
.ig-local-image-wrap{overflow:hidden;display:block;line-height:0}.ig-local-image-wrap .ig-local-image{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}.ig-resize-handle{position:absolute;width:13px;height:13px;background:#22d3ee;border:2px solid #071426;border-radius:50%;box-shadow:0 3px 10px rgba(0,0,0,.28);z-index:8;pointer-events:auto}.ig-resize-handle.nw{left:-8px;top:-8px;cursor:nwse-resize}.ig-resize-handle.ne{right:-8px;top:-8px;cursor:nesw-resize}.ig-resize-handle.sw{left:-8px;bottom:-8px;cursor:nesw-resize}.ig-resize-handle.se{right:-8px;bottom:-8px;cursor:nwse-resize}.ig-local-text .ig-resize-handle{font-size:0;line-height:0}.ig-layer-row{display:grid;grid-template-columns:1fr 34px;gap:8px;align-items:center;background:#0b1b30;border:1px solid rgba(148,163,184,.22);border-radius:12px;padding:6px}.ig-layer-row.active{border-color:#34d399;background:#12372f}.ig-layer-row>button:first-child{border:0;background:transparent;color:#dbeafe;text-align:left;padding:6px;font-size:12px}.ig-layer-delete{width:30px;height:30px;border-radius:10px;border:1px solid rgba(248,113,113,.35)!important;background:rgba(127,29,29,.32)!important;color:#fecaca!important;font-size:18px;line-height:1}.ig-local-empty{border:1px dashed rgba(34,211,238,.32);box-shadow:inset 0 0 0 999px rgba(0,0,0,.08)}.ig-local-empty b{font-weight:520}.ig-local-empty:after{content:"Başlangıç boş. Sağdan fotoğraf, yazı veya şekil ekle.";margin-top:18px;color:#67e8f9;font-size:13px}

/* === 20260525 V5: Tasarım aracı renk seçici + PNG çıktı tam görünüm düzeltmesi === */
.ig-local-shell .ig-mini-grid input[type="color"]{
  display:block !important;
  width:100% !important;
  min-width:54px !important;
  height:42px !important;
  padding:3px !important;
  border-radius:14px !important;
  border:1px solid rgba(255,255,255,.18) !important;
  background:rgba(255,255,255,.08) !important;
  cursor:pointer !important;
}
.ig-local-shell .ig-mini-grid input[type="color"]::-webkit-color-swatch-wrapper{padding:0;border-radius:10px;}
.ig-local-shell .ig-mini-grid input[type="color"]::-webkit-color-swatch{border:0;border-radius:10px;}
.ig-local-shell .ig-local-text{overflow:visible;}
.ig-local-shell .instagram-canvas-wrap.ig-v3-output,
.ig-local-shell .instagram-canvas-wrap.instagram-multi-output{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:16px !important;
  overflow:visible !important;
  min-height:0 !important;
  padding:16px !important;
}
.ig-local-shell .instagram-output-card{
  width:min(100%, 680px) !important;
  max-width:680px !important;
  overflow:visible !important;
}
.ig-local-shell .instagram-output-card canvas,
.ig-local-shell canvas.instagram-output-canvas{
  width:100% !important;
  height:auto !important;
  max-width:100% !important;
  max-height:none !important;
  display:block !important;
  object-fit:contain !important;
  border-radius:18px !important;
}
body.force-light .ig-local-shell .ig-mini-grid input[type="color"],
body.light-theme .ig-local-shell .ig-mini-grid input[type="color"],
body.light .ig-local-shell .ig-mini-grid input[type="color"]{
  background:#f8fafc !important;
  border-color:#cbd5e1 !important;
}

/* === 20260525 V6: Tasarım sahnesinde canlı renk görünümü kesin düzeltme === */
.ig-local-shell .ig-local-text{
  color: var(--ig-layer-color, currentColor) !important;
}
.ig-local-shell .ig-local-shape{
  background: var(--ig-shape-color, currentColor) !important;
}

/* === 20260525 V9: Görsel/PNG seçimi de yazıdaki gibi noktalı çerçeve + büyük tutamaç === */
.ig-local-image-wrap.selected,
.ig-local-shape.selected,
.ig-local-text.selected{
  outline: 2px dashed #22d3ee !important;
  outline-offset: 0 !important;
  box-shadow: 0 0 0 1px rgba(15,23,42,.65), 0 0 0 4px rgba(34,211,238,.12) !important;
}
.ig-local-image-wrap.selected{ overflow: visible !important; }
.ig-local-image-wrap.selected .ig-local-image{ overflow:hidden; border-radius: inherit; }
.ig-resize-handle{
  width: 16px !important;
  height: 16px !important;
  background: #22d3ee !important;
  border: 2px solid #071426 !important;
  border-radius: 50% !important;
  z-index: 9999 !important;
  pointer-events: auto !important;
}
.ig-resize-handle.nw{ left:-9px !important; top:-9px !important; }
.ig-resize-handle.ne{ right:-9px !important; top:-9px !important; }
.ig-resize-handle.sw{ left:-9px !important; bottom:-9px !important; }
.ig-resize-handle.se{ right:-9px !important; bottom:-9px !important; }

/* 20260525 - Tasarım aracı sağ panel sadeleştirme: görseller üstte sabit, yazı menüsü hep açık */
.ig-designer-head{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.ig-designer-head > div{ flex:1 1 280px; }
.ig-top-upload-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-left:auto;
  justify-content:flex-end;
}
.ig-top-upload-actions label{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:185px;
  max-width:250px;
  padding:12px 14px;
  border:1px dashed rgba(44,211,191,.55);
  border-radius:16px;
  background:rgba(13,28,48,.68);
  color:#fff;
  cursor:pointer;
  transition:.18s ease;
}
.ig-top-upload-actions label:hover{
  transform:translateY(-1px);
  border-color:rgba(45,212,191,.95);
  background:rgba(23,47,76,.8);
}
.ig-top-upload-actions input{ display:none; }
.ig-top-upload-actions b{ font-size:12px; line-height:1.25; }
.ig-top-upload-actions span{ font-size:10px; color:#a8c3dc; line-height:1.25; }
.ig-side-fixed{
  border:1px solid rgba(148,163,184,.18);
  border-radius:18px;
  background:rgba(15,30,52,.86);
  overflow:hidden;
  margin-bottom:12px;
}
.ig-side-fixed-head{
  display:flex;
  gap:10px;
  align-items:center;
  padding:14px 15px;
  color:#fff;
}
.ig-side-fixed-head span{
  width:30px;
  height:30px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#6366f1,#22d3ee);
  color:#fff;
  font-weight:800;
}
.ig-side-fixed-head b{ font-size:14px; }
.ig-side-fixed .ig-side-acc-body{ display:block; }
@media (max-width: 1180px){
  .ig-top-upload-actions{ width:100%; justify-content:flex-start; }
  .ig-top-upload-actions label{ flex:1 1 220px; }
}

/* Tasarım aracı üst görsel yükleme alanı: ana başlık satırında sabit */
.ig-section-head-with-uploads{align-items:center;gap:18px;}
.ig-section-head-with-uploads .ig-header-upload-actions{margin-left:auto;display:flex;align-items:stretch;gap:10px;flex-wrap:wrap;justify-content:flex-end;}
.ig-section-head-with-uploads .ig-header-upload-actions label{min-width:210px;max-width:260px;padding:10px 12px;border-radius:14px;border:1px dashed rgba(34,211,238,.45);background:rgba(15,23,42,.42);cursor:pointer;display:flex;flex-direction:column;gap:3px;}
.ig-section-head-with-uploads .ig-header-upload-actions label input{display:none;}
.ig-section-head-with-uploads .ig-header-upload-actions label b{font-size:12px;color:#f8fafc;}
.ig-section-head-with-uploads .ig-header-upload-actions label span{font-size:10px;color:#9fb2c9;line-height:1.25;}
.ig-section-head-with-uploads .ig-header-upload-actions button{white-space:nowrap;}
@media(max-width:1100px){.ig-section-head-with-uploads{flex-direction:column;align-items:flex-start}.ig-section-head-with-uploads .ig-header-upload-actions{margin-left:0;justify-content:flex-start}}

/* === 20260525 V15 responsive / compact instagram designer === */
.ig-compact-shell .instagram-hero{display:none!important;}
.ig-compact-shell .instagram-section-head{align-items:center;}
.ig-compact-shell .ig-header-upload-actions{margin-top:0;align-items:stretch;}
.ig-compact-shell .ig-header-upload-actions label{min-width:170px;}
.ig-compact-shell .ig-header-upload-actions button{white-space:nowrap;}
.ig-plan-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px;}
.ig-plan-card{border:1px solid rgba(148,163,184,.22);background:rgba(15,29,48,.72);border-radius:18px;padding:12px;display:flex;flex-direction:column;gap:8px;}
.ig-plan-card img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:14px;background:#071426;}
.ig-plan-card b{font-weight:600;color:#fff;}.ig-plan-card small{color:#9fb3ce;}
@media(max-width:1360px){.ig-local-editor{grid-template-columns:minmax(0,1fr) 330px}.ig-local-stage{width:min(680px, calc(100vw - 430px));height:min(680px, calc(100vw - 430px));}.ig-header-upload-actions label span{display:none;}}
@media(max-width:1100px){.ig-local-editor{grid-template-columns:1fr}.ig-local-right{position:static;max-height:none;overflow:visible}.ig-local-stage{width:min(92vw,760px);height:min(92vw,760px)}.ig-compact-shell .instagram-section-head{flex-direction:column;align-items:stretch}.ig-compact-shell .ig-header-upload-actions{display:grid;grid-template-columns:1fr 1fr;}.ig-compact-shell .ig-header-upload-actions button{width:100%;}}
@media(max-width:720px){.instagram-tabs.modern-channel-tabs{overflow-x:auto;flex-wrap:nowrap}.instagram-tabs.modern-channel-tabs button{flex:0 0 auto}.ig-compact-shell .ig-header-upload-actions{grid-template-columns:1fr}.ig-local-stage{width:calc(100vw - 32px);height:calc(100vw - 32px);border-radius:18px}.real-preview-card,.instagram-result-card,.instagram-section-head{padding:12px;border-radius:18px}.ig-mini-grid{grid-template-columns:1fr}.app-main,.main{overflow-x:hidden}.ig-local-text{font-size:max(10px,inherit)}}

/* === 20260525: Instagram tasarım aracı son temizlik === */
.ig-local-main > .instagram-result-card:has(#igCanvasWrap){display:none!important;}
.ig-local-shell .ig-local-shape{background:var(--ig-shape-color,#071426)!important;}
.ig-local-shell .ig-local-shape[data-shape-color]{background:attr(data-shape-color color, #071426)!important;}
@media(max-width:1200px){.ig-local-editor{grid-template-columns:minmax(0,1fr) 340px}.ig-top-upload-actions label{min-width:160px}}
@media(max-width:900px){.ig-local-editor{grid-template-columns:1fr}.ig-local-right{position:static;max-height:none}.ig-section-head-with-uploads{align-items:flex-start;flex-direction:column}.ig-header-upload-actions{width:100%;justify-content:flex-start}.ig-header-upload-actions label{flex:1 1 190px}.ig-local-stage{width:min(100%,760px);height:auto;aspect-ratio:1/1}}

/* === AI Metin Asistanı === */
.ig-ai-panel{margin-top:14px;padding:14px;border:1px solid rgba(148,163,184,.18);border-radius:18px;background:rgba(15,23,42,.78)}
.ig-ai-form{display:grid;grid-template-columns:1fr;gap:10px;margin-top:10px}.ig-ai-form label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#cbd5e1}.ig-ai-form input,.ig-ai-form select{width:100%;border:1px solid rgba(148,163,184,.25);background:#0f172a;color:#fff;border-radius:12px;padding:10px}.ig-ai-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.ig-ai-actions button{padding:9px 8px;border-radius:12px}.ig-ai-result{margin-top:12px;border:1px dashed rgba(148,163,184,.28);border-radius:14px;padding:10px;color:#cbd5e1;font-size:12px}.ig-ai-suggestion-list{display:flex;flex-direction:column;gap:9px}.ig-ai-suggestion{background:rgba(2,6,23,.35);border:1px solid rgba(148,163,184,.16);border-radius:13px;padding:10px}.ig-ai-suggestion p{margin:0 0 8px;color:#f8fafc;line-height:1.35}.ig-ai-suggestion div{display:flex;gap:8px;flex-wrap:wrap}.ig-ai-suggestion button{padding:7px 9px;border-radius:10px;font-size:12px}

/* === 20260525 AI panel / light theme visibility polish === */
.ig-local-shell .ig-local-right{padding-bottom:140px!important;scroll-padding-bottom:140px!important;}
.ig-local-shell .ig-local-sidebar{padding-bottom:120px!important;}
.ig-local-shell .ig-ai-panel{margin-bottom:110px!important;}
.ig-local-shell .ig-local-empty b{color:#f8fafc!important;text-shadow:0 2px 14px rgba(0,0,0,.42)!important;opacity:1!important;}
.ig-local-shell .ig-local-empty span{color:#d7eefb!important;text-shadow:0 2px 12px rgba(0,0,0,.35)!important;opacity:1!important;}
body.light-theme .ig-local-shell .ig-side-acc,body.force-light .ig-local-shell .ig-side-acc{background:#ffffff!important;border-color:#d8e2ee!important;box-shadow:0 12px 28px rgba(15,23,42,.08)!important;}
body.light-theme .ig-local-shell .ig-side-acc summary,body.force-light .ig-local-shell .ig-side-acc summary{background:#334155!important;color:#f8fafc!important;border-radius:20px!important;}
body.light-theme .ig-local-shell .ig-side-acc summary b,body.force-light .ig-local-shell .ig-side-acc summary b{color:#f8fafc!important;}
body.light-theme .ig-local-shell .ig-side-acc-body,body.force-light .ig-local-shell .ig-side-acc-body{background:#ffffff!important;color:#111827!important;}
body.light-theme .ig-local-shell .ig-ai-panel,body.force-light .ig-local-shell .ig-ai-panel{background:#ffffff!important;border-color:#dbe4ee!important;color:#111827!important;}
body.light-theme .ig-local-shell .ig-ai-panel h4,body.force-light .ig-local-shell .ig-ai-panel h4,body.light-theme .ig-local-shell .ig-ai-suggestion p,body.force-light .ig-local-shell .ig-ai-suggestion p{color:#111827!important;}
body.light-theme .ig-local-shell .ig-ai-panel p,body.force-light .ig-local-shell .ig-ai-panel p,body.light-theme .ig-local-shell .ig-ai-form label,body.force-light .ig-local-shell .ig-ai-form label,body.light-theme .ig-local-shell .ig-ai-result,body.force-light .ig-local-shell .ig-ai-result{color:#334155!important;}
body.light-theme .ig-local-shell .ig-ai-form input,body.light-theme .ig-local-shell .ig-ai-form select,body.force-light .ig-local-shell .ig-ai-form input,body.force-light .ig-local-shell .ig-ai-form select{background:#f8fafc!important;color:#111827!important;border-color:#cbd5e1!important;}
body.light-theme .ig-local-shell .ig-ai-suggestion,body.force-light .ig-local-shell .ig-ai-suggestion{background:#f8fafc!important;border-color:#dbe4ee!important;color:#111827!important;}
body.light-theme .ig-local-shell .ig-mini-grid input,body.light-theme .ig-local-shell .ig-mini-grid select,body.light-theme .ig-local-shell .ig-selected-layer textarea,body.force-light .ig-local-shell .ig-mini-grid input,body.force-light .ig-local-shell .ig-mini-grid select,body.force-light .ig-local-shell .ig-selected-layer textarea{background:#f8fafc!important;color:#111827!important;border-color:#cbd5e1!important;}
body.light-theme .ig-local-shell .ig-mini-grid label,body.light-theme .ig-local-shell .ig-selected-layer label,body.force-light .ig-local-shell .ig-mini-grid label,body.force-light .ig-local-shell .ig-selected-layer label{color:#334155!important;}

/* === 20260525 kesin açık tema düzeltmesi: Instagram tasarım aracı sağ panel === */
body.light .ig-local-shell .ig-local-right,
body.light-theme .ig-local-shell .ig-local-right,
body.force-light .ig-local-shell .ig-local-right{
  padding-bottom:220px!important;
  scroll-padding-bottom:220px!important;
}
body.light .ig-local-shell .ig-local-sidebar,
body.light-theme .ig-local-shell .ig-local-sidebar,
body.force-light .ig-local-shell .ig-local-sidebar{
  padding-bottom:200px!important;
}
body.light .ig-local-shell .ig-side-fixed,
body.light-theme .ig-local-shell .ig-side-fixed,
body.force-light .ig-local-shell .ig-side-fixed,
body.light .ig-local-shell .ig-side-acc,
body.light-theme .ig-local-shell .ig-side-acc,
body.force-light .ig-local-shell .ig-side-acc{
  background:#ffffff!important;
  border-color:#d8e2ee!important;
  color:#0f172a!important;
  box-shadow:0 12px 28px rgba(15,23,42,.08)!important;
}
body.light .ig-local-shell .ig-side-fixed-head,
body.light-theme .ig-local-shell .ig-side-fixed-head,
body.force-light .ig-local-shell .ig-side-fixed-head,
body.light .ig-local-shell .ig-side-acc > summary,
body.light-theme .ig-local-shell .ig-side-acc > summary,
body.force-light .ig-local-shell .ig-side-acc > summary{
  background:#334155!important;
  color:#f8fafc!important;
  border-radius:18px!important;
}
body.light .ig-local-shell .ig-side-fixed-head *,
body.light-theme .ig-local-shell .ig-side-fixed-head *,
body.force-light .ig-local-shell .ig-side-fixed-head *,
body.light .ig-local-shell .ig-side-acc > summary *,
body.light-theme .ig-local-shell .ig-side-acc > summary *,
body.force-light .ig-local-shell .ig-side-acc > summary *{
  color:#f8fafc!important;
}
body.light .ig-local-shell .ig-side-acc-body,
body.light-theme .ig-local-shell .ig-side-acc-body,
body.force-light .ig-local-shell .ig-side-acc-body{
  background:#ffffff!important;
  color:#0f172a!important;
}
body.light .ig-local-shell .ig-layer-title,
body.light-theme .ig-local-shell .ig-layer-title,
body.force-light .ig-local-shell .ig-layer-title,
body.light .ig-local-shell .ig-ai-panel h4,
body.light-theme .ig-local-shell .ig-ai-panel h4,
body.force-light .ig-local-shell .ig-ai-panel h4{
  color:#0f172a!important;
}
body.light .ig-local-shell .ig-mini-grid label,
body.light-theme .ig-local-shell .ig-mini-grid label,
body.force-light .ig-local-shell .ig-mini-grid label,
body.light .ig-local-shell .ig-selected-layer label,
body.light-theme .ig-local-shell .ig-selected-layer label,
body.force-light .ig-local-shell .ig-selected-layer label,
body.light .ig-local-shell .muted-mini,
body.light-theme .ig-local-shell .muted-mini,
body.force-light .ig-local-shell .muted-mini{
  color:#334155!important;
}
body.light .ig-local-shell .ig-mini-grid input,
body.light-theme .ig-local-shell .ig-mini-grid input,
body.force-light .ig-local-shell .ig-mini-grid input,
body.light .ig-local-shell .ig-mini-grid select,
body.light-theme .ig-local-shell .ig-mini-grid select,
body.force-light .ig-local-shell .ig-mini-grid select,
body.light .ig-local-shell .ig-selected-layer textarea,
body.light-theme .ig-local-shell .ig-selected-layer textarea,
body.force-light .ig-local-shell .ig-selected-layer textarea,
body.light .ig-local-shell .ig-ai-form input,
body.light-theme .ig-local-shell .ig-ai-form input,
body.force-light .ig-local-shell .ig-ai-form input,
body.light .ig-local-shell .ig-ai-form select,
body.light-theme .ig-local-shell .ig-ai-form select,
body.force-light .ig-local-shell .ig-ai-form select{
  background:#f8fafc!important;
  color:#0f172a!important;
  border-color:#cbd5e1!important;
}
body.light .ig-local-shell .ig-ai-panel,
body.light-theme .ig-local-shell .ig-ai-panel,
body.force-light .ig-local-shell .ig-ai-panel{
  background:#ffffff!important;
  border-color:#d8e2ee!important;
  color:#0f172a!important;
  margin-bottom:190px!important;
}
body.light .ig-local-shell .ig-ai-panel p,
body.light-theme .ig-local-shell .ig-ai-panel p,
body.force-light .ig-local-shell .ig-ai-panel p,
body.light .ig-local-shell .ig-ai-form label,
body.light-theme .ig-local-shell .ig-ai-form label,
body.force-light .ig-local-shell .ig-ai-form label,
body.light .ig-local-shell .ig-ai-result,
body.light-theme .ig-local-shell .ig-ai-result,
body.force-light .ig-local-shell .ig-ai-result{
  color:#334155!important;
}
body.light .ig-local-shell .ig-ai-suggestion,
body.light-theme .ig-local-shell .ig-ai-suggestion,
body.force-light .ig-local-shell .ig-ai-suggestion{
  background:#f8fafc!important;
  border-color:#d8e2ee!important;
  color:#0f172a!important;
}
body.light .ig-local-shell .ig-ai-suggestion p,
body.light-theme .ig-local-shell .ig-ai-suggestion p,
body.force-light .ig-local-shell .ig-ai-suggestion p{
  color:#0f172a!important;
}
body.light .ig-local-shell .ig-local-empty b,
body.light-theme .ig-local-shell .ig-local-empty b,
body.force-light .ig-local-shell .ig-local-empty b{
  color:#eaf7ff!important;
  text-shadow:0 2px 14px rgba(0,0,0,.48)!important;
  opacity:1!important;
}
body.light .ig-local-shell .ig-local-empty span,
body.light-theme .ig-local-shell .ig-local-empty span,
body.force-light .ig-local-shell .ig-local-empty span{
  color:#7dd3fc!important;
  text-shadow:0 2px 10px rgba(0,0,0,.42)!important;
  opacity:1!important;
}
body.light .ig-section-head-with-uploads .ig-header-upload-actions label,
body.light-theme .ig-section-head-with-uploads .ig-header-upload-actions label,
body.force-light .ig-section-head-with-uploads .ig-header-upload-actions label{
  background:#e2e8f0!important;
  border-color:#94a3b8!important;
  color:#0f172a!important;
}
body.light .ig-section-head-with-uploads .ig-header-upload-actions label b,
body.light-theme .ig-section-head-with-uploads .ig-header-upload-actions label b,
body.force-light .ig-section-head-with-uploads .ig-header-upload-actions label b{
  color:#0f172a!important;
}
body.light .ig-section-head-with-uploads .ig-header-upload-actions label span,
body.light-theme .ig-section-head-with-uploads .ig-header-upload-actions label span,
body.force-light .ig-section-head-with-uploads .ig-header-upload-actions label span{
  color:#334155!important;
}

/* === 20260525 light theme full polish: designer area, menu titles, layer rows === */
body.force-light .ig-local-shell .real-preview-card,
body.light-theme .ig-local-shell .real-preview-card,
body.force-light .ig-local-shell .ig-v3-card,
body.light-theme .ig-local-shell .ig-v3-card,
body.force-light .ig-local-shell .instagram-section-head,
body.light-theme .ig-local-shell .instagram-section-head{
  background:#ffffff!important;
  border-color:#dbe4ee!important;
  color:#0f172a!important;
  box-shadow:0 18px 44px rgba(15,23,42,.08)!important;
}
body.force-light .ig-local-shell .std-card-head h4,
body.light-theme .ig-local-shell .std-card-head h4,
body.force-light .ig-local-shell .std-card-head p,
body.light-theme .ig-local-shell .std-card-head p,
body.force-light .ig-local-shell .real-preview-card h4,
body.light-theme .ig-local-shell .real-preview-card h4,
body.force-light .ig-local-shell .real-preview-card p,
body.light-theme .ig-local-shell .real-preview-card p{
  color:#0f172a!important;
}
body.force-light .ig-local-shell .real-preview-card p,
body.light-theme .ig-local-shell .real-preview-card p,
body.force-light .ig-local-shell .std-card-head p,
body.light-theme .ig-local-shell .std-card-head p{
  color:#334155!important;
}
body.force-light .ig-local-shell .ig-local-stage,
body.light-theme .ig-local-shell .ig-local-stage{
  background:#f8fafc!important;
  border:1px dashed #38bdf8!important;
  box-shadow:inset 0 0 0 1px rgba(15,23,42,.04),0 18px 44px rgba(15,23,42,.10)!important;
}
body.force-light .ig-local-shell .ig-local-empty,
body.light-theme .ig-local-shell .ig-local-empty{
  background:linear-gradient(135deg,#f8fbff,#eaf4ff)!important;
  color:#0f172a!important;
  border-color:#38bdf8!important;
  box-shadow:none!important;
}
body.force-light .ig-local-shell .ig-local-empty b,
body.light-theme .ig-local-shell .ig-local-empty b{
  color:#0f172a!important;
  text-shadow:none!important;
  opacity:1!important;
}
body.force-light .ig-local-shell .ig-local-empty span,
body.light-theme .ig-local-shell .ig-local-empty span,
body.force-light .ig-local-shell .ig-local-empty:after,
body.light-theme .ig-local-shell .ig-local-empty:after{
  color:#0369a1!important;
  text-shadow:none!important;
  opacity:1!important;
}
body.force-light .ig-local-shell .ig-side-acc,
body.light-theme .ig-local-shell .ig-side-acc,
body.force-light .ig-local-shell .ig-side-fixed,
body.light-theme .ig-local-shell .ig-side-fixed{
  background:#ffffff!important;
  border-color:#dbe4ee!important;
  color:#0f172a!important;
}
body.force-light .ig-local-shell .ig-side-acc > summary,
body.light-theme .ig-local-shell .ig-side-acc > summary,
body.force-light .ig-local-shell .ig-side-fixed-head,
body.light-theme .ig-local-shell .ig-side-fixed-head{
  background:#f8fafc!important;
  border:1px solid #dbe4ee!important;
  color:#0f172a!important;
  box-shadow:none!important;
}
body.force-light .ig-local-shell .ig-side-acc > summary b,
body.light-theme .ig-local-shell .ig-side-acc > summary b,
body.force-light .ig-local-shell .ig-side-acc > summary *,
body.light-theme .ig-local-shell .ig-side-acc > summary *,
body.force-light .ig-local-shell .ig-side-fixed-head *,
body.light-theme .ig-local-shell .ig-side-fixed-head *{
  color:#0f172a!important;
}
body.force-light .ig-local-shell .ig-side-acc > summary span,
body.light-theme .ig-local-shell .ig-side-acc > summary span,
body.force-light .ig-local-shell .ig-side-fixed-head span,
body.light-theme .ig-local-shell .ig-side-fixed-head span{
  color:#ffffff!important;
}
body.force-light .ig-local-shell .ig-selected-layer,
body.light-theme .ig-local-shell .ig-selected-layer,
body.force-light .ig-local-shell .ig-side-acc-body,
body.light-theme .ig-local-shell .ig-side-acc-body{
  background:#ffffff!important;
  color:#0f172a!important;
}
body.force-light .ig-local-shell .ig-layer-row,
body.light-theme .ig-local-shell .ig-layer-row,
body.force-light .ig-local-shell .ig-layer-list button,
body.light-theme .ig-local-shell .ig-layer-list button{
  background:#f8fafc!important;
  border-color:#dbe4ee!important;
  color:#0f172a!important;
}
body.force-light .ig-local-shell .ig-layer-row > button:first-child,
body.light-theme .ig-local-shell .ig-layer-row > button:first-child,
body.force-light .ig-local-shell .ig-layer-list button,
body.light-theme .ig-local-shell .ig-layer-list button{
  color:#0f172a!important;
}
body.force-light .ig-local-shell .ig-layer-row.active,
body.light-theme .ig-local-shell .ig-layer-row.active,
body.force-light .ig-local-shell .ig-layer-list button.active,
body.light-theme .ig-local-shell .ig-layer-list button.active{
  background:#ccfbf1!important;
  border-color:#14b8a6!important;
  color:#0f172a!important;
  box-shadow:0 8px 22px rgba(20,184,166,.14)!important;
}
body.force-light .ig-local-shell .ig-layer-delete,
body.light-theme .ig-local-shell .ig-layer-delete{
  background:#fee2e2!important;
  border-color:#fecaca!important;
  color:#991b1b!important;
}
body.force-light .ig-local-shell .ig-ai-panel,
body.light-theme .ig-local-shell .ig-ai-panel{
  background:#ffffff!important;
  border-color:#dbe4ee!important;
}
body.force-light .ig-local-shell .ig-ai-result,
body.light-theme .ig-local-shell .ig-ai-result,
body.force-light .ig-local-shell .ig-ai-suggestion,
body.light-theme .ig-local-shell .ig-ai-suggestion{
  background:#f8fafc!important;
  color:#0f172a!important;
  border-color:#dbe4ee!important;
}


/* Gizlilik Modu */
.privacy-lock-btn{
  border:1px solid rgba(148,163,184,.24)!important;
  background:linear-gradient(135deg,rgba(15,23,42,.92),rgba(30,41,59,.88))!important;
  color:#f8fafc!important;
  border-radius:999px!important;
  padding:9px 14px!important;
  font-size:12px!important;
  font-weight:600!important;
  box-shadow:0 12px 28px rgba(2,6,23,.20)!important;
  cursor:pointer!important;
  white-space:nowrap!important;
}
body.force-light .privacy-lock-btn, body.light-theme .privacy-lock-btn{
  background:linear-gradient(135deg,#ffffff,#f1f5f9)!important;
  color:#0f172a!important;
  border-color:#dbe3ef!important;
}
.privacy-lock-overlay{
  position:fixed;
  inset:0;
  z-index:2147483000;
  display:flex;
  align-items:center;
  justify-content:center;
  background:radial-gradient(circle at top,rgba(20,184,166,.18),transparent 32%), rgba(2,6,23,.92);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.privacy-lock-card{
  width:min(420px,calc(100vw - 34px));
  border-radius:30px;
  padding:34px;
  background:linear-gradient(180deg,rgba(15,23,42,.96),rgba(2,6,23,.98));
  color:#f8fafc;
  border:1px solid rgba(148,163,184,.22);
  box-shadow:0 30px 90px rgba(0,0,0,.48);
  text-align:center;
}
.privacy-lock-icon{font-size:46px;margin-bottom:10px}
.privacy-lock-card h2{margin:0 0 8px;font-size:26px;color:#fff}
.privacy-lock-card p{margin:0 0 22px;color:#cbd5e1;line-height:1.5}
.privacy-lock-card label{display:block;text-align:left;margin-bottom:8px;color:#e2e8f0;font-size:13px;font-weight:600}
.privacy-lock-card input{
  width:100%;box-sizing:border-box;border-radius:16px;border:1px solid rgba(148,163,184,.3);
  padding:14px 16px;background:#0f172a;color:#fff;outline:none;font-size:15px;margin-bottom:14px;
}
.privacy-lock-card button{
  width:100%;border:0;border-radius:16px;padding:14px 18px;background:linear-gradient(135deg,#14b8a6,#22c55e);
  color:#052e2b;font-weight:800;cursor:pointer;font-size:15px;margin-bottom:12px;
}
.privacy-lock-card small{display:block;color:#94a3b8;font-size:12px}
.privacy-unlock-error{min-height:18px;margin-top:12px;color:#fca5a5;font-size:13px;font-weight:600}
body.privacy-mode-active .app-shell{filter:blur(4px);pointer-events:none;user-select:none}
@media(max-width:700px){.privacy-lock-btn{padding:8px 10px!important;font-size:11px!important}.privacy-lock-card{padding:26px}}


/* === Hasta arama ve modal autocomplete stabilizasyonu === */
.patient-autocomplete-wrap{position:relative;margin:0 0 14px 0;}
.patient-autocomplete-wrap input[type="text"],
.patient-autocomplete-wrap input:not([type]){margin-bottom:0!important;}
.patient-autocomplete-wrap .patient-search-results{
  position:absolute!important;
  left:0!important;
  right:0!important;
  top:100%!important;
  z-index:10050!important;
  margin-top:6px!important;
  margin-bottom:0!important;
  max-height:190px!important;
  overflow:auto!important;
}
.patient-autocomplete-wrap + label{margin-top:8px!important;display:block;}
#patientLiveSearchInput{outline:none;}

/* Modern şube değişim menüsü */
.branch-select-box.modern-branch-switcher{
  position:relative!important;
  margin:12px 12px 10px!important;
  padding:10px!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,rgba(15,23,42,.74),rgba(2,8,23,.64))!important;
  border:1px solid rgba(148,163,184,.20)!important;
  box-shadow:0 12px 34px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.04)!important;
  overflow:visible!important;
  z-index:80;
}
.branch-select-box.modern-branch-switcher label{
  display:block!important;
  color:#9fb0c8!important;
  font-size:10px!important;
  font-weight:800!important;
  text-transform:uppercase!important;
  letter-spacing:.12em!important;
  margin:0 0 8px!important;
}
.modern-branch-current{
  width:100%!important;
  min-height:46px!important;
  border-radius:16px!important;
  border:1px solid rgba(99,102,241,.55)!important;
  background:linear-gradient(135deg,rgba(15,23,42,.92),rgba(30,41,59,.84))!important;
  color:#eef6ff!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  padding:8px 11px!important;
  cursor:pointer!important;
  box-shadow:0 10px 28px rgba(0,0,0,.18), 0 0 0 1px rgba(34,211,238,.04) inset!important;
}
.modern-branch-current:hover{
  border-color:rgba(34,211,238,.62)!important;
  background:linear-gradient(135deg,rgba(22,34,55,.96),rgba(20,64,81,.78))!important;
}
.modern-branch-icon{
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:12px!important;
  color:#fff!important;
  font-size:15px!important;
  background:linear-gradient(135deg,#22d3ee,#8b5cf6)!important;
  box-shadow:0 8px 20px rgba(34,211,238,.20)!important;
}
.modern-branch-current-text{
  flex:1!important;
  text-align:left!important;
  color:#f8fafc!important;
  font-size:13px!important;
  font-weight:750!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.modern-branch-chevron{
  width:22px!important;
  color:#cbd5e1!important;
  font-size:18px!important;
  line-height:1!important;
  transition:transform .16s ease!important;
}
.modern-branch-switcher.open .modern-branch-chevron{transform:rotate(180deg)!important;}
.modern-branch-options{
  display:none;
  position:absolute;
  left:10px;
  right:10px;
  top:calc(100% - 5px);
  padding:8px;
  border-radius:16px;
  background:linear-gradient(180deg,rgba(15,23,42,.98),rgba(2,8,23,.98));
  border:1px solid rgba(34,211,238,.30);
  box-shadow:0 24px 54px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter:blur(16px);
  z-index:9999;
}
.modern-branch-switcher.open .modern-branch-options{display:block;}
.modern-branch-option{
  width:100%!important;
  border:0!important;
  outline:0!important;
  margin:0 0 5px!important;
  border-radius:13px!important;
  padding:9px 10px!important;
  color:#dbeafe!important;
  background:transparent!important;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  cursor:pointer!important;
  text-align:left!important;
  font-weight:650!important;
  font-size:13px!important;
}
.modern-branch-option:hover{background:rgba(34,211,238,.10)!important;color:#fff!important;}
.modern-branch-option.active{
  background:linear-gradient(135deg,rgba(20,184,166,.28),rgba(14,116,144,.24))!important;
  color:#3ff5d6!important;
  box-shadow:inset 0 0 0 1px rgba(45,212,191,.18)!important;
}
.modern-branch-check{
  width:20px!important;
  min-width:20px!important;
  color:#2dd4bf!important;
  font-size:16px!important;
}
.modern-branch-dot{
  width:13px!important;
  height:13px!important;
  min-width:13px!important;
  border-radius:50%!important;
  box-shadow:0 0 18px currentColor!important;
}
.modern-branch-dot.teal{background:#2dd4bf!important;color:#2dd4bf!important;}
.modern-branch-dot.violet{background:#8b5cf6!important;color:#8b5cf6!important;}
.modern-branch-dot.blue{background:#38bdf8!important;color:#38bdf8!important;}
.modern-branch-name{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}

body.light .branch-select-box.modern-branch-switcher,
body.force-light .branch-select-box.modern-branch-switcher,
body.light-theme .branch-select-box.modern-branch-switcher{
  background:#ffffff!important;
  border-color:#e2e8f0!important;
  box-shadow:0 12px 30px rgba(15,23,42,.08)!important;
}
body.light .branch-select-box.modern-branch-switcher label,
body.force-light .branch-select-box.modern-branch-switcher label,
body.light-theme .branch-select-box.modern-branch-switcher label{color:#64748b!important;}
body.light .modern-branch-current,
body.force-light .modern-branch-current,
body.light-theme .modern-branch-current{
  background:#f8fafc!important;
  color:#0f172a!important;
  border-color:#cbd5e1!important;
  box-shadow:0 8px 20px rgba(15,23,42,.08)!important;
}
body.light .modern-branch-current-text,
body.force-light .modern-branch-current-text,
body.light-theme .modern-branch-current-text{color:#0f172a!important;}
body.light .modern-branch-chevron,
body.force-light .modern-branch-chevron,
body.light-theme .modern-branch-chevron{color:#334155!important;}
body.light .modern-branch-options,
body.force-light .modern-branch-options,
body.light-theme .modern-branch-options{
  background:#ffffff!important;
  border-color:#dbeafe!important;
  box-shadow:0 22px 44px rgba(15,23,42,.16)!important;
}
body.light .modern-branch-option,
body.force-light .modern-branch-option,
body.light-theme .modern-branch-option{color:#172033!important;}
body.light .modern-branch-option:hover,
body.force-light .modern-branch-option:hover,
body.light-theme .modern-branch-option:hover{background:#f1f5f9!important;color:#0f172a!important;}
body.light .modern-branch-option.active,
body.force-light .modern-branch-option.active,
body.light-theme .modern-branch-option.active{background:#e6fffa!important;color:#0f766e!important;}

/* === Modern Şube Değişim Menüsü - Mockup'a yakın kesin stil === */
#modernBranchSwitcher.branch-select-box.modern-branch-switcher{
  margin:12px 10px 12px!important;
  padding:12px!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,rgba(15,23,42,.82),rgba(8,18,35,.72))!important;
  border:1px solid rgba(148,163,184,.22)!important;
  box-shadow:0 16px 42px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.055)!important;
  overflow:visible!important;
  z-index:90!important;
}
#modernBranchSwitcher.branch-select-box.modern-branch-switcher label{
  display:block!important;
  margin:0 0 9px!important;
  color:#a8b4c7!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.16em!important;
  text-transform:uppercase!important;
}
#modernBranchSwitcher .modern-branch-current{
  width:100%!important;
  min-height:54px!important;
  border-radius:18px!important;
  padding:10px 12px!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  background:linear-gradient(135deg,rgba(13,24,45,.98),rgba(17,30,54,.92))!important;
  border:1px solid rgba(129,140,248,.62)!important;
  color:#f8fafc!important;
  box-shadow:0 0 0 1px rgba(34,211,238,.06) inset, 0 12px 28px rgba(0,0,0,.28), 0 0 22px rgba(99,102,241,.10)!important;
  cursor:pointer!important;
}
#modernBranchSwitcher .modern-branch-current:hover{
  border-color:rgba(34,211,238,.72)!important;
  box-shadow:0 0 0 1px rgba(34,211,238,.12) inset, 0 14px 32px rgba(0,0,0,.30), 0 0 26px rgba(34,211,238,.16)!important;
}
#modernBranchSwitcher .modern-branch-icon{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  border-radius:13px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#fff!important;
  font-size:16px!important;
  background:linear-gradient(135deg,#3b82f6 0%,#8b5cf6 52%,#22d3ee 100%)!important;
  box-shadow:0 10px 24px rgba(99,102,241,.28)!important;
}
#modernBranchSwitcher .modern-branch-current-text{
  flex:1!important;
  color:#ffffff!important;
  font-size:14px!important;
  line-height:1.1!important;
  font-weight:850!important;
  letter-spacing:-.01em!important;
  text-align:left!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#modernBranchSwitcher .modern-branch-chevron{
  width:22px!important;
  height:22px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#e2e8f0!important;
  font-size:19px!important;
  transition:transform .18s ease!important;
}
#modernBranchSwitcher.open .modern-branch-chevron{transform:rotate(180deg)!important;}
#modernBranchSwitcher .modern-branch-options{
  display:none!important;
  position:absolute!important;
  left:12px!important;
  right:12px!important;
  top:calc(100% - 2px)!important;
  padding:8px!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,rgba(9,20,39,.985),rgba(4,12,28,.985))!important;
  border:1px solid rgba(45,212,191,.38)!important;
  box-shadow:0 24px 58px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.055)!important;
  backdrop-filter:blur(18px)!important;
  z-index:99999!important;
}
#modernBranchSwitcher.open .modern-branch-options{display:block!important;}
#modernBranchSwitcher .modern-branch-option{
  width:100%!important;
  min-height:43px!important;
  border:0!important;
  outline:0!important;
  margin:0 0 6px!important;
  padding:10px 11px!important;
  border-radius:14px!important;
  background:transparent!important;
  color:#dbeafe!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  text-align:left!important;
  font-size:14px!important;
  font-weight:760!important;
  cursor:pointer!important;
  transition:background .15s ease, color .15s ease, transform .12s ease!important;
}
#modernBranchSwitcher .modern-branch-option:last-child{margin-bottom:0!important;}
#modernBranchSwitcher .modern-branch-option:hover{
  background:rgba(34,211,238,.10)!important;
  color:#ffffff!important;
  transform:translateX(2px)!important;
}
#modernBranchSwitcher .modern-branch-option.active{
  background:linear-gradient(135deg,rgba(20,184,166,.42),rgba(15,118,110,.32))!important;
  color:#38f6d2!important;
  box-shadow:inset 0 0 0 1px rgba(45,212,191,.26), 0 8px 22px rgba(20,184,166,.10)!important;
}
#modernBranchSwitcher .modern-branch-check{
  width:22px!important;
  min-width:22px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#2dd4bf!important;
  font-size:18px!important;
  line-height:1!important;
}
#modernBranchSwitcher .modern-branch-dot{
  width:13px!important;
  height:13px!important;
  min-width:13px!important;
  border-radius:999px!important;
  box-shadow:0 0 18px currentColor!important;
}
#modernBranchSwitcher .modern-branch-dot.teal{background:#2dd4bf!important;color:#2dd4bf!important;}
#modernBranchSwitcher .modern-branch-dot.violet{background:#8b5cf6!important;color:#8b5cf6!important;}
#modernBranchSwitcher .modern-branch-dot.blue{background:#38bdf8!important;color:#38bdf8!important;}
#modernBranchSwitcher .modern-branch-name{
  flex:1!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.light #modernBranchSwitcher.branch-select-box.modern-branch-switcher,
body.force-light #modernBranchSwitcher.branch-select-box.modern-branch-switcher,
body.light-theme #modernBranchSwitcher.branch-select-box.modern-branch-switcher{
  background:#ffffff!important;
  border-color:#e2e8f0!important;
  box-shadow:0 16px 38px rgba(15,23,42,.08)!important;
}
body.light #modernBranchSwitcher.branch-select-box.modern-branch-switcher label,
body.force-light #modernBranchSwitcher.branch-select-box.modern-branch-switcher label,
body.light-theme #modernBranchSwitcher.branch-select-box.modern-branch-switcher label{color:#64748b!important;}
body.light #modernBranchSwitcher .modern-branch-current,
body.force-light #modernBranchSwitcher .modern-branch-current,
body.light-theme #modernBranchSwitcher .modern-branch-current{
  background:#f8fafc!important;
  color:#0f172a!important;
  border-color:#c7d2fe!important;
  box-shadow:0 12px 26px rgba(15,23,42,.09)!important;
}
body.light #modernBranchSwitcher .modern-branch-current-text,
body.force-light #modernBranchSwitcher .modern-branch-current-text,
body.light-theme #modernBranchSwitcher .modern-branch-current-text{color:#111827!important;}
body.light #modernBranchSwitcher .modern-branch-chevron,
body.force-light #modernBranchSwitcher .modern-branch-chevron,
body.light-theme #modernBranchSwitcher .modern-branch-chevron{color:#334155!important;}
body.light #modernBranchSwitcher .modern-branch-options,
body.force-light #modernBranchSwitcher .modern-branch-options,
body.light-theme #modernBranchSwitcher .modern-branch-options{
  background:#ffffff!important;
  border-color:#bae6fd!important;
  box-shadow:0 22px 44px rgba(15,23,42,.14)!important;
}
body.light #modernBranchSwitcher .modern-branch-option,
body.force-light #modernBranchSwitcher .modern-branch-option,
body.light-theme #modernBranchSwitcher .modern-branch-option{color:#172033!important;}
body.light #modernBranchSwitcher .modern-branch-option:hover,
body.force-light #modernBranchSwitcher .modern-branch-option:hover,
body.light-theme #modernBranchSwitcher .modern-branch-option:hover{background:#eff6ff!important;color:#0f172a!important;}
body.light #modernBranchSwitcher .modern-branch-option.active,
body.force-light #modernBranchSwitcher .modern-branch-option.active,
body.light-theme #modernBranchSwitcher .modern-branch-option.active{
  background:linear-gradient(135deg,#ccfbf1,#ecfeff)!important;
  color:#0f766e!important;
}

/* === MODERN GREEN BUTTON PACK - TerapistSistemi === */
:root{
  --btn-green-a:#22d3c5;
  --btn-green-b:#0f9f8a;
  --btn-green-c:#075f58;
  --btn-green-text:#f4fffd;
  --btn-green-border:rgba(45,212,191,.38);
  --btn-green-shadow:0 12px 26px rgba(20,184,166,.20), inset 0 1px 0 rgba(255,255,255,.16);
}

button:not(.light):not(.danger):not(.chat-type-btn):not(.important-choice):not(#importantMsgBtn):not(.ig-layer-delete),
.btn:not(.light):not(.danger),
a.btn:not(.light):not(.danger),
input[type="button"],
input[type="submit"]{
  border:1px solid var(--btn-green-border)!important;
  background:linear-gradient(135deg,var(--btn-green-a) 0%,var(--btn-green-b) 54%,var(--btn-green-c) 100%)!important;
  color:var(--btn-green-text)!important;
  border-radius:13px!important;
  box-shadow:var(--btn-green-shadow)!important;
  font-weight:650!important;
  letter-spacing:-.01em!important;
  min-height:38px;
  padding:10px 16px!important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  position:relative;
  overflow:hidden;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,filter .18s ease!important;
}

button:not(.light):not(.danger):not(.chat-type-btn):not(.important-choice):not(#importantMsgBtn):not(.ig-layer-delete)::before,
.btn:not(.light):not(.danger)::before,
a.btn:not(.light):not(.danger)::before,
input[type="button"]::before,
input[type="submit"]::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(255,255,255,.18),rgba(255,255,255,0) 52%);
  pointer-events:none;
}

button:not(.light):not(.danger):not(.chat-type-btn):not(.important-choice):not(#importantMsgBtn):not(.ig-layer-delete):hover,
.btn:not(.light):not(.danger):hover,
a.btn:not(.light):not(.danger):hover,
input[type="button"]:hover,
input[type="submit"]:hover{
  transform:translateY(-1px);
  filter:saturate(1.10) brightness(1.04);
  border-color:rgba(94,234,212,.62)!important;
  box-shadow:0 16px 34px rgba(20,184,166,.30),0 0 0 1px rgba(45,212,191,.18),inset 0 1px 0 rgba(255,255,255,.20)!important;
}

button:not(.light):not(.danger):not(.chat-type-btn):not(.important-choice):not(#importantMsgBtn):not(.ig-layer-delete):active,
.btn:not(.light):not(.danger):active,
a.btn:not(.light):not(.danger):active,
input[type="button"]:active,
input[type="submit"]:active{
  transform:translateY(0) scale(.98);
}

button.secondary,
.btn.secondary,
button.subtle,
.btn.subtle,
.all-notes-btn,
.whatsapp-top-menu-btn,
.permission-groups button,
.pv2-controls button,
.chat-pagination button{
  background:linear-gradient(135deg,rgba(13,148,136,.78),rgba(6,95,70,.68))!important;
  border:1px solid rgba(45,212,191,.32)!important;
  color:#eafffb!important;
  border-radius:13px!important;
  box-shadow:0 10px 24px rgba(20,184,166,.16),inset 0 1px 0 rgba(255,255,255,.12)!important;
}

button.light,
.btn.light,
button.ghost,
.btn.ghost{
  background:linear-gradient(135deg,rgba(4,29,35,.88),rgba(9,43,52,.78))!important;
  color:#bffcf1!important;
  border:1px solid rgba(45,212,191,.26)!important;
  border-radius:13px!important;
  box-shadow:0 10px 22px rgba(2,6,23,.22),inset 0 1px 0 rgba(255,255,255,.08)!important;
}

button.danger,
.btn.danger,
button.delete,
.btn.delete{
  background:linear-gradient(135deg,#fb7185,#e11d48)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.18)!important;
  border-radius:13px!important;
  box-shadow:0 12px 26px rgba(225,29,72,.24),inset 0 1px 0 rgba(255,255,255,.16)!important;
}

.chat-type-btn.active,
.chat-type-btn:not(.active){
  border-radius:12px!important;
  box-shadow:0 10px 24px rgba(20,184,166,.18),inset 0 1px 0 rgba(255,255,255,.15)!important;
}

.chat-type-btn.active:not(.important-choice):not(#importantMsgBtn),
.chat-type-btn:not(.active):not(.important-choice):not(#importantMsgBtn){
  background:linear-gradient(135deg,#1fd3b7,#0f8d7b)!important;
  border-color:rgba(45,212,191,.42)!important;
  color:#f8fffe!important;
}

#importantMsgBtn,
.chat-type-btn.important-choice,
.chat-type-btn.important-active{
  border-radius:12px!important;
  box-shadow:0 10px 24px rgba(225,29,72,.22),inset 0 1px 0 rgba(255,255,255,.15)!important;
}

.note-composer button,
.panel-title button,
.actions button,
.real-gallery-head button,
.instagram-actions-row button,
.ig-header-upload-actions button{
  border-radius:13px!important;
}

.sidebar .nav a.active,
.sidebar .nav button.active,
.menu-item.active{
  background:linear-gradient(135deg,rgba(34,211,197,.72),rgba(15,118,110,.64))!important;
  border-color:rgba(94,234,212,.38)!important;
  box-shadow:0 12px 28px rgba(20,184,166,.16),inset 0 1px 0 rgba(255,255,255,.12)!important;
}

body.force-light button:not(.light):not(.danger):not(.chat-type-btn):not(.important-choice):not(#importantMsgBtn):not(.ig-layer-delete),
body.force-light .btn:not(.light):not(.danger),
body.light-theme button:not(.light):not(.danger):not(.chat-type-btn):not(.important-choice):not(#importantMsgBtn):not(.ig-layer-delete),
body.light-theme .btn:not(.light):not(.danger){
  background:linear-gradient(135deg,#20cfbd 0%,#0f9f8a 56%,#0f766e 100%)!important;
  color:#fff!important;
  border-color:rgba(15,118,110,.30)!important;
}

button:disabled,
.btn:disabled,
button[disabled],
.btn[disabled]{
  opacity:.55!important;
  cursor:not-allowed!important;
  transform:none!important;
  filter:grayscale(.15)!important;
}

/* === FOOTER BUYUK SIMGE BAKIM PAKETI === */
.public-footer .footer-action-with-icon{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:14px!important;
  text-align:left!important;
}
.public-footer .footer-action-with-icon > span{
  display:flex!important;
  flex-direction:column!important;
  gap:4px!important;
  min-width:0!important;
}
.public-footer .footer-action-with-icon b{
  display:block!important;
  font-weight:650!important;
  line-height:1.15!important;
}
.public-footer .footer-action-with-icon small{
  display:block!important;
  color:var(--muted)!important;
  font-size:12px!important;
  line-height:1.25!important;
}
.public-footer .footer-big-icon{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  object-fit:contain!important;
  border-radius:14px!important;
  padding:6px!important;
  background:linear-gradient(135deg,rgba(34,211,238,.24),rgba(20,184,166,.18))!important;
  border:1px solid rgba(45,212,191,.35)!important;
  box-shadow:0 12px 28px rgba(20,184,166,.18)!important;
}
.public-footer .footer-admin-icon{
  filter:invert(1) drop-shadow(0 0 10px rgba(45,212,191,.45));
  background:linear-gradient(135deg,rgba(45,212,191,.42),rgba(37,99,235,.22))!important;
}
.public-footer .footer-message-icon{
  filter:invert(1) drop-shadow(0 0 10px rgba(45,212,191,.30));
  background:linear-gradient(135deg,rgba(59,130,246,.30),rgba(45,212,191,.16))!important;
}
.public-footer .footer-support.footer-action-with-icon{
  min-height:58px!important;
  padding:11px 18px!important;
}
.public-footer .footer-support.footer-action-with-icon small{
  color:rgba(255,255,255,.82)!important;
}


/* === BAKIM PAKETI: Hızlı Menü eski görünüm + footer ikon hizası === */
.global-quick-menu{position:fixed!important;right:18px!important;top:92px!important;z-index:9998!important;font-family:inherit!important;}
.global-quick-trigger{
  width:42px!important;height:42px!important;border-radius:16px!important;
  border:1px solid rgba(255,255,255,.16)!important;
  background:linear-gradient(135deg,#142033,#0b1220)!important;
  color:#eaf2ff!important;box-shadow:0 16px 38px rgba(2,8,23,.32)!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  font-size:19px!important;padding:0!important;min-height:42px!important;
}
.global-quick-panel{
  position:absolute!important;right:0!important;top:50px!important;width:235px!important;padding:8px!important;
  border-radius:18px!important;background:rgba(12,20,34,.96)!important;
  border:1px solid rgba(148,163,184,.18)!important;box-shadow:0 22px 55px rgba(2,8,23,.46)!important;
  backdrop-filter:blur(18px)!important;max-height:calc(100vh - 120px)!important;overflow:auto!important;
}
.global-quick-panel button{
  width:100%!important;min-height:0!important;border:0!important;background:transparent!important;background-image:none!important;
  color:#e8eef8!important;text-align:left!important;border-radius:12px!important;padding:9px 10px!important;
  display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;
  font-size:13px!important;font-weight:500!important;letter-spacing:.01em!important;line-height:1.2!important;
  box-shadow:none!important;transform:none!important;filter:none!important;overflow:visible!important;
}
.global-quick-panel button::before,.global-quick-trigger::before{display:none!important;content:none!important;}
.global-quick-panel button span{
  width:22px!important;height:22px!important;min-width:22px!important;border-radius:9px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  background:rgba(45,212,191,.13)!important;color:#67e8f9!important;font-size:14px!important;line-height:1!important;flex:0 0 auto!important;
  box-shadow:inset 0 0 0 1px rgba(45,212,191,.18)!important;
}
.global-quick-panel button:hover{background:rgba(45,212,191,.12)!important;color:#fff!important;transform:translateX(1px)!important;box-shadow:none!important;}
.global-quick-panel button.danger span{background:rgba(248,113,113,.14)!important;color:#fecaca!important;box-shadow:inset 0 0 0 1px rgba(248,113,113,.22)!important;}
.global-quick-panel button.danger:hover{background:rgba(248,113,113,.12)!important;}
.global-quick-sep{height:1px!important;margin:6px 6px!important;background:linear-gradient(90deg,transparent,rgba(148,163,184,.28),transparent)!important;}

#globalSystemContextMenu.ig-design-context-menu button,
#igDesignContextMenu.ig-design-context-menu button{
  background:transparent!important;background-image:none!important;box-shadow:none!important;overflow:visible!important;
  color:#f8fafc!important;justify-content:flex-start!important;min-height:34px!important;padding:7px 9px!important;
}
#globalSystemContextMenu.ig-design-context-menu button::before,
#igDesignContextMenu.ig-design-context-menu button::before{display:none!important;content:none!important;}
#globalSystemContextMenu.ig-design-context-menu .ctx-ico,
#igDesignContextMenu.ig-design-context-menu .ctx-ico{
  color:#67e8f9!important;font-size:17px!important;text-shadow:0 0 14px rgba(45,212,191,.45)!important;
}
#globalSystemContextMenu.ig-design-context-menu button:hover,
#igDesignContextMenu.ig-design-context-menu button:hover{background:rgba(45,212,191,.12)!important;}

.public-footer .footer-action-with-icon{
  flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;text-align:left!important;gap:14px!important;
}
.public-footer .footer-action-with-icon > span{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:4px!important;}
.public-footer .footer-big-icon{width:40px!important;height:40px!important;min-width:40px!important;border-radius:13px!important;object-fit:contain!important;}
.public-footer .footer-admin-icon{
  filter:invert(1) drop-shadow(0 0 8px rgba(45,212,191,.40))!important;
  background:linear-gradient(135deg,rgba(34,211,197,.38),rgba(14,165,233,.18))!important;
  border-color:rgba(94,234,212,.36)!important;
}
.public-footer .footer-message-icon{
  filter:invert(1) drop-shadow(0 0 8px rgba(45,212,191,.35))!important;
  background:linear-gradient(135deg,rgba(20,184,166,.34),rgba(34,211,238,.16))!important;
  border-color:rgba(94,234,212,.32)!important;
}

/* === BAKIM PAKETI: Sağ tık / hızlı menü eski koyu görünüm === */
#globalQuickMenu.global-quick-menu{position:fixed!important;right:18px!important;top:92px!important;z-index:9998!important;font-family:inherit!important;}
#globalQuickMenu .global-quick-trigger{
  width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;border-radius:16px!important;
  border:1px solid rgba(255,255,255,.16)!important;background:linear-gradient(135deg,#142033,#0b1220)!important;
  color:#eaf2ff!important;box-shadow:0 16px 38px rgba(2,8,23,.32)!important;
  display:flex!important;align-items:center!important;justify-content:center!important;font-size:19px!important;cursor:pointer!important;
  transform:none!important;filter:none!important;overflow:visible!important;
}
#globalQuickMenu .global-quick-trigger::before{display:none!important;content:none!important;}
#globalQuickMenu .global-quick-trigger:hover{transform:translateY(-1px)!important;box-shadow:0 18px 42px rgba(2,8,23,.42)!important;}
#globalQuickMenu .global-quick-panel{
  position:absolute!important;right:0!important;top:50px!important;width:235px!important;padding:8px!important;border-radius:18px!important;
  background:rgba(12,20,34,.96)!important;border:1px solid rgba(148,163,184,.18)!important;
  box-shadow:0 22px 55px rgba(2,8,23,.46)!important;backdrop-filter:blur(18px)!important;
  max-height:calc(100vh - 120px)!important;overflow:auto!important;
}
#globalQuickMenu .global-quick-panel button,
#globalQuickMenu .global-quick-panel button:not(.light):not(.danger):not(.chat-type-btn):not(.important-choice):not(#importantMsgBtn):not(.ig-layer-delete){
  width:100%!important;min-height:0!important;border:0!important;background:transparent!important;background-image:none!important;
  color:#e8eef8!important;text-align:left!important;border-radius:12px!important;padding:9px 10px!important;
  display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;
  font-size:13px!important;font-weight:500!important;letter-spacing:.01em!important;cursor:pointer!important;line-height:1.2!important;
  box-shadow:none!important;transform:none!important;filter:none!important;overflow:visible!important;
}
#globalQuickMenu .global-quick-panel button::before{display:none!important;content:none!important;}
#globalQuickMenu .global-quick-panel button span{
  width:22px!important;height:22px!important;min-width:22px!important;border-radius:9px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  background:rgba(255,255,255,.08)!important;color:#9ee7d7!important;font-size:12px!important;line-height:1!important;flex:0 0 auto!important;
  box-shadow:none!important;
}
#globalQuickMenu .global-quick-panel button:hover{background:rgba(45,212,191,.12)!important;color:#ffffff!important;transform:translateX(1px)!important;box-shadow:none!important;}
#globalQuickMenu .global-quick-panel button.danger span{background:rgba(248,113,113,.14)!important;color:#fecaca!important;}
#globalQuickMenu .global-quick-panel button.danger:hover{background:rgba(248,113,113,.12)!important;}
#globalQuickMenu .global-quick-sep{height:1px!important;margin:6px 6px!important;background:linear-gradient(90deg,transparent,rgba(148,163,184,.28),transparent)!important;}
body.light #globalQuickMenu .global-quick-trigger,.light #globalQuickMenu .global-quick-trigger{background:linear-gradient(135deg,#ffffff,#f1f5f9)!important;color:#0f172a!important;border-color:rgba(15,23,42,.12)!important;box-shadow:0 16px 36px rgba(15,23,42,.16)!important;}
body.light #globalQuickMenu .global-quick-panel,.light #globalQuickMenu .global-quick-panel{background:rgba(255,255,255,.98)!important;border-color:rgba(15,23,42,.10)!important;box-shadow:0 22px 50px rgba(15,23,42,.18)!important;}
body.light #globalQuickMenu .global-quick-panel button,.light #globalQuickMenu .global-quick-panel button{color:#0f172a!important;}
body.light #globalQuickMenu .global-quick-panel button span,.light #globalQuickMenu .global-quick-panel button span{background:#eef2f7!important;color:#0f766e!important;}
body.light #globalQuickMenu .global-quick-panel button:hover,.light #globalQuickMenu .global-quick-panel button:hover{background:#ecfeff!important;color:#0f172a!important;}
body.light #globalQuickMenu .global-quick-sep,.light #globalQuickMenu .global-quick-sep{background:linear-gradient(90deg,transparent,rgba(15,23,42,.14),transparent)!important;}
@media(max-width:900px){#globalQuickMenu.global-quick-menu{top:auto!important;right:14px!important;bottom:78px!important}#globalQuickMenu .global-quick-panel{top:auto!important;bottom:50px!important;max-height:70vh!important;width:min(245px,calc(100vw - 28px))!important}}

/* Footer kartları görseldeki sade hale döndür */
.public-footer .footer-action-with-icon{display:initial!important;}
.public-footer .footer-big-icon{display:none!important;}
.public-footer .footer-card b,.public-footer .footer-card span{display:block!important;}

/* === BAKIM PAKETI: Sağ tık menüsü birebir eski koyu görünüm === */
#globalQuickMenu.global-quick-menu,
.global-quick-menu{
  position:fixed!important;
  right:18px!important;
  top:92px!important;
  z-index:9998!important;
  font-family:inherit!important;
}
#globalQuickMenu .global-quick-trigger,
.global-quick-trigger{
  width:42px!important;
  height:42px!important;
  min-height:42px!important;
  padding:0!important;
  border-radius:16px!important;
  border:1px solid rgba(255,255,255,.16)!important;
  background:linear-gradient(135deg,#142033,#0b1220)!important;
  color:#eaf2ff!important;
  box-shadow:0 16px 38px rgba(2,8,23,.32)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:19px!important;
  cursor:pointer!important;
  transform:none!important;
  filter:none!important;
  overflow:visible!important;
}
#globalQuickMenu .global-quick-trigger::before,
.global-quick-trigger::before{display:none!important;content:none!important;}
#globalQuickMenu .global-quick-panel,
.global-quick-panel,
#globalSystemContextMenu.ig-design-context-menu,
#igDesignContextMenu.ig-design-context-menu{
  width:210px!important;
  min-width:210px!important;
  max-width:210px!important;
  padding:10px 8px!important;
  border-radius:16px!important;
  background:#0b1424!important;
  background-image:linear-gradient(180deg,#101b2e 0%,#071120 100%)!important;
  border:1px solid rgba(120,145,180,.32)!important;
  box-shadow:0 24px 56px rgba(0,0,0,.52), inset 0 1px 0 rgba(255,255,255,.06)!important;
  backdrop-filter:blur(18px)!important;
  overflow:auto!important;
}
#globalQuickMenu .global-quick-panel{position:absolute!important;right:0!important;top:50px!important;display:none!important;max-height:calc(100vh - 120px)!important;}
#globalQuickMenu.open .global-quick-panel,
.global-quick-menu.open .global-quick-panel{display:block!important;}
#globalQuickMenu .global-quick-panel button,
.global-quick-panel button,
#globalSystemContextMenu.ig-design-context-menu button,
#igDesignContextMenu.ig-design-context-menu button,
#globalSystemContextMenu.ig-design-context-menu button:not(.light):not(.danger):not(.chat-type-btn):not(.important-choice):not(#importantMsgBtn):not(.ig-layer-delete),
#igDesignContextMenu.ig-design-context-menu button:not(.light):not(.danger):not(.chat-type-btn):not(.important-choice):not(#importantMsgBtn):not(.ig-layer-delete){
  width:100%!important;
  min-height:32px!important;
  height:32px!important;
  margin:0!important;
  padding:6px 10px!important;
  border:0!important;
  border-radius:9px!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  color:#eef5ff!important;
  text-align:left!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  font-size:13px!important;
  font-weight:650!important;
  line-height:1.15!important;
  letter-spacing:-.01em!important;
  cursor:pointer!important;
  transform:none!important;
  filter:none!important;
  overflow:visible!important;
}
#globalQuickMenu .global-quick-panel button::before,
.global-quick-panel button::before,
#globalSystemContextMenu.ig-design-context-menu button::before,
#igDesignContextMenu.ig-design-context-menu button::before{display:none!important;content:none!important;}
#globalQuickMenu .global-quick-panel button span:first-child,
.global-quick-panel button span:first-child,
#globalSystemContextMenu.ig-design-context-menu .ctx-ico,
#igDesignContextMenu.ig-design-context-menu .ctx-ico{
  width:20px!important;
  height:20px!important;
  min-width:20px!important;
  border-radius:0!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:transparent!important;
  color:#8b8dff!important;
  font-size:15px!important;
  line-height:1!important;
  text-shadow:0 0 12px rgba(139,141,255,.45)!important;
  box-shadow:none!important;
  flex:0 0 auto!important;
}
#globalQuickMenu .global-quick-panel button:hover,
.global-quick-panel button:hover,
#globalSystemContextMenu.ig-design-context-menu button:hover,
#igDesignContextMenu.ig-design-context-menu button:hover{
  background:#14213b!important;
  color:#ffffff!important;
  transform:none!important;
  box-shadow:none!important;
}
#globalQuickMenu .global-quick-panel button[onclick*="sessions"],
#globalSystemContextMenu.ig-design-context-menu button[data-act="sessions"],
#igDesignContextMenu.ig-design-context-menu button[data-act="sessions"]{
  background:#13203b!important;
  color:#ffffff!important;
}
#globalQuickMenu .global-quick-panel button.danger span:first-child,
#globalSystemContextMenu.ig-design-context-menu .ctx-ico.lock,
#igDesignContextMenu.ig-design-context-menu .ctx-ico.lock{color:#fbbf24!important;text-shadow:0 0 12px rgba(251,191,36,.38)!important;}
#globalSystemContextMenu.ig-design-context-menu .ctx-ico.add,
#igDesignContextMenu.ig-design-context-menu .ctx-ico.add{color:#8b8dff!important;}
#globalQuickMenu .global-quick-sep,
.global-quick-sep,
#globalSystemContextMenu.ig-design-context-menu .ctx-sep,
#igDesignContextMenu.ig-design-context-menu .ctx-sep{
  height:1px!important;
  margin:6px 4px!important;
  background:rgba(120,145,180,.23)!important;
}
body.light #globalQuickMenu .global-quick-panel,
body.light-theme #globalQuickMenu .global-quick-panel,
body.force-light #globalQuickMenu .global-quick-panel,
body.light #globalSystemContextMenu.ig-design-context-menu,
body.light-theme #globalSystemContextMenu.ig-design-context-menu,
body.force-light #globalSystemContextMenu.ig-design-context-menu{background:#0b1424!important;background-image:linear-gradient(180deg,#101b2e 0%,#071120 100%)!important;border-color:rgba(120,145,180,.32)!important;}
body.light #globalQuickMenu .global-quick-panel button,
body.light-theme #globalQuickMenu .global-quick-panel button,
body.force-light #globalQuickMenu .global-quick-panel button,
body.light #globalSystemContextMenu.ig-design-context-menu button,
body.light-theme #globalSystemContextMenu.ig-design-context-menu button,
body.force-light #globalSystemContextMenu.ig-design-context-menu button{color:#eef5ff!important;background:transparent!important;}
body.light #globalQuickMenu .global-quick-panel button:hover,
body.light-theme #globalQuickMenu .global-quick-panel button:hover,
body.force-light #globalQuickMenu .global-quick-panel button:hover,
body.light #globalSystemContextMenu.ig-design-context-menu button:hover,
body.light-theme #globalSystemContextMenu.ig-design-context-menu button:hover,
body.force-light #globalSystemContextMenu.ig-design-context-menu button:hover{background:#14213b!important;color:#fff!important;}

/* === BAKIM PAKETI: Açık tema sohbet okunurluğu + mavi buton seti === */
body.force-light #chatBox .chat-message,
body.force-light .chat-box .chat-message,
body.light-theme #chatBox .chat-message,
body.light-theme .chat-box .chat-message{
  color:#ffffff!important;
  border-color:rgba(255,255,255,.18)!important;
  text-shadow:none!important;
}
body.force-light #chatBox .chat-message *,
body.force-light .chat-box .chat-message *,
body.light-theme #chatBox .chat-message *,
body.light-theme .chat-box .chat-message *{
  color:#ffffff!important;
  text-shadow:none!important;
}
body.force-light #chatBox .chat-message:not(.important),
body.force-light .chat-box .chat-message:not(.important),
body.light-theme #chatBox .chat-message:not(.important),
body.light-theme .chat-box .chat-message:not(.important){
  background:linear-gradient(135deg,#0f172a,#17233a)!important;
}
body.force-light #chatBox .chat-message.important,
body.force-light .chat-box .chat-message.important,
body.light-theme #chatBox .chat-message.important,
body.light-theme .chat-box .chat-message.important{
  background:linear-gradient(135deg,#9f1239,#7f1d1d)!important;
}
body.force-light .chat-message-type,
body.light-theme .chat-message-type{
  background:#2563eb!important;
  color:#ffffff!important;
}
body.force-light button:not(.light):not(.danger):not(.logout-btn):not(.theme-switcher):not(.chat-type-btn):not(.important-choice):not(#importantMsgBtn):not(.ig-layer-delete),
body.force-light .btn:not(.light):not(.danger):not(.logout-btn):not(.theme-switcher):not(.chat-type-btn):not(.important-choice):not(#importantMsgBtn):not(.ig-layer-delete),
body.light-theme button:not(.light):not(.danger):not(.logout-btn):not(.theme-switcher):not(.chat-type-btn):not(.important-choice):not(#importantMsgBtn):not(.ig-layer-delete),
body.light-theme .btn:not(.light):not(.danger):not(.logout-btn):not(.theme-switcher):not(.chat-type-btn):not(.important-choice):not(#importantMsgBtn):not(.ig-layer-delete){
  background:linear-gradient(135deg,#0f6fff,#0757d7)!important;
  color:#ffffff!important;
  border:1px solid rgba(37,99,235,.72)!important;
  box-shadow:0 12px 28px rgba(37,99,235,.22), inset 0 1px 0 rgba(255,255,255,.24)!important;
}
body.force-light button:not(.light):not(.danger):not(.logout-btn):not(.theme-switcher):not(.chat-type-btn):not(.important-choice):not(#importantMsgBtn):not(.ig-layer-delete):hover,
body.force-light .btn:not(.light):not(.danger):not(.logout-btn):not(.theme-switcher):not(.chat-type-btn):not(.important-choice):not(#importantMsgBtn):not(.ig-layer-delete):hover,
body.light-theme button:not(.light):not(.danger):not(.logout-btn):not(.theme-switcher):not(.chat-type-btn):not(.important-choice):not(#importantMsgBtn):not(.ig-layer-delete):hover,
body.light-theme .btn:not(.light):not(.danger):not(.logout-btn):not(.theme-switcher):not(.chat-type-btn):not(.important-choice):not(#importantMsgBtn):not(.ig-layer-delete):hover{
  background:linear-gradient(135deg,#2284ff,#0649bd)!important;
  transform:translateY(-1px);
}
body.force-light .menu-item:hover,
body.force-light .menu-item.active,
body.light-theme .menu-item:hover,
body.light-theme .menu-item.active{
  background:linear-gradient(135deg,#0f6fff,#0757d7)!important;
  color:#ffffff!important;
  border-left-color:#60a5fa!important;
}
body.force-light .menu-item:hover *,
body.force-light .menu-item.active *,
body.light-theme .menu-item:hover *,
body.light-theme .menu-item.active *{color:#ffffff!important;}
body.force-light .footer-support,
body.light-theme .footer-support{
  background:linear-gradient(135deg,#0f6fff,#0757d7)!important;
  color:#ffffff!important;
  box-shadow:0 14px 30px rgba(37,99,235,.22)!important;
}
/* === END BAKIM PAKETI === */

/* === BAKIM PAKETI: Footer büyük ikonlar yazı yanında === */
.public-footer .footer-action-with-icon{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:14px!important;
  text-align:left!important;
  min-height:64px!important;
}
.public-footer .footer-action-with-icon > span{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:3px!important;
  min-width:0!important;
}
.public-footer .footer-action-with-icon b{
  display:block!important;
  line-height:1.15!important;
  font-weight:700!important;
}
.public-footer .footer-action-with-icon small,
.public-footer .footer-action-with-icon span{
  line-height:1.25!important;
}
.public-footer .footer-action-with-icon small{
  display:block!important;
  font-size:12px!important;
  color:var(--muted)!important;
}
.public-footer .footer-big-icon{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  object-fit:contain!important;
  padding:7px!important;
  border-radius:15px!important;
  box-sizing:border-box!important;
}
.public-footer .footer-admin-icon{
  background:linear-gradient(135deg,#22d3ee,#14b8a6)!important;
  border:1px solid rgba(94,234,212,.42)!important;
  box-shadow:0 12px 26px rgba(20,184,166,.24)!important;
  filter:drop-shadow(0 0 10px rgba(45,212,191,.26));
}
.public-footer .footer-message-icon{
  background:linear-gradient(135deg,#38bdf8,#2563eb)!important;
  border:1px solid rgba(125,211,252,.40)!important;
  box-shadow:0 12px 26px rgba(37,99,235,.22)!important;
  filter:drop-shadow(0 0 10px rgba(56,189,248,.22));
}
.public-footer .footer-support.footer-action-with-icon{
  border-radius:18px!important;
  padding:12px 18px!important;
  background:linear-gradient(135deg,#22d3ee,#14b8a6,#0f766e)!important;
  color:#fff!important;
}
.public-footer .footer-support.footer-action-with-icon small{color:rgba(255,255,255,.86)!important;}
.public-footer .footer-card.footer-action-with-icon{
  padding:13px 16px!important;
}
body.force-light .public-footer .footer-action-with-icon small,
body.light-theme .public-footer .footer-action-with-icon small{color:#334155!important;}
body.force-light .public-footer .footer-support.footer-action-with-icon small,
body.light-theme .public-footer .footer-support.footer-action-with-icon small{color:rgba(255,255,255,.88)!important;}
/* === END BAKIM PAKETI === */

/* === BAKIM PAKETI: saat görünümü ve footer ikon görünürlüğü === */
.topbar .mobile-menu-btn{display:none!important;}
.topbar h1{margin-left:0!important;}
.user-box > .digital-datetime{
  display:inline-flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:112px!important;
  height:42px!important;
  padding:4px 14px!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#151a20 0%,#05080d 100%)!important;
  border:1px solid rgba(125,211,252,.46)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 10px 24px rgba(14,165,233,.18)!important;
  color:#38d5ff!important;
  font-family:"Courier New",ui-monospace,monospace!important;
  letter-spacing:.08em!important;
  line-height:1!important;
  text-shadow:0 0 8px rgba(56,213,255,.86),0 0 18px rgba(14,165,233,.42)!important;
}
.user-box > .digital-datetime b{
  display:block!important;
  font-size:19px!important;
  font-weight:800!important;
  color:#38d5ff!important;
}
.user-box > .digital-datetime small{
  display:block!important;
  margin-top:4px!important;
  font-size:9px!important;
  font-weight:700!important;
  color:#8fe8ff!important;
  letter-spacing:.02em!important;
  text-shadow:0 0 6px rgba(56,213,255,.55)!important;
}
body.force-light .user-box > .digital-datetime,
body.light-theme .user-box > .digital-datetime{
  background:linear-gradient(180deg,#101827 0%,#020617 100%)!important;
  border-color:rgba(59,130,246,.42)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.20),0 10px 24px rgba(37,99,235,.16)!important;
}
.public-footer .footer-action-with-icon{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:14px!important;
  text-align:left!important;
}
.public-footer .footer-big-icon{
  display:block!important;
  opacity:1!important;
  visibility:visible!important;
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  padding:9px!important;
  object-fit:contain!important;
  border-radius:15px!important;
  box-sizing:border-box!important;
}
.public-footer .footer-admin-icon{
  background:linear-gradient(135deg,#06b6d4,#14b8a6)!important;
  border:1px solid rgba(103,232,249,.55)!important;
  box-shadow:0 12px 28px rgba(20,184,166,.30)!important;
}
.public-footer .footer-message-icon{
  background:linear-gradient(135deg,#0ea5e9,#2563eb)!important;
  border:1px solid rgba(147,197,253,.55)!important;
  box-shadow:0 12px 28px rgba(37,99,235,.28)!important;
}
.public-footer .footer-action-with-icon > span{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  min-width:0!important;
}
/* === END BAKIM PAKETI === */

/* === BAKIM PAKETI: footer ikon rengi netleştirme === */
.public-footer .footer-big-icon{
  display:block!important;
  opacity:1!important;
  visibility:visible!important;
  width:48px!important;
  height:48px!important;
  min-width:48px!important;
  padding:10px!important;
  object-fit:contain!important;
  border-radius:16px!important;
  box-sizing:border-box!important;
  filter:none!important;
}
.public-footer .footer-admin-icon{
  background:linear-gradient(135deg,#16d6c4,#0ea5e9)!important;
  border:1px solid rgba(125,211,252,.58)!important;
  box-shadow:0 14px 30px rgba(20,184,166,.32)!important;
}
.public-footer .footer-message-icon{
  background:linear-gradient(135deg,#38bdf8,#2563eb)!important;
  border:1px solid rgba(147,197,253,.58)!important;
  box-shadow:0 14px 30px rgba(37,99,235,.30)!important;
}
.public-footer .footer-action-with-icon{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:14px!important;
}
/* === END BAKIM PAKETI === */

/* === 20260526 Mobil görünüm ve popup bakım paketi === */
@media(max-width:900px){
  .topbar .mobile-menu-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:42px!important;height:42px!important;min-width:42px!important;border-radius:14px!important;padding:0!important;font-size:22px!important;line-height:1!important;background:linear-gradient(135deg,#102033,#0b1322)!important;color:#e8fbff!important;border:1px solid rgba(125,211,252,.35)!important;box-shadow:0 10px 24px rgba(14,165,233,.16)!important;}
  body.force-light .topbar .mobile-menu-btn,body.light-theme .topbar .mobile-menu-btn,body.light .topbar .mobile-menu-btn{background:linear-gradient(135deg,#ffffff,#eef6ff)!important;color:#0f172a!important;border-color:rgba(37,99,235,.24)!important;}
  .topbar{top:0!important;margin-top:0!important;}
  .main{padding-top:0!important;margin-top:0!important;}
  .content{padding-top:10px!important;margin-top:0!important;}
  .mobile-quick-actions{position:sticky!important;top:62px!important;z-index:850!important;background:var(--bg)!important;padding:8px 12px!important;border-bottom:1px solid var(--border)!important;box-shadow:0 10px 22px rgba(2,8,23,.12)!important;}
  body[class*="theme-"] .mobile-quick-actions{background:var(--theme-bg)!important;border-color:var(--theme-border)!important;}
  .content > .trust-strip{display:none!important;}
  .mobile-trust-footer{display:block!important;padding:8px 12px 0!important;}
  .mobile-trust-footer .trust-strip{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin:0!important;}
  .user-box > .digital-datetime{display:flex!important;flex-direction:row!important;gap:6px!important;min-width:auto!important;height:42px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;text-shadow:none!important;letter-spacing:0!important;}
  .user-box > .digital-datetime b,.user-box > .digital-datetime small{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:42px!important;min-width:76px!important;margin:0!important;padding:0 10px!important;border-radius:14px!important;background:linear-gradient(180deg,#101827 0%,#020617 100%)!important;border:1px solid rgba(59,130,246,.42)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.20),0 10px 24px rgba(37,99,235,.16)!important;color:#38d5ff!important;font-family:"Courier New",ui-monospace,monospace!important;font-size:15px!important;font-weight:800!important;line-height:1!important;text-shadow:0 0 8px rgba(56,213,255,.72)!important;white-space:nowrap!important;}
  .user-box > .digital-datetime small{min-width:86px!important;font-size:11px!important;color:#8fe8ff!important;}
}
@media(min-width:901px){.mobile-trust-footer{display:none!important;}}
.modal .modal-head button.light,
.modal:has(.patient-form-modern-v2) .modal-head button,
.modal:has(.std-template) .modal-head button,
.modal.std-force-modal .modal-head button{font-size:14px!important;width:auto!important;height:38px!important;min-width:70px!important;border-radius:12px!important;background:transparent!important;border:0!important;box-shadow:none!important;color:inherit!important;padding:8px 12px!important;margin:0!important;}
.modal .modal-head button.light:after,
.modal:has(.patient-form-modern-v2) .modal-head button:after,
.modal:has(.std-template) .modal-head button:after,
.modal.std-force-modal .modal-head button:after{content:none!important;display:none!important;}
#igDesignContextMenu.ig-design-context-menu .ctx-ico.danger,#globalSystemContextMenu.ig-design-context-menu .ctx-ico.danger{color:#fb7185!important;text-shadow:0 0 12px rgba(251,113,133,.35)!important;}
#igDesignContextMenu.ig-design-context-menu button[data-act="delete"]:hover{background:rgba(244,63,94,.14)!important;}

/* === 20260526 Mobil üst boşluk + açık tema saat netleştirme === */
@media(max-width:900px){
  html,body,#app{margin:0!important;padding:0!important;width:100%!important;min-height:100%!important;overflow-x:hidden!important;}
  .app-shell{display:block!important;margin:0!important;padding:0!important;min-height:100vh!important;width:100%!important;}
  .main{display:flex!important;flex-direction:column!important;margin:0!important;padding:0!important;width:100%!important;max-width:100vw!important;min-height:100vh!important;}
  .topbar{position:sticky!important;top:0!important;left:0!important;right:0!important;z-index:950!important;margin:0!important;width:100%!important;min-height:62px!important;border-radius:0!important;align-items:center!important;}
  .content{margin:0!important;padding:10px 12px!important;width:100%!important;max-width:100vw!important;}
  .sidebar{position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:min(84vw,310px)!important;height:100dvh!important;max-height:100dvh!important;min-height:0!important;margin:0!important;border-radius:0 24px 24px 0!important;overflow-y:auto!important;overflow-x:hidden!important;z-index:1001!important;transform:translateX(-106%)!important;transition:transform .24s ease!important;box-shadow:20px 0 60px rgba(0,0,0,.42)!important;}
  body.mobile-menu-open .sidebar{transform:translateX(0)!important;}
  .mobile-menu-backdrop{display:block!important;position:fixed!important;inset:0!important;z-index:1000!important;background:rgba(2,8,23,.58)!important;backdrop-filter:blur(3px)!important;opacity:0!important;pointer-events:none!important;transition:opacity .22s ease!important;}
  body.mobile-menu-open .mobile-menu-backdrop{opacity:1!important;pointer-events:auto!important;}
  .mobile-quick-actions{position:sticky!important;top:62px!important;z-index:850!important;margin:0!important;}
}
body.force-light .user-box > .digital-datetime,
body.light-theme .user-box > .digital-datetime,
body.light .user-box > .digital-datetime{background:transparent!important;border:0!important;box-shadow:none!important;}
body.force-light .user-box > .digital-datetime b,
body.force-light .user-box > .digital-datetime small,
body.light-theme .user-box > .digital-datetime b,
body.light-theme .user-box > .digital-datetime small,
body.light .user-box > .digital-datetime b,
body.light .user-box > .digital-datetime small{
  background:linear-gradient(180deg,#101827 0%,#020617 100%)!important;
  color:#38d5ff!important;
  border:1px solid rgba(59,130,246,.55)!important;
  text-shadow:0 0 8px rgba(56,213,255,.82)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 10px 24px rgba(37,99,235,.18)!important;
}
body.force-light .user-box > .digital-datetime small,
body.light-theme .user-box > .digital-datetime small,
body.light .user-box > .digital-datetime small{color:#8fe8ff!important;}
/* === END 20260526 Mobil üst boşluk + açık tema saat netleştirme === */

/* === 20260526 MOBILE FINAL: saat/tarih görünür + mobil dashboard kartlarını gizle === */
@media(max-width:900px){
  .user-box > .digital-datetime,
  body.force-light .user-box > .digital-datetime,
  body.light-theme .user-box > .digital-datetime,
  body.theme-minimalwhite .user-box > .digital-datetime,
  body.theme-tailadmin .user-box > .digital-datetime{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    flex-direction:row!important;
    align-items:center!important;
    gap:8px!important;
    width:auto!important;
    min-width:0!important;
    height:auto!important;
    background:transparent!important;
    border:0!important;
    padding:0!important;
  }
  .user-box > .digital-datetime b,
  .user-box > .digital-datetime small,
  body.force-light .user-box > .digital-datetime b,
  body.force-light .user-box > .digital-datetime small,
  body.light-theme .user-box > .digital-datetime b,
  body.light-theme .user-box > .digital-datetime small,
  body.theme-minimalwhite .user-box > .digital-datetime b,
  body.theme-minimalwhite .user-box > .digital-datetime small,
  body.theme-tailadmin .user-box > .digital-datetime b,
  body.theme-tailadmin .user-box > .digital-datetime small{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    align-items:center!important;
    justify-content:center!important;
    height:44px!important;
    min-width:86px!important;
    padding:0 12px!important;
    border-radius:14px!important;
    background:linear-gradient(180deg,#101827 0%,#030712 100%)!important;
    border:1px solid rgba(56,213,255,.55)!important;
    color:#38d5ff!important;
    font-family:"Courier New",ui-monospace,monospace!important;
    font-weight:900!important;
    text-shadow:0 0 9px rgba(56,213,255,.95),0 0 20px rgba(14,165,233,.55)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 8px 20px rgba(14,165,233,.18)!important;
    line-height:1!important;
    margin:0!important;
  }
  .user-box > .digital-datetime b{font-size:18px!important;letter-spacing:.07em!important}
  .user-box > .digital-datetime small{font-size:12px!important;min-width:112px!important;letter-spacing:.05em!important;color:#8fe8ff!important}

  body.dashboard-page .dashboard-stat-grid,
  .dashboard-stat-grid{
    display:none!important;
  }
}

/* === BAKIM PAKETI: mobil saat netliği kesin düzeltme === */
@media(max-width:900px){
  .user-box > .digital-datetime,
  body.force-light .user-box > .digital-datetime,
  body.light-theme .user-box > .digital-datetime,
  body.light .user-box > .digital-datetime,
  body.theme-minimalwhite .user-box > .digital-datetime,
  body.theme-tailadmin .user-box > .digital-datetime{
    display:inline-flex!important;visibility:visible!important;opacity:1!important;gap:8px!important;background:transparent!important;border:0!important;box-shadow:none!important;filter:none!important;mix-blend-mode:normal!important;
  }
  .user-box > .digital-datetime b,
  .user-box > .digital-datetime small,
  body.force-light .user-box > .digital-datetime b,
  body.force-light .user-box > .digital-datetime small,
  body.light-theme .user-box > .digital-datetime b,
  body.light-theme .user-box > .digital-datetime small,
  body.light .user-box > .digital-datetime b,
  body.light .user-box > .digital-datetime small,
  body.theme-minimalwhite .user-box > .digital-datetime b,
  body.theme-minimalwhite .user-box > .digital-datetime small,
  body.theme-tailadmin .user-box > .digital-datetime b,
  body.theme-tailadmin .user-box > .digital-datetime small{
    display:inline-flex!important;visibility:visible!important;opacity:1!important;align-items:center!important;justify-content:center!important;height:44px!important;margin:0!important;padding:0 12px!important;border-radius:14px!important;background:#020617!important;border:1px solid rgba(56,213,255,.75)!important;color:#38d5ff!important;-webkit-text-fill-color:#38d5ff!important;text-shadow:0 0 10px rgba(56,213,255,.95)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 8px 20px rgba(14,165,233,.20)!important;font-family:"Courier New",ui-monospace,monospace!important;font-weight:900!important;line-height:1!important;filter:none!important;mix-blend-mode:normal!important;
  }
  .user-box > .digital-datetime b{font-size:18px!important;min-width:86px!important;letter-spacing:.07em!important;}
  .user-box > .digital-datetime small{font-size:12px!important;min-width:112px!important;letter-spacing:.05em!important;}
  body.dashboard-page .dashboard-stat-grid,
  .dashboard-stat-grid{display:none!important;}
}
/* === END BAKIM PAKETI === */

/* Bakım paketi: mobil açık temada hasta liste kartlarını kibarlaştır */
@media(max-width:900px){
  body.force-light .patients-mobile-panel table tr,
  body.light-theme .patients-mobile-panel table tr,
  body.force-light .patients-mobile-panel .table tr,
  body.light-theme .patients-mobile-panel .table tr{
    border:1px solid #d7e2ec!important;
    border-radius:14px!important;
    background:#ffffff!important;
    box-shadow:0 10px 24px rgba(15,23,42,.07)!important;
    padding:10px!important;
    margin-bottom:12px!important;
    outline:0!important;
  }
  body.force-light .patients-mobile-panel table td,
  body.light-theme .patients-mobile-panel table td,
  body.force-light .patients-mobile-panel .table td,
  body.light-theme .patients-mobile-panel .table td{
    border-bottom:1px solid #edf2f7!important;
    padding:9px 4px!important;
    color:#142235!important;
    background:transparent!important;
  }
  body.force-light .patients-mobile-panel table td:first-child,
  body.light-theme .patients-mobile-panel table td:first-child{
    padding-top:2px!important;
  }
  body.force-light .patients-mobile-panel table td b,
  body.light-theme .patients-mobile-panel table td b{
    color:#0f1f33!important;
    font-weight:700!important;
  }
  body.force-light .patients-mobile-panel .actions,
  body.light-theme .patients-mobile-panel .actions{
    padding-top:10px!important;
  }
}

/* === 20260526: Mobil açık tema hasta kartı kesin düzeltme === */
@media(max-width:900px){
  body.force-light .patients-panel-refined table.table,
  body.light-theme .patients-panel-refined table.table,
  body.light .patients-panel-refined table.table{
    border-spacing:0 10px!important;
    background:transparent!important;
  }
  body.force-light .patients-panel-refined table.table tbody tr,
  body.light-theme .patients-panel-refined table.table tbody tr,
  body.light .patients-panel-refined table.table tbody tr{
    display:block!important;
    border:1px solid #dce6f0!important;
    outline:0!important;
    border-radius:15px!important;
    background:#ffffff!important;
    box-shadow:0 8px 18px rgba(15,23,42,.055)!important;
    padding:8px 10px!important;
    margin:0 0 12px!important;
    overflow:hidden!important;
  }
  body.force-light .patients-panel-refined table.table tbody tr td,
  body.light-theme .patients-panel-refined table.table tbody tr td,
  body.light .patients-panel-refined table.table tbody tr td{
    display:block!important;
    width:100%!important;
    border:0!important;
    border-bottom:1px solid #eef3f8!important;
    background:transparent!important;
    color:#102033!important;
    padding:8px 2px!important;
    box-shadow:none!important;
    font-size:12px!important;
    line-height:1.35!important;
  }
  body.force-light .patients-panel-refined table.table tbody tr td:last-child,
  body.light-theme .patients-panel-refined table.table tbody tr td:last-child,
  body.light .patients-panel-refined table.table tbody tr td:last-child{
    border-bottom:0!important;
    padding-top:10px!important;
  }
  body.force-light .patients-panel-refined table.table tbody tr td b,
  body.light-theme .patients-panel-refined table.table tbody tr td b,
  body.light .patients-panel-refined table.table tbody tr td b{
    color:#0f172a!important;
    font-size:13px!important;
    font-weight:750!important;
  }
  body.force-light .patients-panel-refined table.table tbody tr .actions,
  body.light-theme .patients-panel-refined table.table tbody tr .actions,
  body.light .patients-panel-refined table.table tbody tr .actions{
    display:flex!important;
    gap:8px!important;
    flex-wrap:wrap!important;
    align-items:center!important;
  }
  body.force-light .patients-panel-refined table.table tbody tr .actions button,
  body.light-theme .patients-panel-refined table.table tbody tr .actions button,
  body.light .patients-panel-refined table.table tbody tr .actions button{
    flex:0 0 auto!important;
    min-width:70px!important;
    min-height:34px!important;
    padding:8px 12px!important;
    border-radius:12px!important;
    font-size:12px!important;
  }
}
/* === END 20260526: Mobil açık tema hasta kartı kesin düzeltme === */

/* === 20260526 Meta API merkezi === */
.meta-api-block{margin-top:14px;padding:14px;border:1px solid rgba(45,212,191,.22);border-radius:18px;background:rgba(15,23,42,.32)}
.meta-api-block h4{margin:0 0 12px;font-size:15px;color:#e5f9ff}.instagram-api-block{border-color:rgba(59,130,246,.28)}
.wa-inbox-panel.span-2{grid-column:1 / -1}.wa-inbox-list{display:grid;gap:10px;max-height:420px;overflow:auto;padding-right:4px}.wa-inbox-item{border:1px solid rgba(148,163,184,.25);background:rgba(2,6,23,.34);border-radius:16px;padding:12px}.wa-inbox-item.is-new{border-color:rgba(45,212,191,.55);box-shadow:0 0 0 1px rgba(45,212,191,.12)}.wa-inbox-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.wa-inbox-head b{font-size:14px}.wa-inbox-head span{font-size:12px;opacity:.75}.wa-inbox-msg,.wa-inbox-reply{padding:8px 10px;border-radius:12px;margin-top:6px;background:rgba(15,23,42,.68);line-height:1.45}.wa-inbox-reply{background:rgba(20,184,166,.13);border:1px solid rgba(20,184,166,.22)}.wa-inbox-ok{margin-top:8px;padding:8px 10px;border-radius:12px;background:rgba(34,197,94,.14);border:1px solid rgba(34,197,94,.25);color:#bbf7d0;font-weight:700}.wa-inbox-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:10px}.wa-inbox-empty{padding:16px;border:1px dashed rgba(148,163,184,.35);border-radius:16px;opacity:.85}.force-light .meta-api-block,.force-light .wa-inbox-item{background:#fff;border-color:#dbe7f3}.force-light .wa-inbox-msg{background:#f1f5f9}.force-light .wa-inbox-reply{background:#ecfeff;color:#0f172a}.force-light .wa-inbox-ok{color:#166534;background:#dcfce7}
