:root {
  --blue: #1769ff;
  --blue-dark: #0d47c7;
  --cyan: #08afd5;
  --green: #18b979;
  --orange: #ff9f43;
  --red: #ef5350;
  --purple: #7856ff;

  --bg: #f5f8fc;
  --white: #ffffff;
  --text: #182230;
  --muted: #718096;
  --border: #e7edf5;

  --sidebar: 260px;
  --radius: 18px;
  --shadow: 0 8px 30px rgba(26, 52, 93, 0.07);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font-family: inherit;
}

/* =========================
           SIDEBAR
        ========================= */

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--sidebar);
  height: 100vh;
  padding: 24px 16px;
  background: linear-gradient(180deg, #1261f4 0%, #0d47c7 100%);
  color: white;
  z-index: 1000;
  transition: 0.3s ease;
  overflow-y: auto;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 10px 28px;
}

.logo {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -1px;
}

.brand-text strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.brand-text span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  opacity: 0.7;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.menu-title {
  padding: 10px 12px;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 13px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 500;
  transition: 0.2s ease;
}

.nav-item svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.nav-item:hover {
  color: white;
  background: rgba(255, 255, 255, 0.09);
}

.nav-item.active {
  color: white;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 3px 0 0 white;
}

.sidebar-bottom {
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.care-box {
  margin: 0 4px 12px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.care-box small {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
}

.care-box strong {
  display: block;
  font-size: 12px;
  margin-bottom: 10px;
}

.care-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 34px;
  border-radius: 9px;
  background: white;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
}

.care-btn svg {
  width: 15px;
  height: 15px;
}
.main {
  margin-left: var(--sidebar);
  min-height: 100vh;
}

.topbar {
  height: 82px;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 35px;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
}

.page-heading h1 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.page-heading p {
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.notification {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  background: white;
}

.notification span {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  top: 8px;
  right: 8px;
  border: 2px solid white;
}

.user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.user-info strong {
  display: block;
  font-size: 12px;
}

.user-info span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}

.content {
  padding: 30px 35px 50px;
  max-width: 1500px;
}

/* =========================
       MOBILE
    ========================= */

.mobile-menu {
  display: none;
}

@media (max-width: 1100px) {
  .summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .billing-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  :root {
    --sidebar: 0px;
  }

  .sidebar {
    width: 250px;
    transform: translateX(-100%);
    transition: 0.25s ease;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main {
    margin-left: 0;
  }

  .mobile-menu {
    display: flex;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: white;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 12px;
  }

  .topbar {
    padding: 0 18px;
  }

  .page-heading {
    display: flex;
    align-items: center;
  }

  .content {
    padding: 22px 18px 40px;
  }

  .user-info {
    display: none;
  }
}

/* =========================
           CONTENT
        ========================= */

.content {
  padding: 30px 32px 45px;
  max-width: 1500px;
  margin: auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 11px;
}

.breadcrumb svg {
  width: 13px;
  height: 13px;
}

.breadcrumb .current {
  color: var(--blue);
  font-weight: 600;
}

/* =========================
           HERO SERVICE
        ========================= */

.service-hero {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #0f5ff1 0%, #1769ff 52%, #08afd5 100%);
  color: white;
  box-shadow: 0 12px 35px rgba(23, 105, 255, 0.18);
  margin-bottom: 22px;
}

.service-hero::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border: 45px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  right: -70px;
  top: -120px;
}

.service-hero::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 35px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  right: 130px;
  bottom: -120px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
}

.service-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 10px;
  font-weight: 600;
  margin-bottom: 13px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #58e3a5;
  box-shadow: 0 0 0 4px rgba(88, 227, 165, 0.15);
}

.hero-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 7px;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  line-height: 1.7;
  max-width: 600px;
}

.service-number {
  min-width: 210px;
  padding: 17px 19px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.service-number small {
  display: block;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.service-number strong {
  font-size: 15px;
  letter-spacing: 0.2px;
}

/* =========================
           GRID
        ========================= */

.grid {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: 1.25fr 0.75fr;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-header {
  min-height: 67px;
  padding: 18px 21px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 11px;
}

.card-icon {
  width: 35px;
  height: 35px;
  border-radius: 10px;
  background: #edf4ff;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  width: 18px;
  height: 18px;
}

.card-title h2 {
  font-size: 13px;
  font-weight: 750;
}

.card-title p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.card-body {
  padding: 21px;
}
