/* Qoder dashboard premium FINAL v2 (20261129) - loads last, wins over other overlays */
:root{ --qGold:#c59a43; --qGoldLite:#e7c779; --qGoldDeep:#a9822f; --qNavy:#0f2740; --qInk:#12293c; }
html body .admin-sidebar{
  background:
    radial-gradient(120% 40% at 0% 0%, rgba(231,199,121,.10), transparent 46%),
    linear-gradient(180deg,#05172b 0%,#0a2946 40%,#071d33 100%)!important;
  border-right:0!important;
  box-shadow: inset -1px 0 0 rgba(231,199,121,.30), inset -3px 0 12px -6px rgba(197,154,67,.25), 26px 0 60px -36px rgba(4,14,28,.78)!important;
}
html body .admin-sidebar > :first-child{
  padding-bottom:1rem!important; margin-bottom:.6rem!important;
  border-bottom:1px solid rgba(231,199,121,.22)!important;
}
html body .admin-sidebar :where(a,button){
  min-height:3.15rem!important; padding-inline:1rem!important;
  border-radius:14px!important; font-size:.96rem!important; font-weight:600!important;
  letter-spacing:.01em!important; color:#cfd9e8!important; gap:.7rem!important;
  transition:background-color .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease!important;
}
html body .admin-sidebar :where(a,button) svg{
  color:#dcb972!important; width:1.15rem!important; height:1.15rem!important;
  filter:drop-shadow(0 1px 1px rgba(0,0,0,.35))!important;
}
html body .admin-sidebar :where(a,button):hover{
  background:linear-gradient(90deg, rgba(212,179,106,.18), rgba(212,179,106,.06))!important;
  color:#f8eed6!important; transform:translateX(3px);
}
html body .admin-sidebar :is([aria-current],[aria-current="page"],[data-active="true"],.is-active,[aria-selected="true"]){
  background:linear-gradient(135deg,#efd28a 0%,#c59a43 100%)!important;
  border:1px solid #f4e3b4!important; color:#12293f!important; font-weight:700!important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 14px 30px -14px rgba(197,154,67,.75)!important;
}
html body .admin-sidebar :is([aria-current],[aria-current="page"],[data-active="true"],.is-active,[aria-selected="true"]) svg{ color:#12293f!important; }
html body .admin-sidebar :is([aria-current],[aria-current="page"],[data-active="true"],.is-active,[aria-selected="true"]):hover{ transform:none; }
html body .admin-main section[aria-label="Statistik panel admin"]{
  gap:clamp(.8rem,1.4vw,1.25rem)!important;
}
html body .admin-main section[aria-label="Statistik panel admin"] > button{
  position:relative!important; overflow:hidden!important;
  min-height:12rem!important; padding:clamp(1.1rem,1.6vw,1.5rem)!important;
  border-radius:22px!important; border:1px solid rgba(197,154,67,.45)!important;
  background:
    radial-gradient(160px 90px at 100% 0%, rgba(197,154,67,.16), transparent 70%),
    linear-gradient(158deg,#ffffff 0%,#fbf7ee 46%,#f4ecdb 100%)!important;
  box-shadow:0 22px 46px -28px rgba(6,18,38,.5), inset 0 1px 0 #fff, inset 0 0 0 1px rgba(255,255,255,.6)!important;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease!important;
}
html body .admin-main section[aria-label="Statistik panel admin"] > button::before{
  content:""; position:absolute; inset:0 0 auto 0; height:5px;
  background:linear-gradient(90deg,#c59a43,#e7c779); opacity:.95;
}
html body .admin-main section[aria-label="Statistik panel admin"] > button::after{
  content:""; position:absolute; right:-30px; bottom:-30px; width:120px; height:120px;
  border-radius:50%; background:radial-gradient(circle, rgba(197,154,67,.10), transparent 70%); pointer-events:none;
}
html body .admin-main section[aria-label="Statistik panel admin"] > button:nth-child(1)::before{ background:linear-gradient(90deg,#123a63,#2f6df6); }
html body .admin-main section[aria-label="Statistik panel admin"] > button:nth-child(2)::before{ background:linear-gradient(90deg,#0f5d60,#38bd89); }
html body .admin-main section[aria-label="Statistik panel admin"] > button:nth-child(3)::before{ background:linear-gradient(90deg,#c59a43,#e7c779); }
html body .admin-main section[aria-label="Statistik panel admin"] > button:nth-child(4)::before{ background:linear-gradient(90deg,#6d3f8f,#a878d0); }
html body .admin-main section[aria-label="Statistik panel admin"] > button:hover{
  transform:translateY(-6px); border-color:rgba(197,154,67,.65)!important;
  box-shadow:0 34px 60px -30px rgba(6,18,38,.55), inset 0 1px 0 #fff!important;
}
html body .admin-main section[aria-label="Statistik panel admin"] > button > p:nth-of-type(1){
  font-size:clamp(2.1rem,3.2vw,2.8rem)!important; font-weight:800!important;
  color:#0f2740!important; letter-spacing:-.025em!important; line-height:1.05!important;
}
html body .admin-main section[aria-label="Statistik panel admin"] > button > div > p{
  font-size:.78rem!important; letter-spacing:.08em!important; text-transform:uppercase!important;
  font-weight:700!important; color:#6b7a8c!important;
}
html body .admin-main section[aria-label="Statistik panel admin"] > button svg{ color:#b8863b!important; }
html body .admin-topbar{
  border-bottom:1px solid rgba(15,39,64,.10)!important;
  background:rgba(247,244,236,.72)!important;
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
}
html body .admin-topbar-heading > :where(h1,h2){
  font-family:"Playfair Display",Georgia,serif!important; letter-spacing:-.02em!important; color:#0f2740!important;
}
html body .admin-topbar-actions :where(a,button){
  border-radius:13px!important; border:1px solid rgba(197,154,67,.55)!important;
  background:linear-gradient(135deg,#fffdf6,#f6ecd4)!important; color:#18324a!important; font-weight:600!important;
  box-shadow:0 10px 22px -16px rgba(197,154,67,.7)!important;
  transition:transform .16s ease, box-shadow .16s ease, background-color .16s ease!important;
}
html body .admin-topbar-actions :where(a,button):hover{
  background:linear-gradient(135deg,#f3dfae,#e4c57f)!important; transform:translateY(-1px);
  box-shadow:0 14px 26px -14px rgba(197,154,67,.82)!important;
}
@media (prefers-reduced-motion: reduce){
  html body .admin-sidebar :where(a,button),
  html body .admin-main section[aria-label="Statistik panel admin"] > button,
  html body .admin-topbar-actions :where(a,button){ transition:none!important; transform:none!important; }
}


/* ===== v4 safe polish (20261129) ===== */
html body .admin-sidebar :where(a,button){ position:relative!important; }
html body .admin-main section[aria-label="Statistik panel admin"] > button{
  background:
    radial-gradient(180px 96px at 100% 0%, rgba(197,154,67,.18), transparent 66%),
    linear-gradient(158deg,#ffffff 0%,#fbf6ec 44%,#f2e8d5 100%)!important;
  border-color: rgba(197,154,67,.5)!important;
}
html body .admin-main section[aria-label="Statistik panel admin"] > button > p:nth-of-type(1){
  font-family:"Playfair Display",Georgia,serif!important; color:#12293c!important;
}
html body .admin-sidebar :is([aria-current],[aria-current="page"],[data-active="true"],.is-active,[aria-selected="true"])::before{
  content:""; position:absolute; left:0; top:22%; height:56%; width:3px; border-radius:3px;
  background:linear-gradient(180deg,#f0dcae,#c59a43);
}
/* Kaitkan-button border fix 20261130-2 (kartu dashboard + topbar) */
html body .fak-dashboard-actions button[data-slot="button"][aria-label*="Kaitkan"],
html body .fak-dashboard-actions[data-fak-account-action-slot] button[data-slot="button"][aria-label*="Kaitkan"],
html body .admin-topbar-actions button[aria-label*="Kaitkan"]{
  border:1.5px solid rgba(176,132,49,.85) !important;
}

/* Jarak tombol aksi kartu dashboard (20261130-3) */
html body .fak-dashboard-actions[data-fak-account-action-slot],
html body .admin-main .fak-dashboard-actions[data-fak-account-action-slot]{
  padding-top:16px !important;
}

/* Seal Panel Admin: logo penuhi lingkaran, cincin putih hilang (20261130-4) */
html body .felicia-admin-login .admin-login-content > .mb-8.text-center.fak-admin-intro > span:first-child{
  overflow:hidden !important; border-radius:50% !important; background:transparent !important;
}
html body .felicia-admin-login .admin-login-content > .mb-8.text-center.fak-admin-intro > span:first-child img{
  border-radius:0 !important; object-fit:contain !important;
  transform-origin:49.8% 48.43% !important; transform:translate(0.2%, 1.57%) scale(1.0365) !important;
}

/* Tombol tutup dialog jangan tertutup judul (20261130-7) */
html body [data-slot="dialog-content"] > [data-slot="dialog-close"]{opacity:1 !important;width:34px !important;height:34px !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;border-radius:50% !important;background:rgba(255,253,248,.94) !important;border:1px solid rgba(176,132,49,.55) !important;color:#122036 !important;box-shadow:0 2px 8px rgba(12,28,51,.18) !important;z-index:20 !important;top:10px !important;right:10px !important;}
html body [data-slot="dialog-content"] > [data-slot="dialog-close"] svg{width:15px !important;height:15px !important;}
html body [data-slot="dialog-content"] [data-slot="dialog-title"]{padding-right:46px !important;}

/* Tab kanal dialog Kaitkan: tinggi tombol mengikuti label, tidak meluber lagi (20261130-10) */
html body [data-slot="dialog-content"] .grid > button[data-slot="button"]{height:auto !important;min-height:46px !important;padding:8px 10px !important;align-items:center !important;justify-content:center !important;gap:6px !important;line-height:1.25 !important;font-size:13px !important;border-radius:12px !important;text-align:center !important;overflow-wrap:normal !important;}
html body [data-slot="dialog-content"] .grid > button[data-slot="button"] svg{flex:0 0 auto !important;width:16px !important;height:16px !important;margin-right:0 !important;}
@media (max-width:390px){
html body [data-slot="dialog-content"] .grid > button[data-slot="button"]{font-size:12px !important;padding:7px 7px !important;gap:5px !important;}
}
