/* M.R.Link — Profile Card Style (different layout) */
:root {
  --bg1: #070a12;
  --bg2: #0b111e;
  --card: rgba(11, 17, 30, 0.75);
  --card2: rgba(18, 26, 45, 0.6);
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #ff4d4d;
  --accent2: #00e5ff;
  --wa: #25d366;
  --ok: #22c55e;
  --no: #ef4444;
  --radius: 20px;
  --font: 'Outfit', 'Noto Sans Sinhala', system-ui, sans-serif;
  --max: 440px;
}

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

body {
  font-family: var(--font);
  background: var(--bg1);
  background-image: 
    radial-gradient(circle at 50% 12%, rgba(0, 229, 255, 0.12), transparent 45%),
    radial-gradient(circle at 50% 28%, rgba(255, 77, 77, 0.08), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(0, 229, 255, 0.04), transparent 40%);
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s;
}
#preloader.hide {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transition: opacity 0.4s ease, visibility 0.4s ease !important;
}
.loader-content {
  text-align: center;
  animation: pulseLogo 2s infinite ease-in-out;
}
.loader-logo {
  width: 90px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 20px var(--accent2));
}
.loader-title {
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -1px;
  background: linear-gradient(to right, #fff, var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2px;
}
.loader-subtitle {
  color: var(--accent);
  letter-spacing: 8px;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-left: 8px;
}
.loader-bar-container {
  width: 180px;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  margin: 20px auto 0;
  overflow: hidden;
  position: relative;
}
.loader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(to right, var(--accent), var(--accent2));
  box-shadow: 0 0 10px var(--accent2);
  animation: loadProgress 1.2s ease-in-out forwards;
}
@keyframes loadProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}
@keyframes pulseLogo {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.85; }
}

/* Page shell */
.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 16px 40px;
  position: relative;
  z-index: 1;
}

/* Profile card */
.profile-card {
  position: relative;
  background: var(--card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: 32px 24px 24px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  margin-bottom: 24px;
  animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.profile-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 77, 77, 0.4), rgba(0, 229, 255, 0.2), transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.admin-dot {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 229, 255, 0.2);
  color: #c4b5fd;
  cursor: pointer;
  font-size: 0.9rem;
}
/* Verified Badge */
.verified-badge-wrap {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}
.verified-badge {
  cursor: default !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #00e5ff;
  border: 1px solid rgba(0, 229, 255, 0.4);
  background: rgba(0, 229, 255, 0.08);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
  letter-spacing: 0.04em;
  text-transform: capitalize;
}
.verified-badge i {
  color: #00e5ff;
  font-size: 0.85rem;
}

/* Bulb Icon & Brand Typography */
.brand-bulb-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 8px;
  position: relative;
}

.hero-bulb-img {
  width: 140px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: normal !important;
  filter: none !important;
  animation: bulbFloat 3.5s ease-in-out infinite alternate;
}

@keyframes bulbFloat {
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(-6px) scale(1.04); }
}

/* Animated Running Gradient on M.R.LINK */
.brand-title {
  margin: 6px 0 0;
  line-height: 1.05;
  text-align: center;
}

.gradient-text-flow {
  font-size: 2.85rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
  background: linear-gradient(
    90deg,
    #00e5ff 0%,
    #e0f2fe 25%,
    #38bdf8 50%,
    #e0f2fe 75%,
    #00e5ff 100%
  );
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  display: inline-block;
  animation: flowGradient 8s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.45));
}

@keyframes flowGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* TECHNOLOGY Subtitle — Vivid Coral Red & Matched Horizontal Width */
.brand-sub-tech {
  color: #ff3333 !important;
  font-size: 1.05rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.52em !important;
  text-transform: uppercase !important;
  margin: 4px 0 14px 0.52em !important;
  text-align: center !important;
  display: block !important;
  text-shadow: 0 0 14px rgba(255, 51, 51, 0.8), 0 0 28px rgba(255, 51, 51, 0.4) !important;
  animation: pulseTech 2.5s ease-in-out infinite alternate !important;
}

@keyframes pulseTech {
  0% { opacity: 0.85; text-shadow: 0 0 10px rgba(255, 51, 51, 0.5); }
  100% { opacity: 1; text-shadow: 0 0 20px rgba(255, 51, 51, 0.9), 0 0 35px rgba(255, 51, 51, 0.4); }
}

/* Hero Slogan */
.hero-slogan {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #e2e8f0;
  margin: 8px auto 16px;
  line-height: 1.5;
  max-width: 100%;
  padding: 0 4px;
  word-break: break-word;
  overflow-wrap: break-word;
}
.hero-slogan .text-cyan {
  color: #00e5ff;
  font-weight: 800;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}
.hero-slogan .text-yellow {
  color: #fbbf24;
  font-weight: 800;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.5);
}

.status-wrap {
  margin: 10px 0 6px;
}
.status-chip {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(34, 197, 94, 0.15);
  color: var(--ok);
  border: 1px solid rgba(34, 197, 94, 0.35);
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.15);
}
.status-chip.closed {
  background: rgba(239, 68, 68, 0.15);
  color: var(--no);
  border-color: rgba(239, 68, 68, 0.35);
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.15);
}

.stat-pills {
  display: flex;
  gap: 10px;
  margin: 24px 0;
}
.pill {
  flex: 1;
  padding: 12px 8px;
  background: var(--card2);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: inset 0 2px 10px rgba(255,255,255,0.02);
  backdrop-filter: blur(10px);
}
.pill b {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
}
.pill small {
  font-size: 0.6rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
#statStatus.open b { color: var(--ok); }
#statStatus.closed b { color: var(--no); }

.action-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
}
.link-btn:active { transform: scale(0.98); }
.link-btn.wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}
.link-btn.call {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.15);
}
.link-btn.primary {
  background: linear-gradient(135deg, var(--accent), #ea580c);
  color: #fff;
}
.link-btn.ghost {
  background: var(--card2);
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.08);
}
.link-btn.full { width: 100%; }
.link-btn.sm {
  width: auto !important;
  max-width: fit-content;
  padding: 8px 14px;
  font-size: 0.8rem;
  gap: 6px;
  border-radius: 10px;
  white-space: nowrap;
}

