/* SwayamHost — Production Storefront Styles
   Matching mockup: clean cards, blue/purple gradients, Inter typography */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --purple: #7c3aed;
  --purple-dark: #6d28d9;
  --gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --gradient-hero: linear-gradient(135deg, #1e40af 0%, #4c1d95 50%, #1e3a8a 100%);
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --bg: #f8fafc;
  --bg-white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --header-h: 64px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: 1rem; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.logo:hover { color: var(--text); }
.logo-text span { color: var(--primary); }
.logo-icon { flex-shrink: 0; }

.logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}
.hero-person {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}


.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.main-nav a {
  padding: 0.5rem 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all .15s;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  background: #eff6ff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all .15s;
}
.icon-btn:hover { background: #f1f5f9; color: var(--text); }
.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--error);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .2s;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-sm { padding: 0.45rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 0.85rem 1.75rem; font-size: 1.05rem; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-purple {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}
.btn-purple:hover { background: var(--purple-dark); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: #eff6ff; color: var(--primary-dark); }
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
}
.btn-ghost:hover { color: var(--text); background: #f1f5f9; }
.btn-block { width: 100%; }

/* ---------- Alerts ---------- */
.alert {
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  margin: 1rem auto;
  max-width: 1200px;
  width: calc(100% - 2.5rem);
  font-size: 0.95rem;
  font-weight: 500;
}
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.alert-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* ---------- Hero (Home) ---------- */
.hero {
  background: var(--gradient-hero);
  color: #fff;
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(139,92,246,0.3) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.hero h1 .highlight {
  background: linear-gradient(90deg, #60a5fa, #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p.lead {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 1.75rem;
  max-width: 480px;
}
.domain-search-box {
  display: flex;
  background: #fff;
  border-radius: var(--radius);
  padding: 0.4rem;
  box-shadow: var(--shadow-lg);
  max-width: 520px;
  gap: 0.25rem;
}
.domain-search-box input {
  flex: 1;
  border: none;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  outline: none;
  min-width: 0;
  color: var(--text);
  border-radius: var(--radius-sm);
}
.domain-search-box select {
  border: none;
  background: #f1f5f9;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 500;
  cursor: pointer;
}
.domain-search-box .btn { flex-shrink: 0; }
.tld-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.tld-prices span {
  background: rgba(255,255,255,0.12);
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
}
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image img,
.hero-illustration {
  max-width: 100%;
  border-radius: 16px;
}

/* Feature cards under hero */
.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
  padding-bottom: 2rem;
}
.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.feature-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  font-size: 1.3rem;
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.feature-card a {
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.trust-row {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 1.5rem 0 2.5rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}
.trust-item svg { color: var(--primary); }

/* ---------- Pricing Cards ---------- */
.section {
  padding: 3.5rem 0;
}
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.section-header p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}
.billing-toggle {
  display: inline-flex;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 0.25rem;
  margin-top: 1.25rem;
}
.billing-toggle button {
  border: none;
  background: transparent;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: all .15s;
}
.billing-toggle button.active {
  background: var(--bg-white);
  color: var(--primary);
  box-shadow: var(--shadow);
}
.billing-toggle .save-badge {
  background: #dcfce7;
  color: #166534;
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  margin-left: 0.35rem;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pricing-card.popular {
  border-color: var(--purple);
  box-shadow: 0 0 0 2px var(--purple), var(--shadow);
}
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}
.pricing-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.pricing-card .plan-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  min-height: 2.6em;
}
.plan-price {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
}
.plan-price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}
.plan-billing {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.pricing-card .btn { margin-bottom: 1.25rem; }
.plan-features {
  list-style: none;
  flex: 1;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  padding: 0.35rem 0;
  color: var(--text);
}
.plan-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Domain page ---------- */
.domain-page-hero {
  padding: 2.5rem 0 1.5rem;
}
.domain-page-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.domain-search-large {
  display: flex;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  box-shadow: var(--shadow);
  max-width: 640px;
  margin: 1.5rem 0;
  gap: 0.35rem;
}
.domain-search-large input {
  flex: 1;
  border: none;
  padding: 0.85rem 1rem;
  outline: none;
  font-size: 1.05rem;
  min-width: 0;
}
.domain-search-large select {
  border: 1px solid var(--border);
  background: #f8fafc;
  padding: 0.85rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}
.tld-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 2rem;
}
.tld-chip {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  min-width: 90px;
  cursor: pointer;
  transition: all .15s;
}
.tld-chip:hover, .tld-chip.active {
  border-color: var(--primary);
  background: #eff6ff;
}
.tld-chip .price { color: var(--primary); font-size: 0.95rem; }

.sidebar-nav {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  background: #eff6ff;
  color: var(--primary);
}

/* ---------- VPS Configurator ---------- */
.vps-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.75rem;
  align-items: start;
}
.vps-steps {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.vps-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}
.vps-step .num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.vps-step.active .num { background: var(--primary); color: #fff; }
.vps-step.active { color: var(--text); }

.config-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.config-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
}
.location-option {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all .15s;
  font-weight: 500;
  font-size: 0.9rem;
}
.location-option:hover { border-color: #93c5fd; }
.location-option.selected {
  border-color: var(--primary);
  background: #eff6ff;
}
.location-option .flag { font-size: 1.5rem; display: block; margin-bottom: 0.25rem; }

.plan-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}
.plan-option {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all .15s;
}
.plan-option:hover { border-color: #93c5fd; }
.plan-option.selected {
  border-color: var(--primary);
  background: #eff6ff;
}
.plan-option .cpu { font-weight: 700; font-size: 1.05rem; }
.plan-option .price { color: var(--primary); font-weight: 600; margin-top: 0.25rem; }

.slider-group {
  margin-bottom: 1.25rem;
}
.slider-group label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.slider-group input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
}

