body {
  background: linear-gradient(120deg, #311b92 0%, #0e2a47 100%);
  min-height: 100vh;
  font-family: 'Segoe UI', Arial, sans-serif;
}

/* ===== Top Navbar ===== */
.admin-navbar {
  height: 46px;
  background: #20175e;
  color: #fff;
  box-shadow: 0 2px 12px #1e237c33;
  position: sticky;
  top: 0; z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5px;
}
.menu-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.48rem;
  cursor: pointer;
  margin-right: 3px;
  flex: 0 0 auto;
  padding: 0 1px;
  display: flex; align-items: center;
}
.menu-btn:focus { outline: none; }
.navbar-title {
  font-size: 1.07rem;
  font-weight: 700;
  letter-spacing: .3px;
  flex: 1 1 auto;
  text-align: center;
  margin: 0;
  padding: 0 2px;
}
.admin-header-logout {
  color: #fff;
  font-weight: 500;
  font-size: .91rem;
  background: #ed3847;
  border: none;
  border-radius: 7px;
  padding: 5px 13px;
  margin-left: 6px;
  transition: background 0.16s;
  text-decoration: none;
}
.admin-header-logout:hover {
  background: #d32f2f;
}
.admin-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 5px;
  background: #e0e3fa;
  box-shadow: 0 1px 7px #0001;
}

/* ===== Sidebar ===== */
.admin-sidebar {
  position: fixed; top: 0; left: -210px; width: 195px; height: 100vh;
  background: #27215b;
  color: #fff;
  z-index: 30; box-shadow: 2px 0 16px #241a4648;
  transition: left .25s cubic-bezier(.5,.1,.2,1);
  display: flex; flex-direction: column;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.admin-sidebar.open { left: 0; }
.admin-sidebar::-webkit-scrollbar { display: none; }
.close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  margin: 14px 10px 8px auto;
  line-height: 1;
  padding: 0 1px;
}
.close-btn:focus { outline: none; }
.sidebar-header {
  font-size: 1.01rem;
  font-weight: 700;
  border-bottom: 1px solid #323057;
  padding: 8px 14px 8px 14px;
  color: #23c0fa;
}
.sidebar-logo {
  color: #1ed6ff;
  font-size: 1.07rem;
  font-weight: 800;
  margin-left: 3px;
}
.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0.3rem 0 0 0;
}
.sidebar-menu a {
  display: flex; align-items: center;
  color: #d2dcff;
  font-size: .91rem; font-weight: 500;
  padding: 7px 10px; border-radius: 7px; margin: 0 4px 2px 4px;
  transition: background .13s, color .13s;
  text-decoration: none;
}
.sidebar-menu a:hover, .sidebar-menu a.active {
  background: linear-gradient(92deg,#1ed6ff 0,#4e58e9 98%);
  color: #fff;
}
.sidebar-menu i {
  font-size: .95em;
  margin-right: 7px;
  vertical-align: middle;
  display: inline-block;
}

.sidebar-backdrop {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30,32,60,0.16);
  z-index: 21;
  opacity: 0; pointer-events: none;
  transition: opacity .22s;
}
.sidebar-backdrop.show { opacity: 1; pointer-events: auto; }

/* ===== Main content ===== */
.admin-main-content {
  padding: 16px 2vw 16px 2vw;
  max-width: 1250px;
  margin: 0 auto;
  transition: filter .2s;
}

/* ===== VIP Welcome Card ===== */
.vip-welcome-card {
  background: linear-gradient(90deg,#43b0fa 60%,#1ed6ff 120%);
  border:1.5px solid #d1eaff;
  box-shadow: 0 2px 14px #1ed6ff22;
  padding: 1.5rem 0.9rem 1.3rem 0.9rem;
  border-radius: 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.3rem;
}
.vip-welcome-card .avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  box-shadow: 0 2px 14px #1ed6ff36;
  background: #e6f4fb;
}
.vip-welcome-content { flex: 1; }
.vip-welcome-title {
  font-size: 1.32rem;
  font-weight: 800;
  color: #261b3b;
  margin-bottom: 2px;
}
.vip-welcome-title span { color: #157ad7; }
.vip-welcome-desc {
  color: #234174;
  font-size: .96rem;
  font-weight: 500;
}
.vip-badge {
  margin-top: 13px;
  font-size: .95rem;
  letter-spacing: 1.1px;
  background: #20d660;
  color: #fff;
  border-radius: 2em;
  padding: 5px 16px;
  font-weight: 600;
}
@media (max-width: 900px) {
  .vip-welcome-card { padding: 1rem 0.5rem; }
}
@media (max-width: 600px) {
  .navbar-title {
    font-size: .95rem;
    padding-right: 13px;
  }
  .admin-header-logout {
    padding: 5px 8px;
    font-size: .93rem;
  }
  .vip-welcome-card {
    flex-direction: column;
    text-align: center;
    gap: .65rem;
    padding: .8rem 0.2rem 1rem 0.2rem;
    border-radius: 9px;
  }
  .vip-welcome-card .avatar {
    width: 41px; height: 41px;
  }
  .vip-welcome-title { font-size: .96rem; }
  .vip-welcome-desc { font-size: .84rem; }
  .admin-sidebar { width: 90vw; max-width: 180px;}
}

/* ===== Generic Card ===== */
.card-vip {
  background: #f7f9fd;
  border-radius: 13px;
  box-shadow: 0 2px 14px #e6eaff;
  padding: 1.1rem 0.7rem;
  text-align: center;
  border: 1.2px solid #f1f4ff;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.14s, box-shadow 0.14s;
  cursor: pointer;
}
.card-vip:hover {
  box-shadow: 0 8px 32px #8dcaff88;
  border-color: #1ed6ff44;
  transform: translateY(-4px) scale(1.03);
}
.card-vip .vip-icon {
  font-size: 1.22rem;
  margin-bottom: 0.5rem;
  color: #3f51b5;
  background: #eaf5ff;
  border-radius: 50%;
  padding: 7px 9px;
  display: inline-block;
}
.card-vip .vip-title-sm {
  font-weight: 600;
  font-size: .98rem;
  color: #282f46;
  margin-bottom: 0.15rem;
}
.card-vip .vip-desc {
  color: #8fa1be;
  font-size: 0.89rem;
}
@media (max-width: 550px) {
  .card-vip { padding: 0.7rem 0.3rem; min-height: 78px; }
}