/* Blocks */
.block {
  background: var(--card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius);
  padding: 24px 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  opacity: 0;
  animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.2s;
}
#reviews { animation-delay: 0.3s; }
#paymentSection { animation-delay: 0.4s; }
.block-title {
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.block-title i { color: var(--accent); }
.score-tag {
  margin-left: auto;
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  padding: 2px 10px;
  border-radius: 99px;
  font-size: 0.75rem;
}
.block-desc {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 4px 0 14px;
}
.block-subtitle {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 16px 0 10px;
  font-weight: 600;
}

/* Service rows — list style (different from grid) */
.service-list { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 12px; 
}
.service-list.compact {
  grid-template-columns: repeat(3, 1fr);
}
.service-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 16px;
  background: var(--card2);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.service-row:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255, 77, 77, 0.3);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.service-row.sm { 
  padding: 14px 10px; 
  align-items: center; 
  text-align: center;
}
.sr-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.sr-icon.blue { background: rgba(59,130,246,0.2); color: #60a5fa; }
.sr-icon.teal { background: rgba(20,184,166,0.2); color: #2dd4bf; }
.sr-icon.purple { background: rgba(0, 229, 255,0.2); color: #c084fc; }
.sr-icon.green { background: rgba(34,197,94,0.2); color: #4ade80; }
.sr-icon.cyan { background: rgba(6,182,212,0.2); color: #22d3ee; }
.sr-icon.pink { background: rgba(236,72,153,0.2); color: #f472b6; }
.sr-icon.amber { background: rgba(245,158,11,0.2); color: #fbbf24; }
.sr-text { flex: 1; min-width: 0; width: 100%; }
.service-row.sm .sr-text { width: auto; }
.sr-text strong { display: block; font-size: 0.95rem; font-weight: 700; }
.sr-text small { font-size: 0.72rem; color: var(--muted); margin-top: 2px; display: block; }
.sr-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 77, 77, 0.2);
  color: var(--accent);
}
.sr-arrow { display: none; }

/* Reviews */
.review-box {
  background: var(--card2);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
}
.stars {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 1.4rem;
  margin-bottom: 12px;
  cursor: pointer;
}
.stars i { color: #3f3f46; }
.stars i.active { color: #fbbf24; }
.field-in {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 8px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.25);
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
}
.field-in:focus { border-color: var(--accent); }
textarea.field-in { resize: vertical; min-height: 70px; }

.review-card {
  padding: 14px;
  border-radius: 12px;
  background: var(--card2);
  border: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 8px;
  animation: fadeInTracker 0.3s ease;
}
.review-card .r-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.review-card .r-name { font-weight: 600; font-size: 0.88rem; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.latest-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 229, 255, 0.12);
  color: var(--accent2);
  border: 1px solid rgba(0, 229, 255, 0.35);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
[data-theme="light"] .latest-review-badge {
  background: rgba(0, 102, 204, 0.1);
  color: var(--accent);
  border-color: rgba(0, 102, 204, 0.25);
}
.review-card.latest-card {
  border-color: rgba(0, 229, 255, 0.25);
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.04) 0%, var(--card2) 100%);
}
[data-theme="light"] .review-card.latest-card {
  border-color: rgba(0, 102, 204, 0.2);
  background: linear-gradient(180deg, rgba(0, 102, 204, 0.03) 0%, rgba(248, 250, 252, 0.95) 100%);
}
.review-card .r-stars { font-size: 0.65rem; color: #fbbf24; }
.review-card .r-date { font-size: 0.65rem; color: var(--muted); }
.review-card .r-body { font-size: 0.85rem; color: #d4d4d8; font-style: italic; }
.review-card .r-reply {
  margin-top: 10px;
  padding: 10px;
  border-left: 3px solid var(--accent2);
  background: rgba(0, 229, 255,0.08);
  font-size: 0.8rem;
}
.review-actions { display: none; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.admin-mode .review-actions { display: flex; }
.review-actions button {
  padding: 6px 10px;
  border: none;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  background: rgba(255,255,255,0.08);
  color: var(--text);
}
#seeMoreBtn {
  display: none;
  margin-top: 12px;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

/* Bank */
.bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  border: 1px dashed rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.06);
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  text-align: left;
}
.bank-row strong { display: block; font-size: 0.95rem; }
.bank-row span { color: #38bdf8; font-family: monospace; font-size: 0.85rem; }
.bank-row small { display: block; color: var(--muted); font-size: 0.72rem; margin-top: 4px; }
.bank-row i { color: #38bdf8; font-size: 1.1rem; }

/* Admin */
.admin-dashboard {
  display: none;
  background: var(--card);
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
  position: relative;
}
.admin-mode .admin-dashboard { display: block; }
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: var(--text);
  cursor: pointer;
  font-size: 1.1rem;
}
.admin-dashboard h2 { font-size: 0.9rem; margin-bottom: 12px; color: #c4b5fd; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tab-btn {
  padding: 6px 10px;
  border: none;
  border-radius: 8px;
  background: var(--card2);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.tab-btn.active { background: var(--accent2); color: #fff; }
.tab-content { display: none; }
.tab-content.active { display: block; }
.admin-note { font-size: 0.8rem; margin-bottom: 10px; }
.admin-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.admin-in, .admin-row-2 input {
  width: 100%;
  padding: 10px;
  margin-bottom: 8px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.2);
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
}
.day-grid { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.day-chip {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--card2);
  font-size: 0.75rem;
  cursor: pointer;
}
.req-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 8px;
  background: var(--card2);
  margin-bottom: 6px;
  font-size: 0.8rem;
}
.req-item.accepted { border-left: 3px solid var(--ok); }
.tool-btn { padding: 5px 8px; border: none; border-radius: 6px; cursor: pointer; font-size: 0.65rem; }
.tool-btn.done { background: var(--ok); color: #000; }
.tool-btn.del { background: rgba(239,68,68,0.2); color: var(--no); }
.admin-exp-row { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.admin-exp-row label { font-size: 0.68rem; color: var(--accent); display: block; margin-bottom: 4px; }
.admin-exp-grid { display: grid; grid-template-columns: 60px 1fr; gap: 6px; }
.admin-exp-grid input {
  padding: 8px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.2);
  color: var(--text);
  font-family: inherit;
  font-size: 0.78rem;
}
.admin-label {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin: 6px 0 4px;
  font-weight: 600;
}
.cloud-status-box {
  background: var(--card2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
  font-size: 0.8rem;
}
.cloud-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.cloud-badge.online {
  background: rgba(34, 197, 94, 0.2);
  color: var(--ok);
  border: 1px solid rgba(34, 197, 94, 0.4);
}
.cloud-badge.fallback {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.4);
}
.admin-help-text {
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.4;
}
.admin-help-text code {
  color: var(--accent2);
  background: rgba(0, 229, 255, 0.1);
  padding: 2px 4px;
  border-radius: 4px;
}
.empty-state { text-align: center; padding: 20px; color: var(--muted); font-size: 0.8rem; }

/* Modal — Dialog popup style on mobile & desktop */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 14, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 16px 14px;
  padding: max(16px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
}
.modal-overlay.active { display: flex; }
.modal-sheet {
  width: 100%;
  max-width: var(--max);
  max-height: calc(100dvh - 32px);
  max-height: min(88vh, calc(100dvh - 32px));
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background: #0d1322 !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 26px 20px 22px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 229, 255, 0.1);
  animation: modalPopupZoom 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-sheet.small { max-height: none; }
@keyframes modalPopupZoom {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: none;
  background: none;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
}
.modal-sheet h3 { font-size: 1.1rem; margin-bottom: 12px; text-align: center; }
.modal-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.modal-icon.cyan { background: rgba(56,189,248,0.15); color: #38bdf8; }
.modal-icon.green { background: rgba(37,211,102,0.15); color: var(--wa); }
.modal-icon.service { background: rgba(255, 77, 77,0.15); color: var(--accent); }
.modal-title { font-size: 1.15rem; font-weight: 700; text-align: center; }
.modal-sub { text-align: center; color: var(--muted); font-size: 0.85rem; margin: 6px 0 16px; }
.modal-phone { text-align: center; font-size: 1.35rem; font-weight: 800; margin-bottom: 16px; }
.modal-fields { text-align: left; }
.modal-fields label { font-size: 0.7rem; color: var(--muted); display: block; margin-bottom: 4px; }
.modal-fields input {
  width: 100%;
  padding: 11px;
  margin-bottom: 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.2);
  color: var(--text);
  font-family: inherit;
}
.tag-wrap { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 12px 0; }
.selectable-tag {
  padding: 6px 12px;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.75rem;
  cursor: pointer;
  background: var(--card2);
}
.selectable-tag.selected { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 600; }

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(50px);
  padding: 12px 20px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 3000;
  opacity: 0;
  transition: all 0.3s;
  pointer-events: none;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.page-foot {
  text-align: center;
  padding: 20px 0 10px;
  color: var(--muted);
  font-size: 0.72rem;
}
.foot-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}
.foot-socials a {
  color: var(--muted);
  font-size: 1.1rem;
  transition: color 0.2s;
}
.foot-socials a:hover {
  color: var(--accent);
}
.foot-slogan { margin-top: 4px; color: var(--accent); font-size: 0.68rem; }

@media (min-width: 480px) {
  .modal-overlay { padding: 20px; }
  .modal-sheet { border-radius: 24px; max-height: 84vh; }
}

/* Animations */
@keyframes slideUpFade {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

/* Floating Contact Button (Auto-hidden when Hero Action Stack is visible) */
.fab-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px) scale(0.88);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.fab-container.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.fab-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}

.fab-btn:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.fab-btn.wa {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.fab-btn.call {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
}

/* Visit Counter Card in Admin Panel */
.visit-counter-card {
  background: rgba(59, 130, 246, 0.12);
  padding: 14px;
  border-radius: 14px;
  margin-bottom: 14px;
  font-weight: 600;
  text-align: center;
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #f8fafc;
  font-size: 0.9rem;
}
.visit-counter-card i {
  color: var(--accent2);
  margin-right: 6px;
}
.visit-counter-card strong {
  color: #fff;
  font-size: 1.15rem;
  margin-left: 4px;
}

/* Footer Logo */
.footer-logo {
  width: 48px;
  margin: 0 auto 10px;
  display: block;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.5));
}

/* Hero Slogan Clickable Style */
.hero-slogan {
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s;
}
.hero-slogan:hover {
  transform: scale(1.03);
}

/* Magic Animation Overlay */
#magicOverlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99999;
  display: none;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(0, 229, 255, 0.15) 0%, rgba(7, 10, 18, 0.6) 80%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent2), 0 0 30px var(--accent2), 0 0 45px var(--accent);
  opacity: 0;
  animation: floatUp 3.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes floatUp {
  0% { transform: translateY(100vh) scale(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(-10vh) scale(2.2) rotate(360deg); opacity: 0; }
}
.glow-text-anim {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 30px var(--accent2), 0 0 60px var(--accent);
  opacity: 0;
  white-space: nowrap;
  animation: textPop 4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  text-transform: uppercase;
  letter-spacing: 4px;
  text-align: center;
  padding: 0 20px;
}
@media (max-width: 480px) {
  .glow-text-anim {
    font-size: 1.25rem;
    letter-spacing: 2px;
  }
}
@keyframes textPop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); filter: blur(10px); }
  20% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); filter: blur(0); }
  80% { opacity: 1; transform: translate(-50%, -50%) scale(1); filter: blur(0); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.1); filter: blur(10px); }
}

/* Google Protected Bank Payment Styles */
.bank-locked-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1px dashed rgba(56, 189, 248, 0.35);
  border-radius: 16px;
  padding: 24px 18px;
  text-align: center;
  backdrop-filter: blur(10px);
}
.lock-icon-wrap {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}
.bank-locked-box h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.bank-lock-desc {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 18px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.google-auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 300px;
  padding: 13px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #ffffff;
  color: #1e293b;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}
.google-auth-btn:hover {
  transform: translateY(-2px);
  background: #f8fafc;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}
.google-auth-btn i {
  color: #ea4335;
  font-size: 1.1rem;
}
.auth-user-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 12px;
  padding: 8px 14px;
  margin-bottom: 10px;
}
.user-pill-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.user-avatar-sm {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #38bdf8;
  object-fit: cover;
}
#bankUserName {
  font-size: 0.82rem;
  font-weight: 600;
  color: #f1f5f9;
}
.signout-link-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s;
}
.signout-link-btn:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}


