.dashboard-shell{display:none}

.dashboard-page main{
  width:100%;
  min-height:100vh;
  margin:0;
}

.dashboard-page{
  background:
    radial-gradient(circle at 70% 10%,rgba(255,255,255,.13),transparent 28rem),
    radial-gradient(circle at 10% 15%,rgba(120,120,255,.08),transparent 22rem),
    var(--color-bg);
}

.dashboard-page .app-dashboard{
  width:100%;
  min-height:100vh;
  margin:0;
  border:0;
  border-radius:0;
}

.app-dashboard{
  min-height:calc(100vh - 74px);
  display:grid;
  grid-template-columns:290px 1fr;
  margin-top:2rem;
  margin-bottom:3rem;
  border:1px solid rgba(255,255,255,.1);
  border-radius:28px;
  overflow:hidden;
  background:
    radial-gradient(circle at 78% 15%,rgba(255,255,255,.16),transparent 26rem),
    linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.025));
  box-shadow:0 40px 120px rgba(0,0,0,.5);
}

.app-sidebar{
  display:flex;
  flex-direction:column;
  min-height:760px;
  padding:2.1rem 1.6rem;
  border-right:1px solid rgba(255,255,255,.08);
  background:rgba(6,7,10,.55);
}

.app-logo{
  display:flex;
  align-items:center;
  gap:.85rem;
  margin-bottom:3.1rem;
}

.app-logo span{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#fff;
  color:#050507;
  font-family:var(--font-display);
  font-size:1.7rem;
}

.app-logo strong{
  font-size:1.75rem;
  letter-spacing:-.06em;
}

.app-menu{
  display:grid;
  gap:.18rem;
}

.app-menu a,
.app-logout button{
  width:100%;
  display:flex;
  align-items:center;
  min-height:48px;
  border:0;
  border-radius:14px;
  padding:0 .95rem;
  color:#a3a8b5;
  background:transparent;
  font-size:1rem;
  font-weight:700;
  cursor:pointer;
  transition:background .18s ease,color .18s ease,transform .18s ease;
}

.app-menu a:hover,
.app-menu a.active,
.app-logout button:hover{
  color:#fff;
  background:rgba(255,255,255,.07);
  transform:translateX(2px);
}

.app-logout{
  margin-top:auto;
}

.app-main{
  padding:2.7rem;
}

.app-topbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem;
}

.app-topbar p{
  color:#fff;
  font-size:clamp(1.8rem,3vw,3rem);
  font-weight:800;
  letter-spacing:-.07em;
}

.app-topbar h1{
  margin-top:.55rem;
  color:#9fa5b2;
  font-size:1rem;
  font-weight:600;
  letter-spacing:0;
}

.external-link{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#b4b9c5;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  font-size:1.5rem;
}

.app-stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1rem;
  margin-top:2.2rem;
}

.app-stats article{
  min-height:135px;
  padding:1.45rem;
  border:1px solid rgba(255,255,255,.1);
  border-radius:20px;
  background:rgba(255,255,255,.06);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}

.app-stats span{
  display:block;
  min-height:38px;
  color:#858b9b;
  font-size:1rem;
  font-weight:700;
  line-height:1.25;
}

.app-stats strong{
  display:block;
  margin-top:.8rem;
  color:#fff;
  font-size:clamp(1.7rem,2.8vw,2.55rem);
  line-height:1;
  letter-spacing:-.06em;
}

.dashboard-actions{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1rem;
  margin-top:2rem;
}

.dashboard-actions article{
  min-height:205px;
  padding:1.6rem;
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.03));
}

.dashboard-actions span{
  color:#777d8d;
  font-weight:800;
  font-size:.82rem;
}

.dashboard-actions h2{
  margin-top:1rem;
  color:#fff;
  font-size:clamp(1.45rem,2.3vw,2.25rem);
  line-height:1;
  letter-spacing:-.06em;
}

.dashboard-actions p{
  margin:1rem 0 1.2rem;
  color:#9ba1ae;
  line-height:1.65;
}

.dashboard-actions a{
  color:#fff;
  font-weight:900;
}

.recent-orders{
  margin-top:2rem;
  padding:1.75rem;
  border:1px solid rgba(255,255,255,.08);
  border-radius:24px;
  background:rgba(0,0,0,.22);
}

.recent-orders-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding-bottom:1.4rem;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.recent-orders-head h2{
  font-size:clamp(1.6rem,2.7vw,2.4rem);
  letter-spacing:-.06em;
}

.recent-orders-head a{
  color:#9ba1ae;
  font-weight:800;
}

.empty-orders{
  min-height:230px;
  display:grid;
  place-items:center;
  align-content:center;
  text-align:center;
  color:#9ba1ae;
}

.empty-icon{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:50%;
  margin-bottom:1rem;
  color:#fff;
  background:rgba(255,255,255,.08);
}

.empty-orders h3{
  color:#fff;
  font-size:1.35rem;
  letter-spacing:-.04em;
}

.empty-orders p{
  max-width:440px;
  margin-top:.55rem;
  line-height:1.65;
}

@media(max-width:1080px){
  .app-dashboard{grid-template-columns:1fr}
  .app-sidebar{
    min-height:auto;
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.08);
  }
  .app-menu{
    grid-template-columns:repeat(4,1fr);
  }
  .app-logout{margin-top:1rem}
}

@media(max-width:820px){
  .app-main{padding:1.2rem}
  .app-stats,.dashboard-actions{grid-template-columns:1fr}
  .app-menu{grid-template-columns:1fr 1fr}
}

@media(max-width:560px){
  .app-dashboard{
    margin-top:1rem;
    border-radius:22px;
  }
  .app-sidebar{padding:1.3rem}
  .app-logo{margin-bottom:1.4rem}
  .app-menu{grid-template-columns:1fr}
}
