/* -------------------------------------------------------------------------
 * AcilYanDal Panelim/Kişisel Çalışma Paneli renk restorasyonu v49
 * Amaç: v44/v45/v46/v48 sonrası bozulan eski açık panel renk düzenini geri almak.
 * Kapsam: sadece ana sayfadaki girişli kullanıcı çalışma paneli.
 * ---------------------------------------------------------------------- */
html.ayd-theme-v46 .home-user-section,
html.ayd-premium-v44 .home-user-section{
  background:transparent!important;
  color:#0f172a!important;
}

/* Ana kişisel panel eski açık premium yüzeye döner. */
html.ayd-theme-v46 .home-user-section .home-command-card,
html.ayd-premium-v44 .home-user-section .home-command-card,
html.ayd-theme-v46.ayd-v46-dark .home-user-section .home-command-card,
html.ayd-theme-v46.ayd-v46-balanced .home-user-section .home-command-card,
html.ayd-theme-v46.ayd-v46-soft .home-user-section .home-command-card{
  background:rgba(255,255,255,.98)!important;
  color:#0f172a!important;
  border:1px solid rgba(15,23,42,.08)!important;
  border-radius:28px!important;
  box-shadow:0 24px 70px rgba(15,23,42,.12)!important;
  overflow:hidden!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}