/* --- Top Navigation Bar & Language Switcher --- */
.top-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  width: 100%;
}

.lang-switch-pill {
  display: inline-flex;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 30px;
  padding: 3px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--accent2), #3b82f6);
  color: #070a12;
  box-shadow: 0 2px 10px rgba(0, 229, 255, 0.4);
}

.pwa-install-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(59, 130, 246, 0.2));
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: var(--accent2);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 30px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 229, 255, 0.15);
}

.pwa-install-btn:hover {
  background: linear-gradient(135deg, var(--accent2), #3b82f6);
  color: #070a12;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.35);
}

/* Hide Install App button when running as an installed standalone PWA app */
@media all and (display-mode: standalone),
       all and (display-mode: fullscreen),
       all and (display-mode: minimal-ui) {
  #pwaInstallBtn,
  .pwa-install-btn {
    display: none !important;
  }
}

.is-pwa-standalone #pwaInstallBtn,
.is-pwa-standalone .pwa-install-btn {
  display: none !important;
}

/* ==========================================================================
   OFFLINE MODE — MUTED / GRAY BUTTON STYLES & INTERACTION
   ========================================================================== */
.app-is-offline .link-btn.wa,
.app-is-offline .fab-btn.wa,
.app-is-offline #sendInquiryBtn,
.app-is-offline #submitReviewBtn,
.app-is-offline #calcRequestQuoteBtn,
.app-is-offline #trackSearchBtn,
.app-is-offline #openAuthModalBtn,
.app-is-offline #sendOtpActionBtn,
.app-is-offline #submitRegBtn,
.app-is-offline .academy-enroll-btn,
.app-is-offline [data-requires-online="true"],
.btn-offline-disabled {
  background: #334155 !important;
  background-image: none !important;
  color: #94a3b8 !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  cursor: pointer !important;
  filter: grayscale(1) !important;
  opacity: 0.75 !important;
  transition: all 0.25s ease !important;
}

.app-is-offline .link-btn.wa:hover,
.app-is-offline .fab-btn.wa:hover,
.app-is-offline #sendInquiryBtn:hover,
.app-is-offline #submitReviewBtn:hover,
.app-is-offline #calcRequestQuoteBtn:hover,
.app-is-offline #trackSearchBtn:hover,
.app-is-offline #openAuthModalBtn:hover,
.app-is-offline #sendOtpActionBtn:hover,
.app-is-offline #submitRegBtn:hover,
.app-is-offline .academy-enroll-btn:hover,
.app-is-offline [data-requires-online="true"]:hover {
  background: #3e4f66 !important;
  color: #cbd5e1 !important;
  transform: none !important;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4) !important;
}

.app-is-offline .link-btn.wa i,
.app-is-offline .fab-btn.wa i,
.app-is-offline #sendInquiryBtn i,
.app-is-offline #submitReviewBtn i,
.app-is-offline #calcRequestQuoteBtn i,
.app-is-offline #trackSearchBtn i,
.app-is-offline #openAuthModalBtn i,
.app-is-offline #sendOtpActionBtn i,
.app-is-offline #submitRegBtn i,
.app-is-offline .academy-enroll-btn i,
.app-is-offline [data-requires-online="true"] i {
  color: #94a3b8 !important;
}

[data-theme="light"].app-is-offline .link-btn.wa,
[data-theme="light"].app-is-offline .fab-btn.wa,
[data-theme="light"].app-is-offline #sendInquiryBtn,
[data-theme="light"].app-is-offline #submitReviewBtn,
[data-theme="light"].app-is-offline #calcRequestQuoteBtn,
[data-theme="light"].app-is-offline #trackSearchBtn,
[data-theme="light"].app-is-offline #openAuthModalBtn,
[data-theme="light"].app-is-offline #sendOtpActionBtn,
[data-theme="light"].app-is-offline #submitRegBtn,
[data-theme="light"].app-is-offline .academy-enroll-btn,
[data-theme="light"].app-is-offline [data-requires-online="true"],
[data-theme="light"] .btn-offline-disabled {
  background: #e2e8f0 !important;
  background-image: none !important;
  color: #64748b !important;
  border-color: #cbd5e1 !important;
  box-shadow: none !important;
}

[data-theme="light"].app-is-offline .link-btn.wa i,
[data-theme="light"].app-is-offline .fab-btn.wa i,
[data-theme="light"].app-is-offline #sendInquiryBtn i,
[data-theme="light"].app-is-offline #submitReviewBtn i,
[data-theme="light"].app-is-offline #calcRequestQuoteBtn i,
[data-theme="light"].app-is-offline #trackSearchBtn i,
[data-theme="light"].app-is-offline #openAuthModalBtn i,
[data-theme="light"].app-is-offline #sendOtpActionBtn i,
[data-theme="light"].app-is-offline #submitRegBtn i,
[data-theme="light"].app-is-offline .academy-enroll-btn i,
[data-theme="light"].app-is-offline [data-requires-online="true"] i {
  color: #64748b !important;
}

@keyframes buttonShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}
.shake-btn {
  animation: buttonShake 0.35s ease !important;
}

/* --- Real-Time Service Request Tracking Section --- */
.tracker-box {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px;
  backdrop-filter: blur(16px);
}

.tracker-search-row {
  display: flex;
  gap: 8px;
}

.tracker-field {
  flex: 1;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 14px;
  color: #fff;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s;
}

.tracker-field:focus {
  border-color: var(--accent2);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
}

.tracker-btn {
  padding: 0 18px;
  white-space: nowrap;
  font-size: 0.82rem;
  border-radius: 12px;
}

.tracker-result {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  animation: fadeInTracker 0.3s ease;
}

@keyframes fadeInTracker {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.tracker-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.tracking-code-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--accent2);
  font-family: monospace;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  letter-spacing: 0.5px;
}

.copy-mini-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 2px 4px;
  transition: color 0.2s;
}

.copy-mini-btn:hover {
  color: #fff;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
}

.status-badge.pending {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.status-badge.reviewing {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.status-badge.in-progress {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.status-badge.completed {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge.cancelled {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Stepper Timeline */
.stepper-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 24px 8px 16px;
}

.stepper-timeline::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 1;
}

.stepper-timeline-progress {
  position: absolute;
  top: 14px;
  left: 14px;
  height: 3px;
  background: linear-gradient(to right, var(--accent2), #3b82f6);
  z-index: 2;
  transition: width 0.4s ease;
  box-shadow: 0 0 10px var(--accent2);
}

.step-item {
  position: relative;
  z-index: 3;
  text-align: center;
  flex: 1;
}

.step-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #0f172a;
  border: 2px solid rgba(255, 255, 255, 0.15);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  margin: 0 auto 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-item.active .step-dot {
  background: var(--accent2);
  border-color: #fff;
  color: #070a12;
  box-shadow: 0 0 16px var(--accent2);
  transform: scale(1.15);
}

.step-item.done .step-dot {
  background: var(--ok);
  border-color: var(--ok);
  color: #fff;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

.step-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.2;
  display: block;
}

.step-item.active .step-label {
  color: var(--accent2);
  font-weight: 700;
}

.step-item.done .step-label {
  color: #f1f5f9;
}

/* Service Detail Cards */
.tracker-meta-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px;
  margin-top: 14px;
  font-size: 0.8rem;
}

.tracker-meta-row {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  color: var(--muted);
}

.tracker-meta-row strong {
  color: #f8fafc;
}

.tech-notes-card {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 12px;
  padding: 10px 14px;
  margin-top: 10px;
  font-size: 0.78rem;
  color: #bae6fd;
}

.tech-notes-card strong {
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}


/* Fixed Tracker Search Box Layout */
.tracker-box {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px;
  backdrop-filter: blur(16px);
}

.tracker-search-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 10px !important;
  width: 100% !important;
}

.tracker-field {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  background: rgba(15, 23, 42, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  color: #fff !important;
  font-size: 0.85rem !important;
  outline: none !important;
  box-sizing: border-box !important;
}

.tracker-field:focus {
  border-color: var(--accent2) !important;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.2) !important;
}

.tracker-btn {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 110px !important;
  padding: 0 20px !important;
  white-space: nowrap !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin: 0 !important;
}


/* ==========================================================================
   🌙 DARK / ☀️ LIGHT MODE THEME ENGINE & TOGGLE STYLES
   ========================================================================== */

/* Top Navigation Bar Layout with Theme Switcher */
.top-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.top-nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: #fbbf24;
  font-size: 1rem;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.theme-toggle-btn:hover {
  transform: rotate(20deg) scale(1.08);
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.4);
  border-color: #fbbf24;
}

.theme-toggle-btn:active {
  transform: scale(0.95);
}

/* --------------------------------------------------------------------------
   ☀️ LIGHT MODE COLOR PALETTE & COMPONENT OVERRIDES
   -------------------------------------------------------------------------- */
[data-theme="light"] {
  --bg1: #f8fafc;
  --bg2: #edf2f7;
  --card: rgba(255, 255, 255, 0.88);
  --card2: rgba(241, 245, 249, 0.95);
  --text: #0f172a;
  --muted: #64748b;
  --border: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] body,
html[data-theme="light"] body {
  background: var(--bg1);
  background-image: 
    radial-gradient(circle at 50% 12%, rgba(0, 180, 216, 0.14), transparent 45%),
    radial-gradient(circle at 50% 28%, rgba(239, 68, 68, 0.08), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.06), transparent 40%);
  color: #0f172a;
}