.summary-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
.summary-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.9rem;
}
.summary-row .label { color: var(--text-muted); }
.summary-price {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 1rem 0;
  color: var(--text);
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 440px;
  margin: 2rem auto;
  box-shadow: var(--shadow);
}
.form-card h1 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  text-align: center;
}
.form-card .subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.form-group {
  margin-bottom: 1.15rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color .15s;
  background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.form-group .hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}
.form-footer {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- Dashboard (customer + admin) ---------- */
.dash-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - var(--header-h));
}
.dash-sidebar {
  background: #0f172a;
  color: #e2e8f0;
  padding: 1.25rem 0.75rem;
}
.dash-sidebar .logo {
  color: #fff;
  padding: 0.5rem 0.75rem 1.25rem;
  font-size: 1.1rem;
}
.dash-sidebar .logo span { color: #60a5fa; }
.dash-nav a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}
.dash-nav a:hover, .dash-nav a.active {
  background: rgba(59,130,246,0.15);
  color: #fff;
}
.dash-main {
  padding: 1.75rem;
  background: var(--bg);
}
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.dash-header h1 {
  font-size: 1.5rem;
  font-weight: 800;
}
.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.stat-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.stat-card .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: #eff6ff;
  color: var(--primary);
}
.stat-card .stat-value {
  font-size: 1.5rem;
  font-weight: 800;
}
.stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.table-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.table-card .table-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.table-card h3 { font-size: 1.05rem; font-weight: 700; }
table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
table.data-table th {
  text-align: left;
  padding: 0.75rem 1.25rem;
  background: #f8fafc;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--border);
}
table.data-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
table.data-table tr:last-child td { border-bottom: none; }
table.data-table tr:hover td { background: #f8fafc; }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-error { background: #fee2e2; color: #991b1b; }
.badge-info { background: #dbeafe; color: #1e40af; }
.badge-muted { background: #f1f5f9; color: #64748b; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 3.5rem 0 0;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-brand .logo { color: #fff; margin-bottom: 0.75rem; }
.footer-brand .logo span { color: #60a5fa; }
.footer-tagline {
  font-size: 0.85rem;
  color: #60a5fa;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.footer-desc { font-size: 0.9rem; line-height: 1.6; max-width: 280px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a {
  color: #94a3b8;
  font-size: 0.9rem;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
}
.footer-social { display: flex; gap: 0.75rem; }
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.8rem;
}
.social-link:hover { background: var(--primary); color: #fff; }

/* ---------- Misc ---------- */
.page-hero {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}
.page-hero h1 {
  font-size: 1.75rem;
  font-weight: 800;
}
.page-hero p { color: var(--text-muted); margin-top: 0.35rem; }
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.two-col {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.75rem;
  align-items: start;
}
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-muted);
}
.empty-state h3 { color: var(--text); margin-bottom: 0.5rem; }

/* Setup notice */
.setup-notice {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 640px;
  text-align: center;
}
.setup-notice h2 { font-size: 1.25rem; margin-bottom: 0.5rem; color: #92400e; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .vps-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .dash-layout { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .mobile-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .domain-search-box { margin: 0 auto; }
  .tld-prices { justify-content: center; }
  .hero-image { display: none; }
  .feature-row { grid-template-columns: 1fr; margin-top: 1.5rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .trust-row { gap: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-actions .btn-outline { display: none; }
}

@media (max-width: 480px) {
  .domain-search-box { flex-direction: column; }
  .domain-search-large { flex-direction: column; }
}


/* Brand-approved photography and real logo artwork */
.dashboard-brand { display:flex; justify-content:center; width:100%; padding:0.25rem 0; }
.dashboard-logo { display:block; width:min(100%, 190px); height:auto; object-fit:contain; }
.footer-logo-img { background:#fff; border-radius:8px; padding:4px 8px; height:38px; width:auto; }
.hero-carousel { position:relative; width:100%; overflow:hidden; border-radius:18px; box-shadow:0 22px 48px rgba(4,12,34,.28); }
.hero-slide { display:none; position:relative; margin:0; aspect-ratio:1.42/1; }
.hero-slide.is-active { display:block; }
.hero-slide img { width:100%; height:100%; object-fit:cover; }
.hero-slide::after { content:''; position:absolute; inset:45% 0 0; background:linear-gradient(transparent,rgba(8,15,38,.78)); }
.hero-slide figcaption { position:absolute; z-index:1; left:1.2rem; right:1.2rem; bottom:1.25rem; color:#fff; font-weight:700; font-size:1rem; }
.hero-carousel-controls { position:absolute; z-index:2; right:1.2rem; top:1.1rem; display:flex; gap:.4rem; }
.hero-carousel-dot { border:1px solid rgba(255,255,255,.9); background:rgba(15,23,42,.45); width:10px; height:10px; border-radius:50%; cursor:pointer; padding:0; }
.hero-carousel-dot.is-active { background:#fff; transform:scale(1.15); }
.feature-photo { width:calc(100% + 3rem); max-width:none; height:130px; object-fit:cover; border-radius:var(--radius) var(--radius) 0 0; margin:-1.5rem -1.5rem 1.1rem; }
.feature-card { overflow:hidden; }
.service-hero-layout { display:grid; grid-template-columns:1fr minmax(260px, 40%); gap:2rem; align-items:center; }
.service-hero-photo { width:100%; height:210px; object-fit:cover; border-radius:16px; box-shadow:var(--shadow-lg); }
.plan-photo { width:calc(100% + 3rem); max-width:none; height:150px; object-fit:cover; border-radius:var(--radius) var(--radius) 0 0; margin:-1.75rem -1.5rem 1.1rem; }
@media (max-width:760px) {
  .service-hero-layout { grid-template-columns:1fr; gap:1.2rem; }
  .service-hero-photo { height:180px; }
  .hero-slide { aspect-ratio:1.12/1; }
  .feature-photo { height:115px; }
  .dashboard-logo { width:160px; }
}

/* Business-console dashboard refresh: light royal-blue navigation, matching the approved reference */
body.dashboard-page { display:block; background:#f4f6fa; }
.dash-layout { grid-template-columns:260px minmax(0,1fr); min-height:100vh; }
.dash-sidebar { min-height:100vh; background:#fff; color:#29456f; border-right:1px solid #e4ebf4; padding:1.25rem 1rem 1rem; display:flex; flex-direction:column; }
.dash-sidebar .logo { color:var(--text); padding:.35rem .15rem 1.15rem; }
.dashboard-brand { justify-content:flex-start; }
.dashboard-logo { width:min(100%,190px); }
.dash-workspace { min-height:46px; margin:0 .15rem 1.15rem; padding:.65rem .8rem; display:flex; align-items:center; gap:.6rem; background:#f3f7fc; border:1px solid #e4ebf4; border-radius:10px; color:#5c7191; font-size:.88rem; }
.workspace-dot { width:9px; height:9px; border-radius:50%; background:#21b573; box-shadow:0 0 0 3px #e0f7ed; }
.dash-nav { display:flex; flex-direction:column; gap:.25rem; }
.dash-nav a { color:#3f5b82; font-weight:500; font-size:.93rem; padding:.72rem .82rem; border-radius:10px; margin:0; gap:.75rem; transition:background .16s,color .16s; }
.dash-nav a:hover { background:#f1f7ff; color:#1766c2; }
.dash-nav a.active { background:#e4f0ff; color:#0869cf; font-weight:700; }
.nav-icon { display:inline-flex; width:20px; justify-content:center; color:#6484ad; font-size:1rem; line-height:1; }
.dash-nav a.active .nav-icon, .dash-nav a:hover .nav-icon { color:#0875df; }
.dash-profile { display:flex; align-items:center; gap:.65rem; border-top:1px solid #e4ebf4; margin-top:auto; padding:.9rem .2rem .1rem; color:#1d2d45; }
.profile-avatar { width:38px; height:38px; border-radius:50%; display:grid; place-items:center; flex:0 0 38px; background:#e7f1ff; color:#1268c7; font-weight:700; }
.profile-copy { display:flex; flex-direction:column; min-width:0; flex:1; line-height:1.35; }
.profile-copy strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:.86rem; }
.profile-copy small { color:#71839c; font-size:.76rem; }
.profile-arrow { color:#6b7f99; font-size:1.1rem; }
.dash-main { min-width:0; padding:1.75rem 2rem 2rem; background:#f4f6fa; }
.dash-topbar { display:flex; justify-content:space-between; align-items:center; gap:1rem; margin:-1.75rem -2rem 2rem; padding:.9rem 2rem; min-height:78px; border-bottom:1px solid #e3eaf2; background:#fff; }
.dash-topbar h1 { font-size:1.25rem; line-height:1.3; font-weight:700; }
.dash-topbar p { margin-top:.15rem; color:#75859a; font-size:.82rem; }
.dash-topbar p span { color:#a0adbc; padding:0 .25rem; }
.topbar-actions { display:flex; align-items:center; gap:1rem; }
.topbar-actions .badge { letter-spacing:.04em; }
.refresh-link { color:#61758f; font-size:1.35rem; line-height:1; padding:.4rem; }
.dash-welcome { display:flex; justify-content:space-between; align-items:center; gap:1rem; margin-bottom:1.55rem; }
.dash-welcome h2 { font-size:1.75rem; line-height:1.3; font-weight:750; }
.dash-welcome p { color:#73839a; margin-top:.35rem; }
.dashboard-stat-cards { grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; margin-bottom:1.4rem; }
.dashboard-stat-cards .stat-card { min-height:150px; display:grid; grid-template-columns:minmax(0,1fr) 40px; grid-template-rows:1fr; align-items:start; gap:0; padding:1.25rem 1.35rem; border:1px solid #e3eaf2; border-radius:14px; box-shadow:0 3px 9px rgba(24,48,78,.025); }
.dashboard-stat-cards .stat-card > div { display:flex; flex-direction:column; align-items:flex-start; grid-column:1; grid-row:1; align-self:stretch; }
.dashboard-stat-cards .stat-card .stat-icon { grid-column:2; grid-row:1; width:40px; height:40px; border-radius:11px; font-size:1rem; }
.dashboard-stat-cards .stat-card .stat-label { color:#60758f; font-size:.84rem; }
.dashboard-stat-cards .stat-card .stat-value { font-size:1.8rem; line-height:1.25; margin:.45rem 0 .3rem; }
.dashboard-stat-cards .stat-card small { color:#91a0b4; font-size:.76rem; }
.stat-icon-orange { background:#fff3e5 !important; color:#ee9b28 !important; }
.stat-icon-purple { background:#f2eaff !important; color:#8c5bd7 !important; }
.stat-icon-green { background:#e4f7ee !important; color:#25a777 !important; }
.dashboard-activity { border-color:#e3eaf2; border-radius:14px; box-shadow:0 3px 9px rgba(24,48,78,.025); }
.activity-heading { display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:1.25rem 1.4rem 1rem; }
.activity-heading h3 { font-size:1.08rem; }
.activity-heading p { color:#8796aa; font-size:.82rem; margin-top:.15rem; }
.activity-link { font-weight:650; font-size:.9rem; white-space:nowrap; }
.dashboard-activity .table-header { border:0; }
.dashboard-activity .data-table th { background:#fff; color:#8291a5; font-size:.72rem; }
.dashboard-activity .data-table td { font-size:.86rem; }
.dashboard-activity .empty-state { border-top:1px solid #e8edf3; padding:2.1rem 1rem; font-size:.88rem; }
.activity-table-head { display:grid; grid-template-columns:repeat(4,1fr); padding:.8rem 1.4rem; color:#8492a6; font-size:.7rem; font-weight:700; border-bottom:1px solid #e6ebf2; }
.dashboard-shortcuts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; margin-top:1.25rem; }
.shortcut-card { position:relative; min-height:125px; display:flex; flex-direction:column; align-items:flex-start; padding:1.1rem 1.25rem; background:#fff; border:1px solid #e3eaf2; border-radius:14px; color:#14233a; box-shadow:0 3px 9px rgba(24,48,78,.025); }
.shortcut-card > span { color:#0875df; font-size:1.15rem; margin-bottom:.4rem; }
.shortcut-card b { font-size:.98rem; }
.shortcut-card small { color:#8190a4; font-size:.8rem; margin-top:.25rem; }
.shortcut-card i { position:absolute; right:1rem; top:1.05rem; color:#0875df; font-style:normal; }
.shortcut-card:hover { border-color:#b8d7fb; color:#14233a; transform:translateY(-1px); }
.table-scroll { width:100%; overflow-x:auto; }
@media (max-width:1100px) {
  .dashboard-stat-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:1024px) {
  .dash-layout { display:grid; grid-template-columns:1fr; }
  .dash-sidebar { min-height:0; height:auto; padding:.8rem 1rem; border-right:0; border-bottom:1px solid #e4ebf4; }
  .dash-sidebar .logo { padding:.1rem 0 .65rem; }
  .dashboard-brand { justify-content:flex-start; }
  .dashboard-logo { width:160px; }
  .dash-workspace, .dash-profile { display:none; }
  .dash-nav { flex-direction:row; gap:.25rem; overflow-x:auto; padding-bottom:.1rem; }
  .dash-nav a { flex:0 0 auto; white-space:nowrap; padding:.58rem .7rem; }
  .dash-main { padding:1.2rem 1.25rem 1.5rem; }
  .dash-topbar { margin:-1.2rem -1.25rem 1.4rem; padding:.75rem 1.25rem; }
}
@media (max-width:640px) {
  .dashboard-stat-cards { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.7rem; }
  .dashboard-stat-cards .stat-card { min-height:130px; padding:.95rem; grid-template-columns:minmax(0,1fr) 34px; }
  .dashboard-stat-cards .stat-card .stat-icon { width:34px; height:34px; }
  .dashboard-stat-cards .stat-card .stat-value { font-size:1.5rem; }
  .dash-welcome { align-items:flex-start; flex-direction:column; }
  .dash-welcome h2 { font-size:1.35rem; }
  .dashboard-shortcuts { grid-template-columns:1fr; }
  .activity-heading { align-items:flex-start; padding:1rem; }
  .dash-topbar { min-height:68px; }
  .dash-main { padding:1rem; }
  .dash-topbar { margin:-1rem -1rem 1.2rem; padding:.7rem 1rem; }
  .topbar-actions { gap:.4rem; }
}

/* SwayamHost dashboard header, profile menu and account controls */
.admin-topbar { justify-content:flex-end; }
.admin-topbar .topbar-spacer { flex:1; }
.admin-topbar .topbar-actions { gap:.9rem; }
.notification-button { position:relative; width:38px; height:38px; border:0; border-radius:50%; color:#61758f; background:transparent; font-size:1.1rem; cursor:pointer; }
.notification-button:hover { background:#f2f7fd; color:#1769c2; }
.notification-button span { position:absolute; width:7px; height:7px; right:8px; top:7px; border-radius:50%; background:#f34f63; border:1px solid #fff; }
.profile-menu { position:relative; }
.profile-menu summary { list-style:none; display:flex; align-items:center; gap:.55rem; cursor:pointer; user-select:none; color:#263b59; font-size:.88rem; font-weight:600; }
.profile-menu summary::-webkit-details-marker { display:none; }
.topbar-avatar { width:38px; height:38px; overflow:hidden; display:grid; place-items:center; border-radius:50%; background:#e3efff; border:1px solid #d6e6fa; }
.topbar-avatar img, .profile-dropdown-avatar img, .profile-avatar img, .profile-photo-preview img { width:100%; height:100%; object-fit:cover; }
.profile-chevron { color:#687d98; font-size:1rem; }
.profile-dropdown { position:absolute; z-index:50; right:0; top:calc(100% + 12px); width:min(320px,calc(100vw - 32px)); padding:.55rem; border:1px solid #dfE8f2; border-radius:14px; background:rgba(255,255,255,.94); box-shadow:0 18px 45px rgba(23,51,86,.18); backdrop-filter:blur(16px); }
.profile-dropdown-head { display:flex; align-items:center; gap:.7rem; padding:.75rem .65rem .9rem; border-bottom:1px solid #e8edf4; margin-bottom:.35rem; }
.profile-dropdown-avatar { width:46px; height:46px; flex:0 0 46px; overflow:hidden; display:grid; place-items:center; border-radius:50%; background:#e8f2ff; border:1px solid #dce9f7; }
.profile-dropdown-head strong, .profile-dropdown-head small { display:block; overflow-wrap:anywhere; }
.profile-dropdown-head strong { font-size:.9rem; color:#1b2a40; }
.profile-dropdown-head small { margin-top:.12rem; color:#71829a; font-size:.76rem; }
.profile-dropdown > a { display:flex; align-items:center; gap:.55rem; padding:.65rem .7rem; color:#3e5878; border-radius:9px; font-size:.86rem; }
.profile-dropdown > a:hover { background:#f1f7ff; color:#1269c5; }
.profile-dropdown > a.dropdown-logout { margin-top:.35rem; color:#c63848; background:rgba(239,68,68,.075); border:1px solid rgba(239,68,68,.16); backdrop-filter:blur(10px); font-weight:700; }
.profile-dropdown > a.dropdown-logout:hover { background:rgba(239,68,68,.14); }
.power-icon { display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; border-radius:8px; color:#d63e4f; background:rgba(255,255,255,.7); box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 2px 5px rgba(113,28,39,.08); font-size:1rem; }
.sidebar-logout { display:flex; align-items:center; gap:.7rem; margin:1.3rem .1rem .8rem; padding:.68rem .78rem; border:1px solid rgba(225,67,82,.22); border-radius:11px; color:#c5394a; font-size:.9rem; font-weight:700; background:rgba(255,245,246,.76); box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 4px 12px rgba(147,35,48,.06); backdrop-filter:blur(12px); transition:transform .16s,background .16s,box-shadow .16s; }
.sidebar-logout:hover { color:#ad2637; background:rgba(255,232,235,.9); box-shadow:inset 0 1px 0 #fff,0 8px 18px rgba(147,35,48,.12); transform:translateY(-1px); }
.dash-nav a[href*="logout.php"] { color:#c5394a; background:rgba(255,245,246,.76); border:1px solid rgba(225,67,82,.18); margin-top:.25rem; }
.dash-nav a[href*="logout.php"]:hover { color:#ad2637; background:rgba(255,232,235,.9); }
.welcome-date { display:flex; align-items:center; gap:.5rem; color:#71839b; font-size:.83rem; }
.admin-kpis .stat-card { min-height:142px; }
.admin-kpis .tone-blue { background:linear-gradient(145deg,#f1f7ff,#fff); border-color:#dceafe; }
.admin-kpis .tone-green { background:linear-gradient(145deg,#effbf8,#fff); border-color:#d8f1e9; }
.admin-kpis .tone-purple { background:linear-gradient(145deg,#f7f2ff,#fff); border-color:#eadfff; }
.admin-kpis .tone-orange { background:linear-gradient(145deg,#fff8eb,#fff); border-color:#f7e9ca; }
.admin-kpis .tone-blue .stat-icon { color:#1471df; background:#dfedff; }
.admin-kpis .tone-green .stat-icon { color:#0eaa86; background:#d8f7ed; }
.admin-kpis .tone-purple .stat-icon { color:#7951dc; background:#ece3ff; }
.admin-kpis .tone-orange .stat-icon { color:#d99100; background:#fff0cf; }
.service-portfolio-card { margin-bottom:1rem; }
.portfolio-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.75rem; padding:0 1rem 1rem; }
.portfolio-item { position:relative; min-height:95px; display:flex; align-items:center; gap:.7rem; padding:.8rem; border-radius:12px; color:#1e2f48; }
.portfolio-item:hover { color:#1e2f48; filter:brightness(.985); }
.portfolio-item.tone-blue { background:#eff6ff; }
.portfolio-item.tone-green { background:#eafaf5; }
.portfolio-item.tone-purple { background:#f3efff; }
.portfolio-item.tone-orange { background:#fff6e7; }
.portfolio-icon { width:42px; height:42px; flex:0 0 42px; display:grid; place-items:center; border-radius:11px; font-size:1.2rem; color:#1671dc; background:#dcecff; }
.tone-green .portfolio-icon { color:#11a386; background:#d5f6eb; }
.tone-purple .portfolio-icon { color:#7957da; background:#e8ddff; }
.tone-orange .portfolio-icon { color:#d78b00; background:#ffedc5; }
.portfolio-copy { display:flex; flex-direction:column; min-width:0; }
.portfolio-copy b { font-size:.82rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.portfolio-copy strong { font-size:1.25rem; line-height:1.25; margin-top:.12rem; }
.portfolio-copy small { color:#8593a7; font-size:.72rem; }
.portfolio-arrow { margin-left:auto; color:#3985dc; }
.admin-lower-grid { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr); gap:1rem; align-items:start; }
.client-details-card { min-width:0; }
.client-cell { display:flex; align-items:center; gap:.55rem; min-width:145px; }
.client-initial, .payment-client-avatar { width:34px; height:34px; flex:0 0 34px; display:grid; place-items:center; border-radius:50%; color:#2874cb; background:#e6f1ff; font-size:.8rem; font-weight:700; }
.client-cell b, .client-cell small { display:block; }
.client-cell b { color:#263952; font-size:.8rem; white-space:nowrap; }
.client-cell small { max-width:155px; overflow:hidden; text-overflow:ellipsis; color:#8a98aa; font-size:.69rem; white-space:nowrap; }
.service-chips { display:flex; flex-wrap:wrap; gap:.25rem; max-width:250px; }
.service-chip { display:inline-block; padding:.22rem .42rem; border-radius:7px; background:#eaf3ff; color:#276bb9; font-size:.68rem; white-space:nowrap; }
.muted-chip { background:#f1f4f8; color:#8492a4; }
.cell-subtext { display:block; color:#8997a9; font-size:.72rem; margin-top:.12rem; }
.status-pill { display:inline-flex; align-items:center; gap:.35rem; border-radius:99px; padding:.25rem .52rem; font-size:.7rem; font-weight:650; white-space:nowrap; }
.status-pill::before { content:''; width:7px; height:7px; border-radius:50%; background:currentColor; }
.status-pill.is-active { color:#11946a; background:#e2f8ee; }
.status-pill.is-pending { color:#bd7a00; background:#fff3d9; }
.today-payments-panel { min-width:0; display:flex; flex-direction:column; gap:.75rem; }
.today-payment-hero { padding:1rem; border-radius:14px; color:#fff; background:linear-gradient(120deg,#1672ea,#168ce6 58%,#08b99d); box-shadow:0 10px 24px rgba(19,121,206,.16); }
.payment-hero-title { display:flex; align-items:center; gap:.7rem; }
.payment-card-icon { width:40px; height:40px; display:grid; place-items:center; border-radius:11px; background:rgba(255,255,255,.18); font-size:1.15rem; }
.payment-hero-title b, .payment-hero-title small { display:block; }
.payment-hero-title b { font-size:.95rem; }
.payment-hero-title small { color:rgba(255,255,255,.8); font-size:.76rem; }
.payment-totals { display:grid; grid-template-columns:1fr 1fr; margin-top:1rem; }
.payment-totals > div { padding:.1rem .55rem; }
.payment-totals > div + div { border-left:1px solid rgba(255,255,255,.35); }
.payment-totals strong, .payment-totals small { display:block; }
.payment-totals strong { font-size:1.45rem; line-height:1.3; }
.payment-totals small { color:rgba(255,255,255,.88); font-size:.74rem; }
.recent-payments-card { background:#fff; border:1px solid #e3eaf2; border-radius:14px; overflow:hidden; }
.recent-payments-heading { display:flex; justify-content:space-between; align-items:center; padding:.85rem .9rem; border-bottom:1px solid #e9edf3; font-size:.84rem; }
.recent-payments-heading a { font-size:.75rem; font-weight:650; }
.payment-row { display:flex; align-items:center; gap:.55rem; padding:.65rem .8rem; border-bottom:1px solid #edf1f5; }
.payment-row:last-child { border-bottom:0; }
.payment-client-info { min-width:0; flex:1; }
.payment-client-info b, .payment-client-info small, .payment-amount b, .payment-amount small { display:block; }
.payment-client-info b { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#263952; font-size:.77rem; }
.payment-client-info small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#8997aa; font-size:.68rem; }
.payment-amount { text-align:right; white-space:nowrap; }
.payment-amount b { color:#167e59; font-size:.78rem; }
.payment-amount small { color:#8a98aa; font-size:.67rem; }
.payment-empty { padding:1.3rem .9rem; text-align:center; color:#8695a9; font-size:.8rem; }
.admin-profile-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; align-items:start; }
.profile-card { padding:1.2rem; scroll-margin-top:1rem; }
.profile-card-heading { margin-bottom:1rem; }
.profile-card-heading h2 { font-size:1.05rem; }
.profile-card-heading p { color:#7e8da1; font-size:.82rem; margin-top:.2rem; }
.profile-photo-preview { width:112px; height:112px; overflow:hidden; border:4px solid #edf4fc; border-radius:50%; margin:.2rem auto 1.1rem; background:#e4efff; }
.profile-form { display:flex; flex-direction:column; gap:.85rem; }
.profile-form .form-group { display:flex; flex-direction:column; gap:.35rem; color:#3e526e; font-size:.82rem; font-weight:600; }
.profile-form .form-group input { width:100%; }
.profile-form input[type=file] { background:#f8fbff; font-size:.8rem; }
.password-profile-card { grid-column:1 / -1; }
.profile-back-link { font-size:.85rem; font-weight:650; }
@media (max-width:1100px) {
  .admin-lower-grid { grid-template-columns:1fr; }
}
@media (max-width:760px) {
  .portfolio-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .admin-profile-grid { grid-template-columns:1fr; }
  .password-profile-card { grid-column:auto; }
}
@media (max-width:520px) {
  .topbar-admin-name { display:none; }
  .admin-topbar .topbar-actions { gap:.25rem; }
  .portfolio-grid { grid-template-columns:1fr; }
  .welcome-date { display:none; }
}
.dash-nav a[href*="logout.php"] { backdrop-filter:blur(12px); box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 4px 12px rgba(147,35,48,.06); }
.dash-nav a[href*="logout.php"]::before { content:"⏻"; display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; flex:0 0 24px; border-radius:8px; color:#d63e4f; background:rgba(255,255,255,.7); box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 2px 5px rgba(113,28,39,.08); }


/* Screenshot-matched SwayamHost admin dashboard — final layout pass */

body.admin-dashboard-page { background:#f1f6fd; color:#132449; }
body.admin-dashboard-page .dash-layout { grid-template-columns:268px minmax(0,1fr); min-height:100vh; }
body.admin-dashboard-page .dash-sidebar { position:sticky; top:0; height:100vh; overflow-y:auto; background:linear-gradient(180deg,#eaf3ff 0%,#f4f8ff 100%); border-right:1px solid #e2ebf8; padding:1rem 1rem .85rem; }
body.admin-dashboard-page .dash-sidebar .logo { padding:.25rem .25rem .55rem; }
body.admin-dashboard-page .dashboard-brand { justify-content:flex-start; }
body.admin-dashboard-page .dashboard-logo { width:100%; max-width:236px; }
body.admin-dashboard-page .dash-workspace { min-height:0; border:0; background:transparent; margin:.05rem .25rem 1.2rem; padding:0; color:#536b91; font-size:.8rem; }
body.admin-dashboard-page .dash-workspace .workspace-dot { display:none; }
body.admin-dashboard-page .dash-nav { gap:.34rem; }
body.admin-dashboard-page .dash-nav a { min-height:49px; padding:.72rem .82rem; gap:.84rem; font-size:.93rem; color:#344c75; border-radius:11px; }
body.admin-dashboard-page .dash-nav a.active { color:#0868d7; background:#dceaff; box-shadow:inset 0 0 0 1px rgba(74,139,226,.05); }
body.admin-dashboard-page .dash-nav .nav-icon { width:20px; color:#50698f; font-size:1.05rem; }
body.admin-dashboard-page .dash-nav a.active .nav-icon { color:#0873e8; }
body.admin-dashboard-page .dash-profile { padding:.9rem .25rem .1rem; }
body.admin-dashboard-page .dash-main { padding:1.2rem 1.35rem 1.5rem; background:#f1f6fd; }
body.admin-dashboard-page .dash-topbar { min-height:68px; margin:-1.2rem -1.35rem 1.1rem; padding:.55rem 1.35rem; border-color:#e5edf7; }
body.admin-dashboard-page .admin-search { height:40px; width:min(282px,34vw); display:flex; align-items:center; gap:.6rem; padding:0 .8rem; border:1px solid #dce6f3; border-radius:9px; background:#fff; color:#7185a4; box-shadow:0 1px 3px rgba(24,54,93,.025); }
body.admin-dashboard-page .admin-search svg { width:17px; height:17px; flex:0 0 17px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; }
body.admin-dashboard-page .admin-search input { min-width:0; width:100%; border:0; outline:0; background:transparent; color:#263c60; font:500 .76rem Inter,system-ui,sans-serif; }
body.admin-dashboard-page .admin-search input::placeholder { color:#8090aa; opacity:1; }
body.admin-dashboard-page .admin-search:focus-within { border-color:#93bdf1; box-shadow:0 0 0 3px rgba(50,130,230,.1); }
body.admin-dashboard-page .admin-topbar .topbar-actions { gap:.8rem; }
body.admin-dashboard-page .dash-welcome { margin:0 0 1rem; }
body.admin-dashboard-page .dash-welcome h2 { color:#101f43; font-size:1.7rem; letter-spacing:-.035em; }
body.admin-dashboard-page .dash-welcome p { color:#7486a5; font-size:.96rem; margin-top:.2rem; }
body.admin-dashboard-page .welcome-date { color:#7486a5; font-size:.78rem; }
body.admin-dashboard-page .dashboard-stat-cards { gap:.85rem; margin-bottom:1rem; }
body.admin-dashboard-page .dashboard-stat-cards .stat-card { position:relative; min-height:141px; grid-template-columns:60px minmax(0,1fr); align-items:center; gap:.85rem; padding:1rem; border-radius:13px; }
body.admin-dashboard-page .dashboard-stat-cards .stat-card > div { grid-column:2; grid-row:1; justify-content:center; padding-right:1.15rem; }
body.admin-dashboard-page .dashboard-stat-cards .stat-card .stat-icon { grid-column:1; grid-row:1; width:60px; height:60px; border-radius:14px; font-size:1.2rem; }
body.admin-dashboard-page .dashboard-stat-cards .stat-card::after { content:'›'; position:absolute; right:15px; top:50%; transform:translateY(-50%); width:27px; height:27px; display:grid; place-items:center; border-radius:50%; background:rgba(255,255,255,.88); color:#1681dc; font-size:1.35rem; font-weight:500; }
body.admin-dashboard-page .dashboard-stat-cards .stat-card .stat-label { color:#3f5277; font-size:.82rem; line-height:1.25; }
body.admin-dashboard-page .dashboard-stat-cards .stat-card .stat-value { color:#102047; font-size:1.8rem; margin:.28rem 0 .12rem; }
body.admin-dashboard-page .dashboard-stat-cards .stat-card small { color:#8292ad; font-size:.75rem; }
body.admin-dashboard-page .admin-kpis .tone-blue { background:linear-gradient(135deg,#edf5ff,#f9fbff); border-color:#d9e9fc; }
body.admin-dashboard-page .admin-kpis .tone-green { background:linear-gradient(135deg,#e9faf6,#f8fffd); border-color:#d3f1e8; }
body.admin-dashboard-page .admin-kpis .tone-purple { background:linear-gradient(135deg,#f4efff,#fcfaff); border-color:#e8ddfb; }
body.admin-dashboard-page .admin-kpis .tone-orange { background:linear-gradient(135deg,#fff6e6,#fffdf8); border-color:#f6e8c9; }
body.admin-dashboard-page .admin-kpis .tone-blue .stat-icon { color:#086de1; background:#d9eaff; }
body.admin-dashboard-page .admin-kpis .tone-green .stat-icon { color:#0cb489; background:#ccf5e9; }
body.admin-dashboard-page .admin-kpis .tone-purple .stat-icon { color:#7443de; background:#e8ddff; }
body.admin-dashboard-page .admin-kpis .tone-orange .stat-icon { color:#e59a00; background:#ffedc8; }
body.admin-dashboard-page .service-portfolio-card { border:1px solid #e4ebf4; border-radius:14px; background:#fff; box-shadow:0 4px 15px rgba(24,48,78,.035); margin-bottom:.9rem; }
body.admin-dashboard-page .service-portfolio-card .activity-heading { padding:.95rem 1rem .8rem; }
body.admin-dashboard-page .service-portfolio-card .activity-heading h3, body.admin-dashboard-page .client-details-card .activity-heading h3 { color:#142346; font-size:1.02rem; }
body.admin-dashboard-page .service-portfolio-card .activity-heading p, body.admin-dashboard-page .client-details-card .activity-heading p { color:#8292ad; font-size:.78rem; }
body.admin-dashboard-page .portfolio-grid { gap:.72rem; padding:0 .95rem .9rem; }
body.admin-dashboard-page .portfolio-item { min-height:106px; gap:.8rem; padding:.85rem 1rem; border-radius:11px; }
body.admin-dashboard-page .portfolio-icon { width:47px; height:47px; flex-basis:47px; border-radius:13px; font-size:1.25rem; }
body.admin-dashboard-page .portfolio-copy b { color:#344a72; font-size:.79rem; }
body.admin-dashboard-page .portfolio-copy strong { color:#132449; font-size:1.55rem; margin-top:.1rem; }
body.admin-dashboard-page .portfolio-copy small { color:#8393ad; font-size:.75rem; }
body.admin-dashboard-page .portfolio-arrow { width:27px; height:27px; display:grid; place-items:center; border-radius:50%; background:rgba(255,255,255,.85); font-size:1.1rem; }
body.admin-dashboard-page .admin-lower-grid { grid-template-columns:minmax(0,1.76fr) minmax(360px,1fr); gap:.95rem; }
body.admin-dashboard-page .client-details-card { background:#fff; border:1px solid #e4ebf4; border-radius:14px; box-shadow:0 4px 15px rgba(24,48,78,.035); overflow:hidden; }
body.admin-dashboard-page .client-details-card .activity-heading { padding:1rem 1rem .85rem; }
body.admin-dashboard-page .client-details-card .data-table { min-width:680px; }
body.admin-dashboard-page .client-details-card .data-table thead th { background:#f1f5fb; color:#7184a4; font-size:.75rem; font-weight:600; }
body.admin-dashboard-page .client-details-card .data-table td { padding:.58rem .65rem; border-bottom:1px solid #e8eef6; font-size:.78rem; }
body.admin-dashboard-page .client-initial, body.admin-dashboard-page .payment-client-avatar { width:40px; height:40px; flex-basis:40px; color:#2372cb; background:#e6f1ff; font-size:.78rem; }
body.admin-dashboard-page .client-cell { gap:.55rem; min-width:160px; }
body.admin-dashboard-page .client-cell b { color:#263958; font-size:.75rem; }
body.admin-dashboard-page .client-cell small { color:#8191ac; font-size:.68rem; }
body.admin-dashboard-page .service-chips { max-width:230px; }
body.admin-dashboard-page .service-chip { padding:.28rem .52rem; border-radius:99px; font-size:.66rem; }
body.admin-dashboard-page .cell-subtext { color:#8191ac; font-size:.69rem; }
body.admin-dashboard-page .status-pill { padding:.3rem .58rem; font-size:.68rem; }
body.admin-dashboard-page .today-payments-panel { gap:.75rem; }
body.admin-dashboard-page .today-payment-hero { min-height:145px; padding:1rem 1.1rem; border-radius:14px; background:linear-gradient(112deg,#1671ed 0%,#128fe0 58%,#09b6ad 100%); }
body.admin-dashboard-page .payment-card-icon { width:47px; height:47px; border-radius:12px; }
body.admin-dashboard-page .payment-hero-title b { font-size:1rem; }
body.admin-dashboard-page .payment-hero-title small { font-size:.78rem; }
body.admin-dashboard-page .payment-totals { margin-top:.75rem; }
body.admin-dashboard-page .payment-totals > div { padding:.05rem .75rem; }
body.admin-dashboard-page .payment-totals strong { font-size:1.65rem; }
body.admin-dashboard-page .payment-totals small { font-size:.76rem; }
body.admin-dashboard-page .recent-payments-card { border-color:#e4ebf4; border-radius:14px; box-shadow:0 4px 15px rgba(24,48,78,.035); }
body.admin-dashboard-page .recent-payments-heading { padding:.8rem .95rem; color:#142346; font-size:.86rem; }
body.admin-dashboard-page .payment-row { gap:.6rem; min-height:56px; padding:.5rem .8rem; }
body.admin-dashboard-page .payment-client-avatar { width:36px; height:36px; flex-basis:36px; }
body.admin-dashboard-page .payment-client-info b { color:#263958; font-size:.73rem; }
body.admin-dashboard-page .payment-client-info small { font-size:.66rem; }
body.admin-dashboard-page .payment-amount b { color:#172b4d; font-size:.72rem; }
body.admin-dashboard-page .payment-amount small { font-size:.65rem; }
@media (max-width:1200px) {
body.admin-dashboard-page .dash-layout { grid-template-columns:238px minmax(0,1fr); }
body.admin-dashboard-page .admin-lower-grid { grid-template-columns:minmax(0,1.4fr) minmax(310px,1fr); }
body.admin-dashboard-page .dashboard-stat-cards .stat-card { grid-template-columns:48px minmax(0,1fr); padding:.9rem; gap:.65rem; }
body.admin-dashboard-page .dashboard-stat-cards .stat-card .stat-icon { width:48px; height:48px; }
}
@media (max-width:1024px) {
body.admin-dashboard-page .dash-layout { grid-template-columns:1fr; }
body.admin-dashboard-page .dash-sidebar { position:relative; height:auto; min-height:0; }
body.admin-dashboard-page .admin-lower-grid { grid-template-columns:1fr; }
body.admin-dashboard-page .admin-search { width:min(282px,40vw); }
}
@media (max-width:640px) {
body.admin-dashboard-page .dash-main { padding:1rem; }
body.admin-dashboard-page .dash-topbar { margin:-1rem -1rem 1.2rem; padding:.65rem 1rem; }
body.admin-dashboard-page .admin-search { width:100%; max-width:220px; height:36px; padding:0 .55rem; }
body.admin-dashboard-page .admin-search input { font-size:.68rem; }
body.admin-dashboard-page .admin-topbar .topbar-actions { gap:.25rem; }
body.admin-dashboard-page .dashboard-stat-cards .stat-card { min-height:122px; grid-template-columns:38px minmax(0,1fr); padding:.75rem; gap:.55rem; }
body.admin-dashboard-page .dashboard-stat-cards .stat-card .stat-icon { width:38px; height:38px; border-radius:10px; font-size:.95rem; }
body.admin-dashboard-page .dashboard-stat-cards .stat-card .stat-value { font-size:1.35rem; }
body.admin-dashboard-page .dashboard-stat-cards .stat-card .stat-label { font-size:.72rem; }
body.admin-dashboard-page .dashboard-stat-cards .stat-card small { font-size:.66rem; }
body.admin-dashboard-page .dashboard-stat-cards .stat-card::after { right:8px; width:22px; height:22px; }
body.admin-dashboard-page .portfolio-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
body.admin-dashboard-page .portfolio-item { min-height:90px; padding:.65rem; }
body.admin-dashboard-page .portfolio-icon { width:36px; height:36px; flex-basis:36px; }
body.admin-dashboard-page .portfolio-copy strong { font-size:1.25rem; }
}
@media (max-width:420px) {
body.admin-dashboard-page .admin-search { max-width:155px; }
body.admin-dashboard-page .admin-search input::placeholder { color:transparent; }
body.admin-dashboard-page .portfolio-grid { grid-template-columns:1fr; }
}
body.admin-dashboard-page .notification-button { display:grid; place-items:center; }
body.admin-dashboard-page .notification-button svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
