/* 12Bytes Suite shell, sidebar, app launcher, and login refresh */
:root{
  --suite-sidebar-width: 280px;
  --suite-sidebar-bg: #0c1726;
  --suite-sidebar-bg-2: #101f33;
  --suite-sidebar-text: rgba(255,255,255,.86);
  --suite-sidebar-muted: rgba(255,255,255,.56);
  --suite-blue: #0d6efd;
  --suite-cyan: #16b7ff;
}

body.suite-shell{
  background: #f6f8fb;
}

.suite-app-layout{
  min-height: 100vh;
}

.suite-sidebar{
  width: var(--suite-sidebar-width);
  background: radial-gradient(circle at top left, rgba(22,183,255,.15), transparent 34%), linear-gradient(180deg, var(--suite-sidebar-bg), var(--suite-sidebar-bg-2));
  color: var(--suite-sidebar-text);
  min-height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 1030;
  box-shadow: 18px 0 36px rgba(15,23,42,.10);
}

.suite-sidebar-inner{
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.15rem;
}

.suite-brand{
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #fff;
  text-decoration: none;
  padding: .55rem .35rem 1rem;
}

.suite-brand-mark{
  width: 42px;
  height: 42px;
  border: 1px solid rgba(22,183,255,.55);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13,110,253,.16);
  color: var(--suite-cyan);
  box-shadow: inset 0 0 20px rgba(22,183,255,.10);
}

.suite-brand-name{
  display: block;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.suite-brand-name .suite-brand-blue{ color: var(--suite-cyan); }
.suite-brand-subtitle{
  display: block;
  margin-top: .2rem;
  font-size: .78rem;
  letter-spacing: .32em;
  color: var(--suite-cyan);
  text-transform: uppercase;
}

.suite-nav{
  margin-top: .75rem;
  display: grid;
  gap: .3rem;
}

.suite-nav-link{
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--suite-sidebar-text);
  text-decoration: none;
  border-radius: .75rem;
  padding: .72rem .8rem;
  font-weight: 700;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}

.suite-nav-link:hover,
.suite-nav-link:focus,
.suite-nav-link.active{
  background: linear-gradient(135deg, #1c66da, #0d6efd);
  color: #fff;
  transform: translateX(2px);
}

.suite-nav-link i{ width: 1.15rem; text-align: center; }
.suite-sidebar-spacer{ flex: 1 1 auto; }
.suite-sidebar-footer{ color: var(--suite-sidebar-muted); font-size: .85rem; padding: .5rem .25rem 0; }

.suite-main{
  min-height: 100vh;
}

@media (min-width: 992px){
  .suite-main{
    margin-left: var(--suite-sidebar-width);
  }
}

.suite-topbar{
  min-height: 72px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15,23,42,.08);
  position: sticky;
  top: 0;
  z-index: 1020;
}

.suite-user-badge{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  background: #475569;
  color: #fff;
}

.suite-content{
  padding: 1rem;
}

@media (min-width: 768px){
  .suite-content{ padding: 1.5rem 2rem; }
}

.suite-page-kicker{
  color: #64748b;
  margin-bottom: 0;
}