[data-theme="light"] .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.9);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .theme-toggle-btn:hover {
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.4);
  border-color: #3b82f6;
}

[data-theme="light"] .lang-switch-pill {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .lang-btn {
  color: #64748b;
}

[data-theme="light"] .lang-btn.active {
  background: linear-gradient(135deg, #0284c7, #00b4d8);
  color: #ffffff;
}

[data-theme="light"] .pwa-install-btn {
  background: rgba(255, 255, 255, 0.9);
  color: #0284c7;
  border-color: rgba(2, 132, 199, 0.3);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .profile-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .hero-bulb-img {
  mix-blend-mode: normal !important;
  filter: none !important;
  opacity: 1 !important;
}

/* obsolete light gradient removed in favor of tail override */

[data-theme="light"] .brand-sub-tech {
  color: #dc2626 !important;
  font-size: 1.05rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.52em !important;
  margin: 4px 0 14px 0.52em !important;
  text-shadow: none !important;
  animation: none !important;
}

[data-theme="light"] .hero-slogan {
  color: #334155;
}

[data-theme="light"] .verified-badge {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.35);
  color: #0284c7;
}

[data-theme="light"] .verified-badge i {
  color: #0284c7;
}

[data-theme="light"] .stat-pills .pill {
  background: rgba(241, 245, 249, 0.95);
  border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .stat-pills .pill b {
  color: #0f172a;
}

[data-theme="light"] .stat-pills .pill small {
  color: #64748b;
}

[data-theme="light"] .link-btn.call {
  background: rgba(241, 245, 249, 0.9);
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .block-title {
  color: #0f172a;
}

[data-theme="light"] .block-desc,
[data-theme="light"] .block-subtitle {
  color: #64748b;
}

[data-theme="light"] .service-row {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(15, 23, 42, 0.08);
  color: #0f172a;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .service-row:hover {
  background: #ffffff;
  border-color: #00b4d8;
  box-shadow: 0 8px 24px rgba(0, 180, 216, 0.15);
}

[data-theme="light"] .service-row strong {
  color: #0f172a;
}

[data-theme="light"] .service-row small {
  color: #64748b;
}

[data-theme="light"] .sr-arrow {
  color: #94a3b8;
}

[data-theme="light"] .review-box,
[data-theme="light"] .tracker-box,
[data-theme="light"] .bank-locked-box,
[data-theme="light"] .modal-sheet {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .field-in,
[data-theme="light"] .tracker-field,
[data-theme="light"] .modal-fields input,
[data-theme="light"] .modal-fields textarea {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: rgba(15, 23, 42, 0.14) !important;
}

[data-theme="light"] .field-in::placeholder,
[data-theme="light"] .tracker-field::placeholder,
[data-theme="light"] .modal-fields input::placeholder,
[data-theme="light"] .modal-fields textarea::placeholder {
  color: #94a3b8 !important;
}

[data-theme="light"] .review-card {
  background: rgba(248, 250, 252, 0.95);
  border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .review-card .r-name {
  color: #0f172a;
}

[data-theme="light"] .review-card .r-body {
  color: #334155;
}

[data-theme="light"] .review-card .r-date {
  color: #64748b;
}

[data-theme="light"] .link-btn.ghost {
  background: rgba(241, 245, 249, 0.9);
  color: #475569;
  border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .tracker-meta-card {
  background: rgba(241, 245, 249, 0.85);
  border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .tracker-meta-row {
  color: #64748b;
}

[data-theme="light"] .tracker-meta-row strong {
  color: #0f172a;
}

[data-theme="light"] .tracker-meta-row p {
  color: #1e293b !important;
}

[data-theme="light"] .step-dot {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.15);
  color: #64748b;
}

[data-theme="light"] .step-item.active .step-dot {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(2, 132, 199, 0.4);
}

[data-theme="light"] .step-item.done .step-dot {
  background: #22c55e;
  color: #ffffff;
}

[data-theme="light"] .step-label {
  color: #64748b;
}

[data-theme="light"] .step-item.active .step-label {
  color: #0284c7;
}

[data-theme="light"] .step-item.done .step-label {
  color: #15803d;
}

[data-theme="light"] .tag-wrap .selectable-tag {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.12);
  color: #334155;
}

[data-theme="light"] .tag-wrap .selectable-tag.selected {
  background: rgba(2, 132, 199, 0.12);
  border-color: #0284c7;
  color: #0284c7;
}

[data-theme="light"] .bank-locked-box h3 {
  color: #0f172a;
}

[data-theme="light"] .bank-row {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  color: #0f172a;
}

[data-theme="light"] .bank-row strong {
  color: #0f172a;
}

[data-theme="light"] .modal-sheet {
  color: #0f172a;
}

[data-theme="light"] .modal-title {
  color: #0f172a;
}

[data-theme="light"] .modal-sub {
  color: #64748b;
}

[data-theme="light"] .modal-fields label {
  color: #334155;
}

[data-theme="light"] .modal-close {
  color: #64748b;
}

[data-theme="light"] .page-foot p {
  color: #64748b;
}


/* --- Enhanced Light Mode Polish & High Contrast Typography --- */
[data-theme="light"] .hero-bulb-img {
  mix-blend-mode: normal !important;
  filter: none !important;
  opacity: 1 !important;
}

[data-theme="light"] .gradient-text-flow {
  background: linear-gradient(135deg, #0077b6 0%, #0096c7 35%, #00b4d8 65%, #0284c7 100%) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  filter: drop-shadow(0 2px 8px rgba(0, 119, 182, 0.2)) !important;
  animation: flowGradient 8s ease-in-out infinite !important;
}

[data-theme="light"] .brand-sub-tech {
  color: #dc2626 !important;
  font-size: 1.05rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.52em !important;
  margin: 4px 0 14px 0.52em !important;
  text-shadow: none !important;
  animation: none !important;
}

[data-theme="light"] .hero-slogan {
  color: #1e293b !important;
  padding: 0 4px !important;
}

[data-theme="light"] .hero-slogan .text-cyan {
  color: #0284c7 !important;
  font-weight: 800 !important;
  text-shadow: none !important;
}

[data-theme="light"] .hero-slogan .text-yellow {
  color: #d97706 !important;
  font-weight: 800 !important;
  text-shadow: none !important;
}

[data-theme="light"] .verified-badge {
  background: rgba(2, 132, 199, 0.08) !important;
  border: 1.5px solid rgba(2, 132, 199, 0.35) !important;
  color: #0284c7 !important;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.1) !important;
}

[data-theme="light"] .verified-badge i {
  color: #0284c7 !important;
}

[data-theme="light"] .status-chip {
  background: rgba(34, 197, 94, 0.14) !important;
  border: 1px solid rgba(34, 197, 94, 0.4) !important;
  color: #15803d !important;
  font-weight: 700 !important;
}

[data-theme="light"] .status-chip.closed {
  background: rgba(239, 68, 68, 0.12) !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  color: #b91c1c !important;
}

[data-theme="light"] .stat-pills .pill {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .stat-pills .pill b {
  color: #0f172a !important;
}

[data-theme="light"] .stat-pills .pill.open b {
  color: #16a34a !important;
}

[data-theme="light"] .stat-pills .pill.closed b {
  color: #dc2626 !important;
}

[data-theme="light"] .stat-pills .pill small {
  color: #64748b !important;
  font-weight: 600 !important;
}

/* Customer Modal Helper Buttons */
.google-quick-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: #f1f5f9;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.google-quick-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.modal-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
}

[data-theme="light"] .google-quick-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0f172a;
}

[data-theme="light"] .google-quick-btn:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
}

[data-theme="light"] .modal-secondary-btn {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #475569;
}

[data-theme="light"] .modal-secondary-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}


/* --- Tracking ID Display Card in Submission Modal --- */
.tracking-id-display-card {
  background: rgba(0, 229, 255, 0.08) !important;
  border: 1.5px solid rgba(0, 229, 255, 0.35) !important;
  border-radius: 18px !important;
  padding: 16px 20px !important;
  margin: 18px 0 !important;
  text-align: center !important;
  box-shadow: 0 8px 25px rgba(0, 229, 255, 0.1) !important;
}

.tracking-sub-label {
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  color: #94a3b8 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.2px !important;
  display: block !important;
  margin-bottom: 8px !important;
}

.tracking-code-row {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
}

.tracking-code-val {
  font-size: 1.65rem !important;
  font-family: 'Outfit', monospace !important;
  font-weight: 800 !important;
  color: #00e5ff !important;
  letter-spacing: 2px !important;
  text-shadow: 0 0 14px rgba(0, 229, 255, 0.45) !important;
}

.copy-tracking-pill-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 7px 14px !important;
  border-radius: 99px !important;
  background: rgba(0, 229, 255, 0.15) !important;
  border: 1px solid rgba(0, 229, 255, 0.35) !important;
  color: #00e5ff !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  font-family: inherit !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.copy-tracking-pill-btn:hover {
  background: #00e5ff !important;
  color: #070a12 !important;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.4) !important;
  transform: translateY(-1px) !important;
}

[data-theme="light"] .tracking-id-display-card {
  background: rgba(2, 132, 199, 0.06) !important;
  border-color: rgba(2, 132, 199, 0.25) !important;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.08) !important;
}

[data-theme="light"] .tracking-code-val {
  color: #0284c7 !important;
  text-shadow: none !important;
}

[data-theme="light"] .copy-tracking-pill-btn {
  background: rgba(2, 132, 199, 0.12) !important;
  border-color: rgba(2, 132, 199, 0.3) !important;
  color: #0284c7 !important;
}

[data-theme="light"] .copy-tracking-pill-btn:hover {
  background: #0284c7 !important;
  color: #ffffff !important;
}






/* ==========================================================================
   NATIVE APP STYLE FIXED GLASSMORPHIC MOBILE BOTTOM NAVIGATION DOCK
   ========================================================================== */
.mobile-bottom-dock {
  position: fixed !important;
  bottom: 14px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: calc(100% - 24px) !important;
  max-width: 440px !important;
  height: 64px !important;
  background: rgba(11, 17, 33, 0.88) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border: 1px solid rgba(0, 229, 255, 0.28) !important;
  border-radius: 24px !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.65), 0 0 20px rgba(0, 229, 255, 0.15) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-around !important;
  z-index: 99990 !important;
  padding: 4px 6px max(4px, env(safe-area-inset-bottom)) 6px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  animation: slideUpDock 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
}

[data-theme="light"] .mobile-bottom-dock {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(14, 165, 233, 0.35) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12), 0 0 25px rgba(14, 165, 233, 0.18) !important;
}

