
:root{
  --ec-navy:#071a2e;
  --ec-navy-2:#03101d;
  --ec-text:#173653;
  --ec-muted:#6c8497;
  --ec-blue:#35b8ff;
  --ec-blue-2:#1485d1;
  --ec-gold:#d7b675;
  --ec-gold-soft:#f1dfb9;
  --ec-shadow:0 15px 38px rgba(58,96,124,.15), inset 0 1px 0 rgba(255,255,255,.88);
}
html,body{min-height:100%;}
body{overflow-x:hidden!important;color:var(--ec-text)!important;background:#eaf4fb!important;}
body::before{
  content:"";position:fixed;inset:0;z-index:-4;
  background:
    linear-gradient(90deg,rgba(248,252,255,.66) 0%,rgba(243,250,254,.44) 28%,rgba(236,246,252,.18) 60%,rgba(231,243,250,.06) 100%),
    url('../assets/elcadia-bg.webp') right center/cover no-repeat fixed;
}
body::after{
  content:"";position:fixed;inset:0;z-index:-3;pointer-events:none;
  background:radial-gradient(circle at 78% 17%,rgba(68,191,255,.10),transparent 22%);
}
.l-wrapper,.l-main,.l-page,.elc-main-root{background:transparent!important;}
.l-main,.elc-main-root{min-height:100vh!important;}
.l-page{padding:28px 28px 44px!important;}
.elc-frame{display:none!important;}

/* Sidebar: consistent across all cabinet pages */
.c-sidebar{
  width:250px!important;flex:0 0 250px!important;
  background:radial-gradient(circle at 50% 0,rgba(36,166,240,.18),transparent 24%),linear-gradient(180deg,#071d33 0%,#03101d 58%,#06192c 100%)!important;
  border-right:1px solid rgba(91,189,239,.23)!important;box-shadow:18px 0 50px rgba(2,18,31,.29)!important;
}
.c-sidebar__head{min-height:98px!important;border-bottom:1px solid rgba(98,188,235,.14)!important;}
.c-sidebar__logo-img{width:146px!important;max-height:72px!important;object-fit:contain!important;filter:drop-shadow(0 0 13px rgba(71,205,255,.62))!important;}
.c-sidebar__nav{padding:12px 11px!important;gap:5px!important;}
.c-sidebar__link{min-height:42px!important;padding:0 14px!important;color:#e1edf5!important;border:1px solid transparent!important;border-radius:12px!important;background:transparent!important;font-weight:500!important;}
.c-sidebar__link:hover{color:#fff!important;background:linear-gradient(90deg,rgba(20,106,166,.24),rgba(4,28,47,.10))!important;border-color:rgba(77,186,244,.20)!important;}
.c-sidebar__link.is-active,.c-sidebar__link[aria-current="page"]{color:#fff!important;background:linear-gradient(90deg,rgba(15,132,207,.98),rgba(5,53,88,.96))!important;border-color:rgba(116,226,255,.78)!important;box-shadow:inset 4px 0 #a2eeff,0 0 26px rgba(43,178,242,.31),inset 0 1px rgba(255,255,255,.13)!important;}
.c-sidebar__link-icon{color:#ead9aa!important;}.c-sidebar__link.is-active .c-sidebar__link-icon{color:#fff!important;}
.c-sidebar__sep{height:28px!important;margin:4px 15px!important;background:none!important;position:relative!important;}
.c-sidebar__sep::before{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:linear-gradient(90deg,transparent,#d0ae69,transparent);}
.c-sidebar__sep::after{content:"";position:absolute;width:8px;height:8px;left:50%;top:50%;transform:translate(-50%,-50%) rotate(45deg);background:#0e385a;border:1px solid #d0ae69;}
.c-sidebar__collapse{background:linear-gradient(180deg,#175483,#092d4c)!important;border:1px solid rgba(223,190,120,.76)!important;color:#fff!important;box-shadow:0 5px 18px rgba(0,0,0,.28)!important;}
.c-sidebar__site-link{color:#dfeef6!important;}

/* Neutral styling for non-dashboard pages */
.c-navbar,.c-card,.c-panel{background:linear-gradient(180deg,rgba(255,255,255,.88),rgba(239,247,252,.76))!important;border:1px solid rgba(128,183,215,.30)!important;box-shadow:var(--ec-shadow)!important;}
.c-navbar{border-radius:24px!important;}
.c-card{border-radius:20px!important;}
.c-panel{border-radius:24px!important;}

/* Exact dashboard composition */
.elc-dashboard-page .c-navbar,
.elc-dashboard-page .c-stats>.c-card,
.elc-dashboard-page .c-panel{position:relative!important;overflow:hidden!important;border:0!important;background:linear-gradient(180deg,rgba(255,255,255,.82),rgba(236,246,252,.70))!important;backdrop-filter:blur(8px)!important;}
.elc-dashboard-page .c-navbar::after,
.elc-dashboard-page .c-stats>.c-card::after,
.elc-dashboard-page .c-panel::after{content:""!important;position:absolute!important;inset:0!important;z-index:30!important;pointer-events:none!important;background-position:center!important;background-size:100% 100%!important;background-repeat:no-repeat!important;}
.elc-dashboard-page .c-navbar::after{background-image:url('../assets/frame-wide.svg')!important;}
.elc-dashboard-page .c-stats>.c-card::after{background-image:url('../assets/frame-card.svg')!important;}
.elc-dashboard-page .c-panel::after{background-image:url('../assets/frame-panel.svg')!important;}
.elc-dashboard-page .c-navbar>*,.elc-dashboard-page .c-stats>.c-card>*,.elc-dashboard-page .c-panel>*{position:relative!important;z-index:2!important;}

.elc-dashboard-page .c-navbar{min-height:88px!important;padding:15px 18px!important;border-radius:27px!important;}
.c-navbar__actions{gap:12px!important;}
.c-locale__btn,.c-notif__btn{min-height:46px!important;background:linear-gradient(180deg,#43c3ff,#1789d5)!important;color:#fff!important;border:1px solid rgba(156,232,255,.84)!important;border-radius:14px!important;box-shadow:0 8px 18px rgba(52,120,160,.14),inset 0 1px rgba(255,255,255,.25)!important;}
.c-user{min-height:51px!important;padding:7px 9px 7px 15px!important;border:1px solid rgba(211,177,105,.58)!important;border-radius:15px!important;background:rgba(255,255,255,.82)!important;box-shadow:inset 0 0 0 2px rgba(255,255,255,.48),0 6px 14px rgba(57,94,118,.08)!important;}
.c-user__name{font-family:Georgia,"Times New Roman",serif!important;color:#253d54!important;font-size:15px!important;font-weight:700!important;}
.c-user__email{color:#788c9d!important;font-size:12px!important;}
.c-user__avatar--img{width:32px!important;height:32px!important;border-radius:10px!important;border:2px solid #fff!important;box-shadow:0 0 0 1px rgba(109,177,219,.48)!important;}

.elc-dashboard-page .c-stats{gap:16px!important;margin-top:18px!important;}
.elc-dashboard-page .c-stats>.c-card{min-height:158px!important;padding:20px 20px 17px!important;border-radius:24px!important;}
.elc-dashboard-page .c-card__top{align-items:flex-start!important;}
.elc-dashboard-page .c-card__label{font-size:13px!important;letter-spacing:.09em!important;text-transform:uppercase!important;color:#74899c!important;}
.elc-dashboard-page .c-card__value{font-family:Georgia,"Times New Roman",serif!important;font-size:23px!important;font-weight:700!important;color:#1d3349!important;}
.elc-dashboard-page .c-card__icon{width:54px!important;height:54px!important;border-radius:50%!important;background:linear-gradient(180deg,#65d3ff,#1b92dd)!important;color:#fff!important;border:1px solid rgba(180,239,255,.94)!important;box-shadow:0 7px 18px rgba(48,130,179,.20),inset 0 1px rgba(255,255,255,.25)!important;}
.elc-dashboard-page .c-card__icon svg{width:26px!important;height:26px!important;}
.elc-dashboard-page .c-card__footer{margin-top:16px!important;}
.elc-dashboard-page .c-card__footer .g-btn{min-height:47px!important;font-size:15px!important;}
.elc-dashboard-page .c-card__footer .g-btn,
.elc-dashboard-page .c-card__action .g-btn,
.elc-dashboard-page .c-empty-state__action .g-btn{background:linear-gradient(180deg,#4fc8ff,#177fd0)!important;color:#fff!important;border:1px solid rgba(156,232,255,.90)!important;border-radius:12px!important;box-shadow:0 9px 22px rgba(42,125,176,.20),inset 0 1px rgba(255,255,255,.30)!important;}
.elc-dashboard-page .c-card__action .g-btn.elc-alt{background:linear-gradient(180deg,#fffaf0,#ead9b8)!important;color:#5a4729!important;border-color:rgba(212,176,107,.78)!important;box-shadow:0 6px 14px rgba(145,117,70,.10),inset 0 1px rgba(255,255,255,.62)!important;}
.elc-dashboard-page .c-stats>.c-card:last-child .c-card__footer .g-btn{background:linear-gradient(180deg,#ffffff,#f1f4f7)!important;color:#6a563d!important;border-color:rgba(211,177,105,.72)!important;box-shadow:0 8px 18px rgba(137,116,83,.10),inset 0 1px rgba(255,255,255,.82)!important;}

.elc-dashboard-page .c-divider{margin:17px 0 16px!important;gap:12px!important;}
.elc-dashboard-page .c-divider__line{height:1px!important;background:linear-gradient(90deg,transparent,rgba(212,176,107,.55),transparent)!important;}
.elc-dashboard-page .c-divider__ornament{gap:7px!important;}
.elc-dashboard-page .c-divider__diamond{width:9px!important;height:9px!important;background:#e6c886!important;transform:rotate(45deg)!important;opacity:1!important;border-radius:1px!important;}
.elc-dashboard-page .c-divider__diamond--lg{width:13px!important;height:13px!important;background:#52c9ff!important;border:1px solid rgba(212,176,107,.88)!important;}

.elc-dashboard-page .c-panel{border-radius:28px!important;}
.elc-dashboard-page .c-panel__header{min-height:70px!important;padding:0 25px!important;background:linear-gradient(180deg,rgba(255,255,255,.58),rgba(238,247,252,.24))!important;border-bottom:1px solid rgba(126,181,214,.30)!important;}
.elc-dashboard-page .c-panel__title{font-family:Georgia,"Times New Roman",serif!important;font-size:23px!important;color:#1b3b5d!important;gap:11px!important;}
.elc-dashboard-page .c-panel__title svg{width:22px!important;height:22px!important;color:#275981!important;}
.elc-dashboard-page .c-panel__count{min-height:35px!important;padding:0 14px!important;border-radius:16px!important;background:rgba(255,255,255,.76)!important;color:#4e6377!important;border:1px solid rgba(212,176,107,.58)!important;box-shadow:inset 0 0 0 2px rgba(255,255,255,.52)!important;}
.elc-dashboard-page .c-table-wrap,.elc-dashboard-page .c-table,.elc-dashboard-page .c-empty-state-row,.elc-dashboard-page .c-empty-state-row td{background:transparent!important;}
.elc-dashboard-page .c-empty-state{min-height:480px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;position:relative!important;overflow:hidden!important;background:linear-gradient(rgba(255,255,255,.24),rgba(255,255,255,.12)),url('../assets/elcadia-bg.webp') center center/cover no-repeat!important;}
.elc-dashboard-page .c-empty-state::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 50% 43%,rgba(255,255,255,.18),transparent 35%),linear-gradient(90deg,rgba(255,255,255,.22),transparent 32%,transparent 78%,rgba(255,255,255,.06));}
.elc-dashboard-page .c-empty-state__ornament{position:absolute!important;left:50%!important;top:18px!important;transform:translateX(-50%)!important;width:370px!important;height:270px!important;pointer-events:none!important;z-index:1!important;}
.elc-dashboard-page .c-empty-state__ornament::before{content:"";position:absolute;inset:0;background:url('../assets/crest.webp') center/contain no-repeat;opacity:.96;mask-image:radial-gradient(ellipse at center,#000 42%,rgba(0,0,0,.88) 60%,transparent 88%);-webkit-mask-image:radial-gradient(ellipse at center,#000 42%,rgba(0,0,0,.88) 60%,transparent 88%);}
.elc-dashboard-page .c-empty-state__ring,.elc-dashboard-page .c-empty-state__icon{display:none!important;}
.elc-dashboard-page .c-empty-state__body{position:relative!important;z-index:2!important;margin-top:220px!important;text-align:center!important;max-width:530px!important;}
.elc-dashboard-page .c-empty-state__title{font-family:Georgia,"Times New Roman",serif!important;font-size:23px!important;line-height:1.2!important;color:#284b6f!important;font-weight:700!important;margin-bottom:10px!important;}
.elc-dashboard-page .c-empty-state__desc{font-size:15px!important;line-height:1.5!important;color:#5f7b91!important;max-width:470px!important;margin:0 auto 18px!important;}
.elc-dashboard-page .c-empty-state__action .g-btn{min-height:48px!important;padding:0 25px!important;font-size:15px!important;}
.elc-dashboard-page .c-empty-state__diamonds{margin-top:20px!important;display:flex!important;gap:7px!important;justify-content:center!important;}
.elc-dashboard-page .c-empty-state__diamonds span{width:7px!important;height:7px!important;background:#dcbf7e!important;transform:rotate(45deg)!important;border-radius:1px!important;opacity:1!important;}
.elc-dashboard-page .c-empty-state__diamonds span:nth-child(2){width:10px!important;height:10px!important;background:#4cc7ff!important;border:1px solid rgba(212,176,107,.86)!important;}

@media(max-width:1200px){
  .c-sidebar{width:230px!important;flex-basis:230px!important;}
  .elc-dashboard-page .c-empty-state{min-height:430px!important;}
}


/* v7 patch: empty accounts area should use the same calm background as other sections */
.elc-dashboard-page .c-empty-state{
  background:linear-gradient(180deg, rgba(255,255,255,.44), rgba(246,250,253,.40))!important;
}
.elc-dashboard-page .c-empty-state::after{display:none!important;}
.elc-dashboard-page .c-empty-state__ornament{display:none!important;}
.elc-dashboard-page .c-empty-state__ring{
  display:block!important; position:absolute!important; left:50%!important; top:110px!important; transform:translateX(-50%)!important;
  width:106px!important; height:106px!important; border-radius:50%!important;
  border:1px solid rgba(216,208,196,.85)!important; background:transparent!important; z-index:1!important;
  box-shadow:inset 0 0 0 10px rgba(255,255,255,.34)!important;
}
.elc-dashboard-page .c-empty-state__icon{
  display:flex!important; align-items:center!important; justify-content:center!important;
  position:absolute!important; left:50%!important; top:133px!important; transform:translateX(-50%)!important;
  width:60px!important; height:60px!important; border-radius:50%!important;
  border:2px solid rgba(214,205,193,.95)!important; background:rgba(255,255,255,.72)!important;
  color:#b9afa1!important; z-index:2!important; box-shadow:0 6px 16px rgba(96,116,134,.05)!important;
}
.elc-dashboard-page .c-empty-state__icon svg{width:28px!important;height:28px!important;}
.elc-dashboard-page .c-empty-state__body{margin-top:150px!important;}
.elc-dashboard-page .c-empty-state__title{color:#75624a!important;}
.elc-dashboard-page .c-empty-state__desc{color:#9f9588!important;}