/* v46/v48'in koyulaştırdığı command-hero eski açık degradeye alınır. */
html.ayd-theme-v46 .home-user-section .home-command-card .command-hero,
html.ayd-premium-v44 .home-user-section .home-command-card .command-hero,
html.ayd-theme-v46.ayd-v46-dark .home-user-section .home-command-card .command-hero,
html.ayd-theme-v46.ayd-v46-balanced .home-user-section .home-command-card .command-hero,
html.ayd-theme-v46.ayd-v46-soft .home-user-section .home-command-card .command-hero,
html.ayd-theme-v46 .home-user-section .home-command-card .command-hero.ayd-v47-dark-surface,
html.ayd-theme-v46 .home-user-section .home-command-card .command-hero.ayd-v47-light-surface{
  background:linear-gradient(135deg,#ffffff 0%,#f8fafc 55%,#fff4f1 100%)!important;
  color:#0f172a!important;
  border:0!important;
  box-shadow:none!important;
  text-shadow:none!important;
  position:relative!important;
}
html.ayd-theme-v46 .home-user-section .home-command-card .command-hero:before,
html.ayd-theme-v46 .home-user-section .home-command-card .command-hero:after,
html.ayd-premium-v44 .home-user-section .home-command-card .command-hero:before,
html.ayd-premium-v44 .home-user-section .home-command-card .command-hero:after{
  content:none!important;
  display:none!important;
  opacity:0!important;
}

/* Açık panel içindeki tüm başlık/metinler açık tema kontrastına döner. */
html.ayd-theme-v46 .home-user-section .home-command-card .command-hero :is(h1,h2,h3,h4,h5,h6,strong,b,.fw-bold,.fw-black),
html.ayd-premium-v44 .home-user-section .home-command-card .command-hero :is(h1,h2,h3,h4,h5,h6,strong,b,.fw-bold,.fw-black){
  color:#0f172a!important;
  -webkit-text-fill-color:#0f172a!important;
  text-shadow:none!important;
}
html.ayd-theme-v46 .home-user-section .home-command-card .command-hero :is(p,.text-muted,small,.small,.soft),
html.ayd-premium-v44 .home-user-section .home-command-card .command-hero :is(p,.text-muted,small,.small,.soft){
  color:#475569!important;
  -webkit-text-fill-color:#475569!important;
  text-shadow:none!important;
}

/* Rozet/pill: eski açık görünüm. */
html.ayd-theme-v46 .home-user-section .home-pill,
html.ayd-premium-v44 .home-user-section .home-pill{
  display:inline-flex!important;
  align-items:center!important;
  gap:.4rem!important;
  border-radius:999px!important;
  padding:.4rem .75rem!important;
  font-weight:800!important;
  font-size:.82rem!important;
  background:#f1f5f9!important;
  color:#334155!important;
  border:1px solid rgba(15,23,42,.06)!important;
  box-shadow:none!important;
}
html.ayd-theme-v46 .home-user-section .home-pill i,
html.ayd-premium-v44 .home-user-section .home-pill i{
  color:#2563eb!important;
  -webkit-text-fill-color:#2563eb!important;
}

/* KPI kartları tekrar açık kart olmalı; panel koyu zemin gibi davranmayacak. */
html.ayd-theme-v46 .home-user-section .home-command-card .home-kpi-card,
html.ayd-premium-v44 .home-user-section .home-command-card .home-kpi-card,
html.ayd-theme-v46 .home-user-section .home-command-card .home-kpi-card.ayd-v47-dark-surface,
html.ayd-theme-v46 .home-user-section .home-command-card .home-kpi-card.ayd-v47-light-surface{
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%)!important;
  color:#0f172a!important;
  border:1px solid rgba(15,23,42,.08)!important;
  border-radius:22px!important;
  box-shadow:0 12px 28px rgba(15,23,42,.055)!important;
  text-shadow:none!important;
  position:relative!important;
  overflow:hidden!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
html.ayd-theme-v46 .home-user-section .home-command-card .home-kpi-card:before,
html.ayd-premium-v44 .home-user-section .home-command-card .home-kpi-card:before{
  content:""!important;
  position:absolute!important;
  left:0!important;top:0!important;bottom:0!important;width:4px!important;
  background:linear-gradient(180deg,#ef3340,#ff5a0a)!important;
  display:block!important;
}
html.ayd-theme-v46 .home-user-section .home-command-card .home-kpi-card .kpi-number,
html.ayd-premium-v44 .home-user-section .home-command-card .home-kpi-card .kpi-number{
  color:#f0642d!important;
  -webkit-text-fill-color:#f0642d!important;
  text-shadow:none!important;
}
html.ayd-theme-v46 .home-user-section .home-command-card .home-kpi-card .kpi-label,
html.ayd-premium-v44 .home-user-section .home-command-card .home-kpi-card .kpi-label{
  color:#64748b!important;
  -webkit-text-fill-color:#64748b!important;
  text-shadow:none!important;
}

/* Devam/Performans kartları eski açık kart kontrastına döner. */
html.ayd-theme-v46 .home-user-section .home-command-card .home-smart-card,
html.ayd-premium-v44 .home-user-section .home-command-card .home-smart-card,
html.ayd-theme-v46 .home-user-section .home-command-card .home-smart-card.smart-primary,
html.ayd-theme-v46 .home-user-section .home-command-card .home-smart-card.smart-success,
html.ayd-theme-v46 .home-user-section .home-command-card .home-smart-card.ayd-v47-dark-surface,
html.ayd-theme-v46 .home-user-section .home-command-card .home-smart-card.ayd-v47-light-surface{
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
  color:#0f172a!important;
  border:1px solid rgba(15,23,42,.08)!important;
  border-radius:24px!important;
  box-shadow:0 16px 42px rgba(15,23,42,.075)!important;
  text-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
html.ayd-theme-v46 .home-user-section .home-command-card .home-smart-card.smart-success,
html.ayd-premium-v44 .home-user-section .home-command-card .home-smart-card.smart-success{
  background:linear-gradient(180deg,#ffffff 0%,#f8fffb 100%)!important;
  border-color:rgba(22,163,74,.14)!important;
}
html.ayd-theme-v46 .home-user-section .home-command-card .home-smart-card h5,
html.ayd-premium-v44 .home-user-section .home-command-card .home-smart-card h5,
html.ayd-theme-v46 .home-user-section .home-command-card .home-smart-card strong,
html.ayd-premium-v44 .home-user-section .home-command-card .home-smart-card strong{
  color:#111827!important;
  -webkit-text-fill-color:#111827!important;
  text-shadow:none!important;
}
html.ayd-theme-v46 .home-user-section .home-command-card .home-smart-card p,
html.ayd-premium-v44 .home-user-section .home-command-card .home-smart-card p,
html.ayd-theme-v46 .home-user-section .home-command-card .home-smart-card .smart-kicker,
html.ayd-premium-v44 .home-user-section .home-command-card .home-smart-card .smart-kicker{
  color:#64748b!important;
  -webkit-text-fill-color:#64748b!important;
  text-shadow:none!important;
}
html.ayd-theme-v46 .home-user-section .home-command-card .home-smart-card .smart-score,
html.ayd-premium-v44 .home-user-section .home-command-card .home-smart-card .smart-score{
  color:#2563eb!important;
  -webkit-text-fill-color:#2563eb!important;
  text-shadow:none!important;
}
html.ayd-theme-v46 .home-user-section .home-command-card .home-smart-card .smart-action.text-primary,
html.ayd-premium-v44 .home-user-section .home-command-card .home-smart-card .smart-action.text-primary{
  color:#2563eb!important;
  -webkit-text-fill-color:#2563eb!important;
}
html.ayd-theme-v46 .home-user-section .home-command-card .home-smart-card .smart-action.text-success,
html.ayd-premium-v44 .home-user-section .home-command-card .home-smart-card .smart-action.text-success{
  color:#15803d!important;
  -webkit-text-fill-color:#15803d!important;
}

/* Sağdaki Bugünün akışı kartı eski temada zaten koyu idi; burada sadece kontrastı sabitliyoruz. */
html.ayd-theme-v46 .home-user-section .home-command-side-card,
html.ayd-premium-v44 .home-user-section .home-command-side-card,
html.ayd-theme-v46 .home-user-section .home-command-side-card.ayd-v47-dark-surface,
html.ayd-theme-v46 .home-user-section .home-command-side-card.ayd-v47-light-surface{
  height:100%!important;
  border-radius:24px!important;
  padding:1rem!important;
  color:#ffffff!important;
  background:radial-gradient(circle at 85% 0%,rgba(24,214,207,.25),transparent 12rem),linear-gradient(135deg,#121735 0%,#191d49 55%,#2e1740 100%)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  box-shadow:0 16px 42px rgba(15,23,42,.14)!important;
  text-shadow:none!important;
}
html.ayd-theme-v46 .home-user-section .home-command-side-card .side-kicker,
html.ayd-premium-v44 .home-user-section .home-command-side-card .side-kicker{
  display:inline-flex!important;
  gap:.45rem!important;
  align-items:center!important;
  border-radius:999px!important;
  padding:.38rem .7rem!important;
  background:rgba(255,255,255,.10)!important;
  color:#bffefa!important;
  border:1px solid rgba(255,255,255,.10)!important;
  font-weight:900!important;
  font-size:.75rem!important;
}
html.ayd-theme-v46 .home-user-section .home-command-side-card :is(h1,h2,h3,h4,h5,h6,strong,b),
html.ayd-premium-v44 .home-user-section .home-command-side-card :is(h1,h2,h3,h4,h5,h6,strong,b){
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  text-shadow:none!important;
}
html.ayd-theme-v46 .home-user-section .home-command-side-card :is(p,small,.small,.text-muted),
html.ayd-premium-v44 .home-user-section .home-command-side-card :is(p,small,.small,.text-muted){
  color:rgba(255,255,255,.68)!important;
  -webkit-text-fill-color:rgba(255,255,255,.68)!important;
  text-shadow:none!important;
}
html.ayd-theme-v46 .home-user-section .side-step,
html.ayd-premium-v44 .home-user-section .side-step{
  border-top:1px solid rgba(255,255,255,.09)!important;
}
html.ayd-theme-v46 .home-user-section .side-step span,
html.ayd-premium-v44 .home-user-section .side-step span{
  background:rgba(24,214,207,.12)!important;
  color:#58fff3!important;
  -webkit-text-fill-color:#58fff3!important;
}

/* Anket varsa: ana kart koyu kalabilir ama içindeki beyaz anket kutusu açık kalmalı. */
html.ayd-theme-v46 .home-user-section .home-survey-card,
html.ayd-premium-v44 .home-user-section .home-survey-card,
html.ayd-theme-v46 .home-user-section .home-survey-card .survey-option,
html.ayd-premium-v44 .home-user-section .home-survey-card .survey-option{
  background:#ffffff!important;
  color:#0f172a!important;
  border-color:rgba(15,23,42,.08)!important;
}
html.ayd-theme-v46 .home-user-section .home-survey-card :is(span,strong,b),
html.ayd-premium-v44 .home-user-section .home-survey-card :is(span,strong,b){
  color:#0f172a!important;
  -webkit-text-fill-color:#0f172a!important;
}

@media(max-width:767.98px){
  html.ayd-theme-v46 .home-user-section .home-command-card,
  html.ayd-premium-v44 .home-user-section .home-command-card{border-radius:20px!important;}
  html.ayd-theme-v46 .home-user-section .home-command-card .command-hero,
  html.ayd-premium-v44 .home-user-section .home-command-card .command-hero{padding:1rem!important;}
}