@keyframes slideUpDock {
  0% {
    transform: translate(-50%, 40px) scale(0.92);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, 0) scale(1);
    opacity: 1;
  }
}

.dock-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  flex: 1 !important;
  height: 100% !important;
  background: transparent !important;
  border: none !important;
  color: #94a3b8 !important;
  font-family: inherit !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border-radius: 14px !important;
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent !important;
  padding: 0 !important;
}

[data-theme="light"] .dock-item {
  color: #64748b !important;
}

.dock-icon-wrap {
  font-size: 1.15rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  transition: transform 0.2s ease, color 0.2s ease, filter 0.2s ease !important;
}

.dock-item:active {
  transform: scale(0.88) !important;
}

.dock-item.active {
  color: #00e5ff !important;
}

[data-theme="light"] .dock-item.active {
  color: #0284c7 !important;
}

.dock-item.active .dock-icon-wrap {
  color: #00e5ff !important;
  transform: translateY(-2px) !important;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.85)) !important;
}

[data-theme="light"] .dock-item.active .dock-icon-wrap {
  color: #0284c7 !important;
  filter: drop-shadow(0 0 8px rgba(14, 165, 233, 0.5)) !important;
}

/* Center Highlighted Tracker Item */
.dock-item-highlight .highlight-bubble {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #00e5ff, #0284c7) !important;
  color: #070a12 !important;
  box-shadow: 0 4px 18px rgba(0, 229, 255, 0.6) !important;
  font-size: 1.1rem !important;
  margin-top: -10px !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.dock-item-highlight.active .highlight-bubble {
  box-shadow: 0 6px 22px rgba(0, 229, 255, 0.9), 0 0 12px #00e5ff !important;
  transform: translateY(-2px) scale(1.05) !important;
}

.dock-item-highlight:active .highlight-bubble {
  transform: scale(0.9) !important;
}

/* Responsive Padding for Dock on Mobile */
@media (max-width: 768px) {
  .main-wrap, body {
    padding-bottom: 95px !important;
  }
  .fab-container {
    bottom: 88px !important;
    right: 16px !important;
  }
  .fab-btn {
    width: 48px !important;
    height: 48px !important;
    font-size: 1.25rem !important;
  }
}

/* Cost Estimator Calculator Modal Elements */
.calc-option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 12px 0 16px;
}

/* ==========================================================================
   MODERN INSTANT COST ESTIMATOR CALCULATOR STYLES
   ========================================================================== */
.calc-modal-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 12px;
  text-align: left;
}

.calc-header-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(14, 165, 233, 0.08));
  border: 1px solid rgba(0, 229, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00e5ff;
  font-size: 1.35rem;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.2);
  flex-shrink: 0;
}

.calc-header-text {
  flex: 1;
}

.calc-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.calc-pulse-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #00e5ff;
  background: rgba(0, 229, 255, 0.1);
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 255, 0.25);
}

.calc-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 8px #00e5ff;
  animation: calcDotPulse 1.6s infinite ease-in-out;
}

@keyframes calcDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

.calc-currency-tag {
  font-size: 0.66rem;
  color: #94a3b8;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 7px;
  border-radius: 6px;
}

/* Step Headers */
.calc-section-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 8px;
  text-align: left;
}

.calc-step-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00e5ff, #0284c7);
  color: #0d1322;
  font-size: 0.68rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.calc-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #94a3b8;
  text-transform: uppercase;
}

/* Step 1: Services Grid */
.calc-services-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 7px !important;
  margin-bottom: 10px !important;
}

.calc-svc-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 4px 8px;
  background: rgba(255, 255, 255, 0.035);
  border: 1.5px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
  user-select: none;
}

.calc-svc-tile:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.calc-svc-tile.active {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.16), rgba(15, 23, 42, 0.85));
  border-color: #00e5ff;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.3), inset 0 0 10px rgba(0, 229, 255, 0.08);
  transform: translateY(-2px);
}

.calc-svc-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color, #00e5ff);
  font-size: 1.05rem;
  margin-bottom: 5px;
  transition: all 0.22s ease;
}

.calc-svc-tile.active .calc-svc-icon {
  background: var(--accent-color, #00e5ff);
  color: #0f172a;
  box-shadow: 0 0 12px var(--accent-color, #00e5ff);
}

.calc-svc-name {
  font-size: 0.74rem;
  font-weight: 600;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.calc-svc-tile.active .calc-svc-name {
  color: #ffffff;
  font-weight: 700;
}

/* Step 2: Packages List */
.calc-packages-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.calc-pkg-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.035);
  border: 1.5px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  position: relative;
  user-select: none;
}

.calc-pkg-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(3px);
}

.calc-pkg-card.active {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(15, 23, 42, 0.88));
  border-color: #00e5ff;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.2), inset 0 0 10px rgba(0, 229, 255, 0.06);
  transform: translateX(3px);
}

.calc-pkg-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.calc-pkg-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
}

.calc-pkg-radio.checked {
  border-color: #00e5ff;
  background: #00e5ff;
  color: #0f172a;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
  font-size: 0.65rem;
}

.calc-pkg-title-area {
  flex: 1;
  min-width: 0;
}

.calc-pkg-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}

.calc-pkg-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: #f1f5f9;
}

.calc-pkg-card.active .calc-pkg-name {
  color: #ffffff;
}

.calc-popular-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #ffffff;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
  letter-spacing: 0.3px;
}

.calc-pkg-desc {
  font-size: 0.73rem;
  color: #94a3b8;
  line-height: 1.35;
}

.calc-pkg-card.active .calc-pkg-desc {
  color: #cbd5e1;
}

.calc-pkg-price-badge {
  font-size: 0.82rem;
  font-weight: 800;
  color: #00e5ff;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.25);
  padding: 4px 9px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.calc-pkg-card.active .calc-pkg-price-badge {
  background: rgba(0, 229, 255, 0.22);
  border-color: #00e5ff;
  color: #ffffff;
}

/* Step 3: Addons List */
.calc-addons-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.calc-addon-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.035);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  text-align: left;
}

.calc-addon-chip:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

.calc-addon-chip.active {
  background: rgba(0, 229, 255, 0.08);
  border-color: #00e5ff;
}

.calc-addon-left {
  display: flex;
  align-items: center;
  gap: 9px;
}

.calc-addon-check {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.65rem;
  color: transparent;
  transition: all 0.2s ease;
}

.calc-addon-check.checked {
  background: #00e5ff;
  border-color: #00e5ff;
  color: #0f172a;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

.calc-addon-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
}

.calc-addon-chip.active .calc-addon-name {
  color: #ffffff;
}

.calc-addon-price {
  font-size: 0.78rem;
  font-weight: 700;
  color: #00e5ff;
  white-space: nowrap;
}