.suite-app-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 576px){
  .suite-app-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1200px){
  .suite-app-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.suite-app-card{
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15,23,42,.06);
  padding: 1.35rem;
  min-height: 185px;
  text-align: center;
  text-decoration: none;
  color: #0f172a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.suite-app-card:hover,
.suite-app-card:focus{
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(15,23,42,.10);
  border-color: rgba(13,110,253,.28);
  color: #0f172a;
}

.suite-app-icon{
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.75rem;
  margin-bottom: .9rem;
  box-shadow: 0 12px 22px rgba(15,23,42,.15);
}

.suite-gradient-blue{ background: linear-gradient(135deg, #1d4ed8, #38bdf8); }
.suite-gradient-green{ background: linear-gradient(135deg, #16a34a, #22c55e); }
.suite-gradient-purple{ background: linear-gradient(135deg, #7c3aed, #a855f7); }
.suite-gradient-orange{ background: linear-gradient(135deg, #f97316, #fb923c); }
.suite-gradient-teal{ background: linear-gradient(135deg, #0d9488, #14b8a6); }
.suite-gradient-red{ background: linear-gradient(135deg, #e11d48, #fb7185); }
.suite-gradient-gold{ background: linear-gradient(135deg, #d97706, #fbbf24); }
.suite-gradient-slate{ background: linear-gradient(135deg, #334155, #64748b); }

.suite-app-title{
  font-weight: 900;
  margin-bottom: .35rem;
  font-size: 1.08rem;
}
.suite-app-text{
  color: #475569;
  font-size: .95rem;
  margin-bottom: .75rem;
}
.suite-open-link{
  font-weight: 800;
  color: #0d6efd;
}

.suite-mini-card{
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15,23,42,.05);
}

/* Login page */
body.suite-auth-body{
  background: #06111f;
}

.suite-login-page{
  min-height: 100vh;
  background-image: linear-gradient(180deg, rgba(3,9,18,.10), rgba(3,9,18,.50)), url("../images/12bytes-suite-login-hero.cb7eba68d19f.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.suite-login-card{
  width: min(100%, 430px);
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 1.25rem;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
  padding: 2rem 1.5rem;
}

@media (min-width: 768px){
  .suite-login-card{ padding: 2.5rem; }
}

.suite-login-logo-mark{
  width: 70px;
  height: 70px;
  border-radius: 22px;
  margin: 0 auto .75rem;
  border: 2px solid #0ea5e9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d6efd;
  background: rgba(255,255,255,.65);
  font-size: 1.75rem;
}

.suite-login-logo{
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
  font-size: clamp(2rem, 7vw, 3rem);
  line-height: 1;
}
.suite-login-logo .blue{ color: #0d6efd; }
.suite-login-logo .dark{ color: #1e293b; }
.suite-login-sublogo{
  color: #0d6efd;
  text-transform: uppercase;
  letter-spacing: .42em;
  font-weight: 900;
  text-align: center;
  margin-bottom: 1.4rem;
}

.suite-login-card .form-control{
  border: 1px solid rgba(15,23,42,.12);
  border-radius: .55rem;
  padding: .78rem .9rem;
}
.suite-login-card .btn-primary{
  border-radius: .55rem;
  padding: .82rem 1rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0d6efd, #0758d1);
  border: 0;
}
.suite-login-footer{
  color: rgba(255,255,255,.82);
  text-align: center;
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  font-size: .85rem;
}

/* Suite sidebar MoneyPro dropdown */
.suite-nav-toggle{
  border: 0;
  width: 100%;
  background: transparent;
  text-align: left;
  justify-content: space-between;
}

.suite-nav-toggle-label{
  display: inline-flex;
  align-items: center;
  gap: .75rem;
}

.suite-nav-toggle[aria-expanded="true"] .suite-nav-caret{
  transform: rotate(180deg);
}

.suite-nav-caret{
  margin-left: auto;
  font-size: .8rem;
  opacity: .75;
  transition: transform .15s ease;
}

.suite-subnav{
  display: grid;
  gap: .18rem;
  margin: .25rem 0 .45rem 1.15rem;
  padding: .25rem 0 .25rem .65rem;
  border-left: 1px solid rgba(255,255,255,.16);
}

.suite-subnav-link{
  display: flex;
  align-items: center;
  gap: .6rem;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  border-radius: .65rem;
  padding: .48rem .65rem;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}

.suite-subnav-link:hover,
.suite-subnav-link:focus,
.suite-subnav-link.active{
  background: rgba(255,255,255,.12);
  color: #fff;
  transform: translateX(2px);
}

.suite-subnav-link.active{
  box-shadow: inset 3px 0 0 var(--suite-cyan);
}

.suite-subnav-link i{
  width: 1rem;
  text-align: center;
  font-size: .88rem;
}
