/* CCFT v1.39.23a - CFTK burgundy main dashboard
   Corrected to target the actual v1.36+ shell markup:
   #dashboard .ccft36-grid > .ccft36-card
*/

#dashboard .ccft36-grid{
  align-items:stretch!important;
  grid-auto-rows:1fr!important;
  gap:18px!important;
}

#dashboard .ccft36-grid > .ccft36-card{
  position:relative!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
  min-height:285px!important;
  height:100%!important;
  box-sizing:border-box!important;
  padding:24px 24px 22px!important;
  border:1px solid rgba(255,255,255,.18)!important;
  border-radius:18px!important;
  background:
    radial-gradient(120% 90% at 115% 115%, rgba(205,28,62,.52) 0 34%, transparent 35%),
    radial-gradient(110% 80% at 110% 118%, rgba(168,16,46,.44) 0 46%, transparent 47%),
    linear-gradient(145deg,#7d001c 0%,#950a29 52%,#a91434 100%)!important;
  color:#fff!important;
  box-shadow:0 7px 18px rgba(77,0,18,.16)!important;
}

#dashboard .ccft36-grid > .ccft36-card::after{
  content:"";
  position:absolute;
  right:-72px;
  bottom:-92px;
  width:260px;
  height:180px;
  border-radius:50%;
  border:22px solid rgba(255,255,255,.04);
  pointer-events:none;
}

#dashboard .ccft36-grid > .ccft36-card h2,
#dashboard .ccft36-grid > .ccft36-card h3,
#dashboard .ccft36-grid > .ccft36-card h4{
  position:relative;
  z-index:1;
  color:#fff!important;
  margin-top:8px!important;
  margin-bottom:10px!important;
  line-height:1.23!important;
  text-shadow:0 1px 1px rgba(0,0,0,.12);
}

#dashboard .ccft36-grid > .ccft36-card p,
#dashboard .ccft36-grid > .ccft36-card li,
#dashboard .ccft36-grid > .ccft36-card small{
  position:relative;
  z-index:1;
  color:rgba(255,255,255,.96)!important;
}

#dashboard .ccft36-grid > .ccft36-card .ccft36-icon{
  position:relative;
  z-index:1;
}

#dashboard .ccft36-grid > .ccft36-card button{
  position:relative!important;
  z-index:2!important;
  align-self:flex-start!important;
  margin-top:auto!important;
  min-width:74px!important;
  padding:8px 16px!important;
  border:1px solid rgba(255,255,255,.9)!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#6f0019!important;
  font-weight:700!important;
  box-shadow:0 2px 7px rgba(0,0,0,.14)!important;
}

#dashboard .ccft36-grid > .ccft36-card button:hover,
#dashboard .ccft36-grid > .ccft36-card button:focus-visible{
  background:#fff4f6!important;
  color:#560013!important;
  transform:translateY(-1px);
}

#dashboard .ccft36-grid > .ccft36-card button:focus-visible{
  outline:3px solid rgba(255,255,255,.55)!important;
  outline-offset:2px!important;
}

body.dark-mode #dashboard .ccft36-grid > .ccft36-card,
[data-theme="dark"] #dashboard .ccft36-grid > .ccft36-card{
  background:
    radial-gradient(120% 90% at 115% 115%, rgba(205,28,62,.50) 0 34%, transparent 35%),
    radial-gradient(110% 80% at 110% 118%, rgba(168,16,46,.42) 0 46%, transparent 47%),
    linear-gradient(145deg,#690018 0%,#850725 54%,#98102f 100%)!important;
  border-color:rgba(255,255,255,.18)!important;
}

@media(max-width:760px){
  #dashboard .ccft36-grid > .ccft36-card{
    min-height:235px!important;
    padding:21px 20px 19px!important;
  }
}