/* Step 4: Floating Sticky Summary Bar */
.calc-sticky-bar {
  position: sticky !important;
  bottom: -22px !important;
  margin: 16px -20px -22px -20px !important;
  padding: 12px 18px 14px !important;
  background: rgba(13, 19, 34, 0.96) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-top: 1.5px solid rgba(0, 229, 255, 0.32) !important;
  border-radius: 0 0 24px 24px !important;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.75), 0 0 20px rgba(0, 229, 255, 0.12) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  z-index: 35 !important;
}

@media (min-width: 769px) {
  .calc-sticky-bar {
    bottom: -28px !important;
    margin: 18px -24px -28px -24px !important;
    padding: 14px 22px 16px !important;
    border-radius: 0 0 28px 28px !important;
  }
}

.calc-sticky-info {
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
}

.calc-sticky-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #94a3b8;
}

.calc-sticky-price {
  font-size: 1.15rem;
  font-weight: 900;
  color: #00e5ff;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.2px;
  text-shadow: 0 0 14px rgba(0, 229, 255, 0.4);
  white-space: nowrap;
  animation: calcPriceGlow 0.25s ease-out;
}

.calc-sep {
  font-weight: 400;
  opacity: 0.6;
  font-size: 0.95rem;
}

.calc-sticky-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 10px 16px !important;
  background: linear-gradient(135deg, #25D366, #128C7E) !important;
  color: #ffffff !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35) !important;
  transition: all 0.22s ease !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.calc-sticky-cta:hover {
  background: linear-gradient(135deg, #2bf073, #15a898) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5) !important;
  color: #ffffff !important;
}

.calc-sticky-cta i {
  font-size: 1.15rem !important;
}

@media (max-width: 480px) {
  .calc-sticky-cta {
    padding: 9px 12px !important;
    font-size: 0.78rem !important;
  }
  .calc-sticky-price {
    font-size: 1.02rem !important;
  }
}

@keyframes calcPriceGlow {
  0% { transform: scale(0.96); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

/* Backward compatibility fallback */
.calc-option-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}
.calc-result-box {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(14, 165, 233, 0.15));
  border: 1.5px solid rgba(0, 229, 255, 0.35);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  margin: 16px 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}
.calc-result-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #94a3b8;
  font-weight: 700;
  margin-bottom: 4px;
}
.calc-result-amount {
  font-size: 1.55rem;
  font-weight: 900;
  color: #00e5ff;
  text-shadow: 0 0 15px rgba(0, 229, 255, 0.6);
  font-family: 'Outfit', sans-serif;
}

/* Academy Modal Styling */
.academy-courses-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 16px;
  text-align: left;
}

.academy-course-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  transition: all 0.2s ease;
  overflow: hidden;
}

.academy-course-card:hover {
  background: rgba(0, 229, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.35);
  transform: translateX(3px);
}

.academy-course-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.academy-course-info {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.academy-course-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}

.academy-course-desc {
  font-size: 0.74rem;
  color: #94a3b8;
  display: block;
  margin-top: 2px;
  line-height: 1.35;
}

.academy-course-fee {
  display: inline-block;
  font-size: 0.72rem;
  color: #fbbf24;
  font-weight: 700;
  margin-top: 4px;
}

.academy-enroll-btn {
  width: auto !important;
  max-width: fit-content !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  padding: 7px 12px !important;
  font-size: 0.76rem !important;
  border-radius: 10px !important;
  gap: 6px !important;
  text-decoration: none !important;
}

@media (max-width: 480px) {
  .academy-course-card {
    padding: 10px 12px;
    gap: 10px;
  }
  .academy-course-icon {
    width: 36px;
    height: 36px;
    font-size: 1.05rem;
  }
  .academy-course-title {
    font-size: 0.82rem;
  }
  .academy-course-desc {
    font-size: 0.7rem;
  }
  .academy-course-fee {
    font-size: 0.68rem;
  }
  .academy-enroll-btn {
    padding: 6px 10px !important;
    font-size: 0.72rem !important;
  }
}


/* ==========================================================================
   MODAL OVERLAY & POPUP REFINEMENTS (HIGH Z-INDEX & CLEAN SCROLLBARS)
   ========================================================================== */
.modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(4, 7, 14, 0.88) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  z-index: 999999 !important;
  padding: 16px 14px !important;
  padding: max(16px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)) !important;
}

.modal-overlay.active {
  display: flex !important;
}

.modal-sheet {
  width: 100% !important;
  max-width: var(--max) !important;
  max-height: calc(100dvh - 32px) !important;
  max-height: min(88vh, calc(100dvh - 32px)) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
  background: #0d1322 !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 24px !important;
  padding: 26px 20px 22px !important;
  position: relative !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 229, 255, 0.1) !important;
  animation: modalPopupZoom 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
  margin: auto !important;
}

@media (min-width: 769px) {
  .modal-overlay {
    padding: 24px !important;
  }
  .modal-sheet {
    border-radius: 28px !important;
    padding: 30px 24px 28px !important;
    max-height: 86vh !important;
  }
}

/* Sleek Cyber Scrollbar for Modals */
.modal-sheet::-webkit-scrollbar {
  width: 5px;
}
.modal-sheet::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
}
.modal-sheet::-webkit-scrollbar-thumb {
  background: rgba(0, 229, 255, 0.35);
  border-radius: 10px;
}
.modal-sheet::-webkit-scrollbar-thumb:hover {
  background: #00e5ff;
}

.modal-close {
  position: absolute !important;
  top: 14px !important;
  right: 16px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #cbd5e1 !important;
  font-size: 1.25rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  z-index: 100 !important;
}

.modal-close:hover {
  background: rgba(255, 51, 51, 0.2) !important;
  border-color: #ff3333 !important;
  color: #ff3333 !important;
}

.modal-icon {
  width: 54px !important;
  height: 54px !important;
  margin: 4px auto 14px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.45rem !important;
  flex-shrink: 0 !important;
}

/* Auto Hide Mobile Bottom Dock when Modal is Open */
body.modal-open .mobile-bottom-dock {
  transform: translate(-50%, 80px) scale(0.9) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}


/* ==========================================================================
   COMPLETE LIGHT / WHITE MODE STYLING FOR DOCK, CALCULATOR & MODALS
   ========================================================================== */
[data-theme="light"] .modal-sheet {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15), 0 0 25px rgba(14, 165, 233, 0.1) !important;
}

[data-theme="light"] .modal-title {
  color: #0f172a !important;
}

[data-theme="light"] .modal-sub {
  color: #64748b !important;
}

[data-theme="light"] .modal-close {
  background: rgba(15, 23, 42, 0.06) !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  color: #475569 !important;
}

[data-theme="light"] .modal-close:hover {
  background: rgba(220, 38, 38, 0.12) !important;
  border-color: #dc2626 !important;
  color: #dc2626 !important;
}

/* Light Mode: Modern Cost Estimator Calculator */
[data-theme="light"] .calc-modal-header {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .calc-header-icon {
  background: rgba(2, 132, 199, 0.1);
  border-color: rgba(2, 132, 199, 0.25);
  color: #0284c7;
  box-shadow: 0 0 14px rgba(2, 132, 199, 0.15);
}

[data-theme="light"] .calc-currency-tag {
  background: rgba(15, 23, 42, 0.06);
  color: #64748b;
}

[data-theme="light"] .calc-pulse-tag {
  color: #0284c7;
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.2);
}

[data-theme="light"] .calc-pulse-dot {
  background: #0284c7;
  box-shadow: 0 0 6px #0284c7;
}

[data-theme="light"] .calc-section-title {
  color: #475569;
}

[data-theme="light"] .calc-svc-tile {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .calc-svc-tile:hover {
  background: #f1f5f9;
}

[data-theme="light"] .calc-svc-tile.active {
  background: #f0fdfa;
  border-color: #0284c7;
  box-shadow: 0 0 14px rgba(2, 132, 199, 0.2);
}

[data-theme="light"] .calc-svc-name,
[data-theme="light"] .calc-svc-tile.active .calc-svc-name {
  color: #0f172a !important;
}

[data-theme="light"] .calc-pkg-card {
  background: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
}

[data-theme="light"] .calc-pkg-card:hover {
  background: #f1f5f9 !important;
  border-color: rgba(15, 23, 42, 0.22) !important;
}

[data-theme="light"] .calc-pkg-card.active {
  background: #f0f9ff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.2) !important;
}

[data-theme="light"] .calc-pkg-card .calc-pkg-name,
[data-theme="light"] .calc-pkg-card.active .calc-pkg-name {
  color: #0f172a !important;
}

[data-theme="light"] .calc-pkg-card .calc-pkg-desc,
[data-theme="light"] .calc-pkg-card.active .calc-pkg-desc {
  color: #334155 !important;
}

[data-theme="light"] .calc-step-num {
  background: linear-gradient(135deg, #0284c7, #0369a1) !important;
  color: #ffffff !important;
}

[data-theme="light"] .calc-pkg-radio {
  border-color: rgba(15, 23, 42, 0.3) !important;
}

[data-theme="light"] .calc-pkg-radio.checked {
  background: #0284c7 !important;
  border-color: #0284c7 !important;
  color: #ffffff !important;
}

[data-theme="light"] .calc-pkg-price-badge {
  background: rgba(2, 132, 199, 0.1) !important;
  border-color: rgba(2, 132, 199, 0.3) !important;
  color: #0284c7 !important;
}

[data-theme="light"] .calc-pkg-card.active .calc-pkg-price-badge {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
}

[data-theme="light"] .calc-addon-chip {
  background: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
}

[data-theme="light"] .calc-addon-chip:hover {
  background: #f1f5f9 !important;
}

[data-theme="light"] .calc-addon-chip.active {
  background: #f0f9ff !important;
  border-color: #0284c7 !important;
}

[data-theme="light"] .calc-addon-check {
  border-color: rgba(15, 23, 42, 0.3) !important;
}

[data-theme="light"] .calc-addon-check.checked {
  background: #0284c7 !important;
  border-color: #0284c7 !important;
  color: #ffffff !important;
}

[data-theme="light"] .calc-addon-name,
[data-theme="light"] .calc-addon-chip.active .calc-addon-name {
  color: #0f172a !important;
}

[data-theme="light"] .calc-addon-price {
  color: #0284c7 !important;
}

[data-theme="light"] .calc-sticky-bar {
  background: rgba(255, 255, 255, 0.96) !important;
  border-top-color: rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .calc-sticky-label {
  color: #64748b;
}

[data-theme="light"] .calc-sticky-price {
  color: #0284c7;
  text-shadow: none;
}

[data-theme="light"] .calc-option-pill {
  background: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  color: #334155 !important;
}

[data-theme="light"] .calc-option-pill strong {
  color: #0f172a !important;
}

[data-theme="light"] .calc-option-pill small {
  color: #0284c7 !important;
}

[data-theme="light"] .calc-option-pill:hover,
[data-theme="light"] .calc-option-pill.active {
  background: rgba(14, 165, 233, 0.08) !important;
  border-color: #0284c7 !important;
  color: #0f172a !important;
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.2) !important;
}

[data-theme="light"] .calc-result-box {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(2, 132, 199, 0.12)) !important;
  border-color: rgba(14, 165, 233, 0.3) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .calc-result-title {
  color: #64748b !important;
}

[data-theme="light"] .calc-result-amount {
  color: #0284c7 !important;
  text-shadow: none !important;
}

/* Light Mode: Academy Modal */
[data-theme="light"] .academy-course-card {
  background: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
}

[data-theme="light"] .academy-course-card strong,
[data-theme="light"] .academy-course-title {
  color: #0f172a !important;
}

[data-theme="light"] .academy-course-card span,
[data-theme="light"] .academy-course-desc {
  color: #64748b !important;
}

[data-theme="light"] .academy-course-card:hover {
  background: rgba(14, 165, 233, 0.06) !important;
  border-color: rgba(14, 165, 233, 0.3) !important;
}

/* Light Mode: Mobile Bottom Dock */
[data-theme="light"] .mobile-bottom-dock {
  background: rgba(255, 255, 255, 0.94) !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 0 20px rgba(14, 165, 233, 0.12) !important;
}

[data-theme="light"] .dock-item {
  color: #64748b !important;
}

[data-theme="light"] .dock-item.active {
  color: #0284c7 !important;
}

[data-theme="light"] .dock-item.active .dock-icon-wrap {
  color: #0284c7 !important;
  filter: drop-shadow(0 0 8px rgba(14, 165, 233, 0.5)) !important;
}

[data-theme="light"] .dock-item-highlight .highlight-bubble {
  background: linear-gradient(135deg, #0284c7, #0ea5e9) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4) !important;
}

[data-theme="light"] .dock-item-highlight.active .highlight-bubble {
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.6) !important;
}

/* Light Mode: Modal Tags & Scrollbar */
[data-theme="light"] .selectable-tag {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
}

[data-theme="light"] .selectable-tag.selected {
  background: rgba(14, 165, 233, 0.12) !important;
  color: #0284c7 !important;
  border-color: #0284c7 !important;
}

[data-theme="light"] .modal-sheet::-webkit-scrollbar-thumb {
  background: rgba(2, 132, 199, 0.3) !important;
}

[data-theme="light"] .modal-sheet::-webkit-scrollbar-thumb:hover {
  background: #0284c7 !important;
}




/* ==========================================================================
   NOTIFICATION BELL & LIVE PROJECT FEED (PHOTO + CAPTION) STYLES
   ========================================================================== */
.notify-bell-btn {
  position: relative !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #f1f5f9 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  font-size: 1.05rem !important;
  transition: all 0.25s ease !important;
}

.notify-bell-btn:hover {
  background: rgba(0, 229, 255, 0.15) !important;
  color: #00e5ff !important;
  transform: scale(1.08);
}

.notify-badge-pill {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ff3333;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 900;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #070a12;
  box-shadow: 0 0 10px rgba(255, 51, 51, 0.8);
  animation: pulseBadge 2s infinite alternate;
}

@keyframes pulseBadge {
  0% { transform: scale(1); }
  100% { transform: scale(1.18); }
}

.live-dot-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.pulse-ring {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}





/* Projects Feed Grid — Pixel Perfect Spacing & Card Fit */
.projects-feed-grid {
  display: flex !important;
  flex-direction: row !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  gap: 14px !important;
  padding: 6px 2px 14px !important;
  margin-top: 10px !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.projects-feed-grid::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.projects-feed-grid.expanded-grid {
  flex-direction: column !important;
  overflow-x: visible !important;
  gap: 16px !important;
}

.project-feed-card {
  min-width: 88% !important;
  max-width: 88% !important;
  scroll-snap-align: start !important;
  flex-shrink: 0 !important;
  background: rgba(13, 19, 34, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
}

.projects-feed-grid.expanded-grid .project-feed-card {
  min-width: 100% !important;
  max-width: 100% !important;
}

@media (min-width: 600px) {
  .project-feed-card {
    min-width: 360px !important;
    max-width: 380px !important;
  }
}

.project-feed-card:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(0, 229, 255, 0.45) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.65), 0 0 20px rgba(0, 229, 255, 0.12) !important;
}

.project-img-wrap {
  width: 100% !important;
  height: 195px !important;
  position: relative !important;
  overflow: hidden !important;
  background: #070a12 !important;
  cursor: pointer !important;
}

.project-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.4s ease !important;
}

.project-feed-card:hover .project-img {
  transform: scale(1.04) !important;
}

.project-category-badge {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  background: rgba(7, 10, 18, 0.9) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(0, 229, 255, 0.45) !important;
  color: #00e5ff !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  padding: 4px 10px !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

.project-body {
  padding: 14px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

.project-date {
  font-size: 0.72rem !important;
  color: #94a3b8 !important;
  margin-bottom: 4px !important;
  font-weight: 600 !important;
}

.project-title {
  font-size: 0.98rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 6px !important;
  line-height: 1.38 !important;
}

.project-caption {
  font-size: 0.82rem !important;
  color: #cbd5e1 !important;
  line-height: 1.5 !important;
  margin-bottom: 12px !important;
  flex-grow: 1 !important;
}

.project-action-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  padding-top: 10px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.project-like-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #f43f5e !important;
  padding: 6px 10px !important;
  border-radius: 12px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  transition: all 0.2s ease !important;
}

.project-like-btn:hover {
  background: rgba(244, 63, 94, 0.15) !important;
  border-color: #f43f5e !important;
  transform: scale(1.05) !important;
}

.project-inquire-btn {
  background: linear-gradient(135deg, #25d366, #128c7e) !important;
  color: #ffffff !important;
  padding: 7px 12px !important;
  border-radius: 12px !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3) !important;
}

.project-inquire-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5) !important;
}





/* Official Google Sign-In Button on Modal */
.google-signin-btn-official {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  width: 100% !important;
  padding: 12px 18px !important;
  background: #ffffff !important;
  color: #1f2937 !important;
  border: 1px solid #dadce0 !important;
  border-radius: 12px !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important;
  transition: all 0.25s ease !important;
  margin-top: 12px !important;
}

.google-signin-btn-official:hover {
  background: #f8fafc !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.18) !important;
  transform: translateY(-1px) !important;
}


/* Project Feed Category Filter Bar (All + 9 Services) */
.project-filter-bar {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  overflow-x: auto !important;
  white-space: nowrap !important;
  padding: 4px 2px 10px !important;
  margin: 6px 0 12px !important;
  scrollbar-width: none !important; /* Firefox */
  -ms-overflow-style: none !important;  /* IE */
  -webkit-overflow-scrolling: touch !important;
}

.project-filter-bar::-webkit-scrollbar {
  display: none !important; /* Chrome / Safari */
}

.proj-filter-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 7px 14px !important;
  border-radius: 30px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #cbd5e1 !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  flex-shrink: 0 !important;
}

.proj-filter-btn:hover {
  background: rgba(0, 229, 255, 0.12) !important;
  color: #00e5ff !important;
  border-color: rgba(0, 229, 255, 0.3) !important;
  transform: translateY(-1px) !important;
}

.proj-filter-btn.active {
  background: linear-gradient(135deg, #00e5ff, #0284c7) !important;
  color: #070a12 !important;
  font-weight: 800 !important;
  border-color: #00e5ff !important;
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.4) !important;
}

.proj-filter-btn.active i {
  color: #070a12 !important;
}

/* Light Mode Filter Bar */
[data-theme="light"] .proj-filter-btn {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  color: #475569 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .proj-filter-btn:hover {
  background: rgba(14, 165, 233, 0.08) !important;
  color: #0284c7 !important;
  border-color: rgba(14, 165, 233, 0.3) !important;
}

[data-theme="light"] .proj-filter-btn.active {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3) !important;
}

[data-theme="light"] .proj-filter-btn.active i {
  color: #ffffff !important;
}


/* Projects Feed Grid — 100% Full Width Snap Slide (Zero Right-Edge Cut-Off) */
.projects-feed-grid {
  display: flex !important;
  flex-direction: row !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  gap: 16px !important;
  padding: 4px 2px 14px !important;
  margin-top: 10px !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.projects-feed-grid::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.projects-feed-grid.expanded-grid {
  flex-direction: column !important;
  overflow-x: visible !important;
  gap: 18px !important;
}

.project-feed-card {
  min-width: 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  scroll-snap-align: center !important;
  flex-shrink: 0 !important;
  background: rgba(13, 19, 34, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
}

.project-feed-card:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(0, 229, 255, 0.45) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.65), 0 0 20px rgba(0, 229, 255, 0.12) !important;
}

.project-img-wrap {
  width: 100% !important;
  height: 200px !important;
  position: relative !important;
  overflow: hidden !important;
  background: #070a12 !important;
  cursor: pointer !important;
}

.project-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.4s ease !important;
}

.project-feed-card:hover .project-img {
  transform: scale(1.04) !important;
}

.project-category-badge {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  background: rgba(7, 10, 18, 0.9) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(0, 229, 255, 0.45) !important;
  color: #00e5ff !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  padding: 4px 10px !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

.project-body {
  padding: 14px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

.project-date {
  font-size: 0.72rem !important;
  color: #94a3b8 !important;
  margin-bottom: 4px !important;
  font-weight: 600 !important;
}

.project-title {
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 6px !important;
  line-height: 1.38 !important;
}

.project-caption {
  font-size: 0.82rem !important;
  color: #cbd5e1 !important;
  line-height: 1.5 !important;
  margin-bottom: 12px !important;
  flex-grow: 1 !important;
}

.project-action-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding-top: 10px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.project-like-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #f43f5e !important;
  padding: 6px 10px !important;
  border-radius: 12px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  transition: all 0.2s ease !important;
}

.project-like-btn:hover {
  background: rgba(244, 63, 94, 0.15) !important;
  border-color: #f43f5e !important;
  transform: scale(1.05) !important;
}

.project-inquire-btn {
  background: linear-gradient(135deg, #25d366, #128c7e) !important;
  color: #ffffff !important;
  padding: 7px 14px !important;
  border-radius: 12px !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3) !important;
}

.project-inquire-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5) !important;
}

/* Pagination Dots */
.project-carousel-dots {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 6px 0 10px !important;
}

.proj-dot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.2) !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
}

.proj-dot.active {
  width: 20px !important;
  border-radius: 10px !important;
  background: #00e5ff !important;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.6) !important;
}

/* Light Mode Card */
[data-theme="light"] .project-feed-card {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .proj-dot {
  background: rgba(15, 23, 42, 0.2) !important;
}

[data-theme="light"] .proj-dot.active {
  background: #0284c7 !important;
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.5) !important;
}


.project-caption {
  font-size: 0.82rem !important;
  color: #cbd5e1 !important;
  line-height: 1.45 !important;
  margin-bottom: 10px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  cursor: pointer !important;
}

.caption-see-more {
  color: #00e5ff !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  margin-left: 4px !important;
}

.caption-see-more:hover {
  text-decoration: underline !important;
}

[data-theme="light"] .caption-see-more {
  color: #0284c7 !important;
}


/* Hide Bottom Dock while Preloader / Splash Screen is active */
body.loading-active .mobile-bottom-dock,
#preloader:not(.hide) ~ .mobile-bottom-dock,
#preloader:not(.hide) ~ * .mobile-bottom-dock {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translate(-50%, 80px) !important;
}


/* Boost & Easy Share Button */
.boost-share-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 7px 14px !important;
  border-radius: 24px !important;
  background: linear-gradient(135deg, #f59e0b, #ef4444) !important;
  border: 1px solid rgba(245, 158, 11, 0.5) !important;
  color: #ffffff !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35) !important;
}

.boost-share-btn:hover {
  transform: translateY(-2px) scale(1.04) !important;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5) !important;
}

.boost-share-btn i {
  color: #ffffff !important;
  font-size: 0.8rem !important;
}

/* Light Mode: Solid Vibrant Gradient Pill */
[data-theme="light"] .boost-share-btn {
  background: linear-gradient(135deg, #f59e0b, #ea580c) !important;
  border-color: #ea580c !important;
  color: #ffffff !important;
  box-shadow: 0 3px 12px rgba(234, 88, 12, 0.3) !important;
}

[data-theme="light"] .boost-share-btn i {
  color: #ffffff !important;
}

/* Mobile Header Navigation Responsive Armor */
@media (max-width: 540px) {
  .top-nav-bar {
    gap: 6px !important;
    margin-bottom: 12px !important;
  }

  .lang-switch-pill {
    padding: 2px !important;
    flex-shrink: 0 !important;
  }

  .lang-btn {
    padding: 5px 8px !important;
    font-size: 0.7rem !important;
  }

  .top-nav-right {
    gap: 5px !important;
    flex-wrap: nowrap !important;
  }

  .boost-share-btn {
    padding: 6px 10px !important;
    font-size: 0.72rem !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
  }

  .theme-toggle-btn {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.85rem !important;
    flex-shrink: 0 !important;
  }

  .pwa-install-btn {
    padding: 6px 10px !important;
    font-size: 0.72rem !important;
    gap: 4px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
}

@media (max-width: 400px) {
  .pwa-install-btn {
    padding: 6px 8px !important;
    font-size: 0.7rem !important;
  }
  .boost-share-btn {
    padding: 6px 8px !important;
    font-size: 0.7rem !important;
  }
}


/* First-Time App Onboarding Tutorial Styles */
.tutorial-slide-card {
  text-align: center;
  padding: 10px 6px;
  animation: fadeIn 0.3s ease;
}

.tutorial-step-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #00e5ff;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.tutorial-icon-wrap {
  width: 76px;
  height: 76px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 0 25px currentColor;
}

.tutorial-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 6px;
  line-height: 1.3;
}

.tutorial-sinhala {
  font-size: 0.85rem;
  color: #38bdf8;
  font-weight: 700;
  margin-bottom: 10px;
}

.tutorial-desc {
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.6;
  max-width: 380px;
  margin: 0 auto 18px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tutorial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.tutorial-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.tutorial-dot.active {
  width: 24px;
  border-radius: 12px;
  background: #00e5ff;
  box-shadow: 0 0 10px #00e5ff;
}

.tutorial-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tutorial-btn-row {
  display: flex;
  gap: 10px;
}

.tutorial-skip-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 6px;
  padding: 6px 12px;
  display: inline-block;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: all 0.2s ease;
  opacity: 0.9;
}

.tutorial-skip-btn:hover,
.tutorial-skip-btn:active {
  color: #00e5ff;
  opacity: 1;
}

[data-theme="light"] .tutorial-desc {
  background: #f8fafc;
  color: #334155;
  border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .tutorial-title {
  color: #0f172a;
}

[data-theme="light"] .tutorial-skip-btn {
  color: #64748b;
}

[data-theme="light"] .tutorial-skip-btn:hover,
[data-theme="light"] .tutorial-skip-btn:active {
  color: #0284c7;
}

/* Mobile screen optimizations for tutorial popup */
@media (max-width: 480px) {
  .modal-sheet {
    padding: 20px 16px 18px !important;
    border-radius: 22px !important;
    width: min(94vw, 410px) !important;
  }
  .tutorial-slide-card {
    padding: 2px 0 0;
  }
  .tutorial-step-tag {
    font-size: 0.68rem;
    padding: 2px 10px;
    margin-bottom: 8px;
  }
  .tutorial-icon-wrap {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
    margin: 0 auto 10px;
  }
  .tutorial-title {
    font-size: 1.15rem;
    margin-bottom: 4px;
  }
  .tutorial-sinhala {
    font-size: 0.78rem;
    margin-bottom: 8px;
  }
  .tutorial-desc {
    font-size: 0.82rem;
    line-height: 1.5;
    padding: 9px 12px;
    margin: 0 auto 12px;
  }
  .tutorial-dots {
    margin-bottom: 14px;
    gap: 6px;
  }
  .tutorial-actions {
    gap: 8px;
  }
  .tutorial-actions .link-btn {
    padding: 10px 14px;
    font-size: 0.88rem;
  }
  .tutorial-skip-btn {
    font-size: 0.78rem;
    padding: 4px 8px;
    margin-top: 2px;
  }
}
