* {
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Layout basics */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  background: #f3f4f6;
  animation: fadeInBody 0.4s ease-in-out forwards;
}

@keyframes fadeInBody {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.page-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
}

main {
  margin-top: 0;
  padding-top: 68px;
}
@media (max-width: 768px) {
  main { padding-top: 60px; }
}
@media (max-width: 768px) {
  .resume-page {
    flex-direction: column;
    min-height: auto;
  }

  .resume-left,
  .resume-right {
    width: 100%;
  }

  .resume-right {
    padding: 1.2rem 1.2rem;
  }

  .avatar-box img,
  .avatar-placeholder {
    width: 120px;
    height: 120px;
  }
}

/* Hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem 0 2rem;
}

.hero-content {
  flex: 1 1 320px;
}

.hero-tag {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #3b82f6;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.1rem, 3.5vw, 3rem);
  margin: 0.75rem 0;
  color: #111827;
}

.hero-subtitle {
  color: #4b5563;
  max-width: 32rem;
  font-size: 0.98rem;
}

.hero-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.hero-note {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: #6b7280;
}

/* Hero trust indicators */
.hero-trust {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 500;
}

/* Larger CTA button */
.hero-btn-lg {
  display: inline-block;
  padding: 0.5rem 1.6rem;
  background-color: #2563eb;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.hero-btn-lg:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.hero-btn-photo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 1.3rem;
  border-radius: 999px;
  border: 1.5px solid #4f46e5;
  background: transparent;
  color: #6366f1;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  width: fit-content;
  align-self: center;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.hero-btn-photo:hover {
  background: #4f46e5;
  color: #fff;
  transform: translateY(-2px);
}

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  background-color: #2563eb;
  color: #fff;
  font-weight: 500;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:hover {
  background-color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

/* ── Header Play Store badge ─────────────────────────────────────────── */
.header-play-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  background: #0f172a; color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px; text-decoration: none; white-space: nowrap;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  font-size: 0.78rem; font-weight: 600;
}
.header-play-btn:hover {
  border-color: rgba(52,211,153,0.5);
  box-shadow: 0 0 14px rgba(16,185,129,0.25);
}
.header-play-label { font-size: 0.78rem; font-weight: 600; }

.header-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Hide text label on small screens — icon only */
@media (max-width: 480px) {
  .header-play-label { display: none; }
  .header-play-btn { padding: 0.35rem 0.45rem; }
}

.btn-google {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  width: 100%; padding: 0.65rem 1rem;
  background: #fff; color: #3c4043;
  border: 1px solid #dadce0; border-radius: 10px;
  font-size: 0.9rem; font-weight: 500; text-decoration: none;
  transition: background 0.15s, box-shadow 0.15s;
  cursor: pointer; box-sizing: border-box;
}
.btn-google:hover { background: #f8f9fa; box-shadow: 0 1px 4px rgba(0,0,0,0.12); }

.auth-divider {
  display: flex; align-items: center; gap: 0.75rem;
  margin: 0.9rem 0; color: #9ca3af; font-size: 0.8rem;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: #e5e7eb;
}

.btn-ghost {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  color: #111827;
  text-decoration: none;
  font-weight: 500;
  background: #fff;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-ghost:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
}

/* Hero illustration card */
.hero-illustration {
  flex: 1 1 320px;
  display: flex;
  justify-content: center;
}

/* Mobile-only inline card — hidden on desktop */
.hero-illustration-inline {
  display: none;
}

.hero-card {
  width: clamp(320px, 28vw, 460px);
  background: #0f172a;
  border-radius: 18px;
  padding: 0.75rem 1rem 0.85rem;
  color: #e5e7eb;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.35);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.dot-group span {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #4b5563;
  margin-left: 4px;
}
.dot-group span:first-child {
  background: #ef4444;
}
.dot-group span:nth-child(2) {
  background: #f97316;
}

.hero-card-body {
  margin-top: 0.65rem;
  height: 200px;
  overflow: hidden;
}

@keyframes hcgGlow {
  0%,100% { box-shadow: 0 0 8px 2px rgba(99,102,241,0.65), 0 0 20px 4px rgba(99,102,241,0.22); }
  50%      { box-shadow: 0 0 14px 4px rgba(139,92,246,0.9), 0 0 32px 8px rgba(139,92,246,0.35); }
}
.hero-gallery {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hcg-track {
  display: flex;
  gap: 5px;
  height: 100%;
  width: 100%;
}
.hcg-item {
  flex: 0 0 calc(33.333% - 3.333px);
  height: 100%;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.hcg-item:first-child {
  border-color: rgba(99,102,241,0.6);
  animation: hcgGlow 2.5s ease-in-out infinite;
}
.hcg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-card-footer {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pill {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #1f2937;
  font-size: 0.7rem;
}
.pill.accent {
  border-color: #22c55e;
  color: #bbf7d0;
}

/* Section titles */
.services-section,
.features-section,
.testimonials-section {
  margin-top: 2.5rem;
}

.services-section h2,
.features-section h2,
.testimonials-section h2 {
  text-align: center;
  font-size: 1.6rem;
  color: #111827;
}

.section-subtitle {
  text-align: center;
  color: #6b7280;
  font-size: 0.95rem;
  margin-top: 0.35rem;
}

/* Service cards */
.service-cards {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

a.service-card-link {
  text-decoration: none;
  color: inherit;
}

.service-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1.5px solid transparent;
  background-clip: padding-box;
  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.06),
    0 0 0 1.5px rgba(99, 102, 241, 0.15),
    0 0 18px rgba(59, 130, 246, 0.08);
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.32s ease,
              border-color 0.32s ease;
  cursor: default;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.025);
  box-shadow:
    0 24px 48px rgba(15, 23, 42, 0.13),
    0 0 0 2px rgba(99, 102, 241, 0.45),
    0 0 32px rgba(59, 130, 246, 0.22),
    0 0 60px rgba(99, 102, 241, 0.10);
}

/* Per-card glow colour on hover */
.service-card:nth-child(1):hover {
  box-shadow:
    0 24px 48px rgba(15, 23, 42, 0.13),
    0 0 0 2px rgba(59, 130, 246, 0.5),
    0 0 36px rgba(59, 130, 246, 0.25),
    0 0 70px rgba(29, 78, 216, 0.12);
}
.service-card:nth-child(2):hover {
  box-shadow:
    0 24px 48px rgba(15, 23, 42, 0.13),
    0 0 0 2px rgba(251, 113, 133, 0.5),
    0 0 36px rgba(190, 18, 60, 0.22),
    0 0 70px rgba(251, 113, 133, 0.12);
}
.service-card:nth-child(3):hover {
  box-shadow:
    0 24px 48px rgba(15, 23, 42, 0.13),
    0 0 0 2px rgba(34, 197, 94, 0.5),
    0 0 36px rgba(3, 105, 161, 0.22),
    0 0 70px rgba(34, 197, 94, 0.12);
}
.service-card:nth-child(4):hover {
  box-shadow:
    0 24px 48px rgba(15, 23, 42, 0.13),
    0 0 0 2px rgba(124, 58, 237, 0.5),
    0 0 36px rgba(37, 99, 235, 0.25),
    0 0 70px rgba(124, 58, 237, 0.12);
}
.service-card:nth-child(5):hover {
  box-shadow:
    0 24px 48px rgba(15, 23, 42, 0.13),
    0 0 0 2px rgba(6, 182, 212, 0.5),
    0 0 36px rgba(6, 182, 212, 0.22),
    0 0 70px rgba(6, 182, 212, 0.12);
}

/* Image zooms in on hover */
.service-card:hover .service-image {
  transform: scale(1.04);
}
.service-image {
  transition: transform 0.4s ease;
}

.service-image {
  height: 170px;
  background-size: cover;
  background-position: center;
}

.resume-bg {
  background-image: url('/images/social-preview.png');
}

.photo-editor-bg {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 70%, #1b4332 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cover-bg {
  background-image: url('https://upload.wikimedia.org/wikipedia/en/thumb/4/41/Flag_of_India.svg/1200px-Flag_of_India.svg.png');
}

.portfolio-bg {
  background-image: url('/images/sumarportfolio.png');
}

.app-bg {
  background-image: url('/images/application.png');
  background-size: cover;
  background-position: center;
}
.bg-remover-bg {
  background: linear-gradient(135deg, #0a192f 0%, #0d4f5c 40%, #0891b2 80%, #06b6d4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.bg-remover-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Ccircle cx='20' cy='20' r='2' fill='rgba(255,255,255,0.08)'/%3E%3C/g%3E%3C/svg%3E") repeat;
  opacity: 0.4;
}

.service-card-body {
  padding: 1.1rem 1.25rem 1.3rem;
}

.service-card-body h3 {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  color: #111827;
}

/* Feature dots */
.feature-dots {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  margin-top: 0.8rem;
}

.feature-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #e5e7eb;
}
.feature-dots .dot.active {
  background: #2563eb;
}

/* Features grid */
.features-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.2rem 1.4rem;
  box-shadow:
    0 6px 18px rgba(15, 23, 42, 0.05),
    0 0 0 1.5px rgba(99, 102, 241, 0.15),
    0 0 18px rgba(59, 130, 246, 0.07);
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.32s ease;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 40px rgba(15, 23, 42, 0.11),
    0 0 0 2px rgba(99, 102, 241, 0.45),
    0 0 32px rgba(59, 130, 246, 0.20),
    0 0 60px rgba(99, 102, 241, 0.09);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
}

.feature-icon.orange { background: #fef3c7; color: #f97316; }
.feature-icon.blue { background: #dbeafe; color: #2563eb; }
.feature-icon.red { background: #fee2e2; color: #ef4444; }
.feature-icon.green { background: #dcfce7; color: #16a34a; }
.feature-icon.yellow { background: #fef9c3; color: #eab308; }
.feature-icon.purple { background: #ede9fe; color: #7c3aed; }

/* Testimonials */
.testimonials-grid {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.4rem 1.5rem 1.6rem;
  position: relative;
  box-shadow:
    0 10px 30px rgba(15, 23, 42, 0.06),
    0 0 0 1.5px rgba(239, 68, 68, 0.15),
    0 0 18px rgba(239, 68, 68, 0.07);
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.32s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 40px rgba(15, 23, 42, 0.11),
    0 0 0 2px rgba(239, 68, 68, 0.45),
    0 0 32px rgba(239, 68, 68, 0.20),
    0 0 60px rgba(239, 68, 68, 0.09);
}

.quote-flag {
  position: absolute;
  top: 0;
  left: 0;
  background: #ef4444;
  color: #fff;
  padding: 0.4rem 0.75rem;
  border-bottom-right-radius: 14px;
  font-size: 1.1rem;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #e5e7eb;
  margin: 0.5rem 0 0.7rem;
  object-fit: cover;
  display: block;
  border: 2px solid #e5e7eb;
}

.testimonial-text {
  font-size: 0.94rem;
  color: #4b5563;
  margin-bottom: 0.7rem;
}

.testimonial-name {
  font-weight: 600;
  color: #111827;
}

.testimonial-role {
  font-size: 0.88rem;
  color: #6b7280;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-illustration {
    margin-top: 1rem;
  }
}



h1, h2, h3 {
  color: #222;
}

a {
  text-decoration: none;
  color: #007bff;
}

header nav {
  display: flex;
  gap: 1rem;
  padding: 0.5rem 0;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 1rem;
  margin: 1rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* ==== Fix bullet style inside resume preview ==== */
.resume-page ul {
  list-style: disc;              /* show bullet dots */
  padding-left: 1.4rem;          /* space for bullets */
  margin: 0.4rem 0 0.2rem;
}

.resume-page ul li {
  /* cancel the global "card" styles */
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0 0 0.25rem 0;
  box-shadow: none;
  margin-bottom: 0.35rem;
  /* nice text style + wrapping */
  font-size: 0.9rem;
  line-height: 1.5;
  color: #111827;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  text-align: justify;
}


.btn-primary {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: none;
  background: #2563eb;
  color: #fff;
  font-weight: 500;
}

.btn-primary:hover {
  opacity: 0.9;
}

.form-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 500px;
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.form-card input,
.form-card select,
.form-card textarea {
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.form-card button {
  margin-top: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: none;
  background: #16a34a;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
}

.form-card button:hover {
  opacity: 0.9;
}

.ref-field { display: flex; flex-direction: column; gap: 0.25rem; margin-top: 0.25rem; }
.ref-optional { font-size: 0.75rem; color: #9ca3af; font-weight: 400; }
.ref-hint { font-size: 0.78rem; color: #6b7280; margin: 0; }
.ref-hint--active { color: #059669; font-weight: 500; }

.alert-error {
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.alert-success {
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* PAGE LAYOUT FOR RESUME */
.resume-page {
  width: 100%;
  max-width: 900px;
  min-height: 1200px;
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f4f6;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  margin: 1.5rem auto;
}


/* LEFT COLUMN */
.resume-left {
  width: 32%;
  background: #2c3e50;
  color: #f9fafb;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.avatar-box {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.avatar-box img {
  width: 180px;
  height: 180px;
  border-radius: 4px;
  object-fit: cover;
  border: 3px solid #facc15;
}

.avatar-placeholder {
  width: 180px;
  height: 180px;
  border-radius: 4px;
  background: #4b5563;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #e5e7eb;
}

.name-block h2 {
  font-size: 1.6rem;
  margin-bottom: 0.2rem;
}

.name-block .role {
  color: #e5e7eb;
  font-size: 0.95rem;
}

.sidebar-section h3 {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  border-bottom: 2px solid #facc15;
  padding-bottom: 0.2rem;
  margin-bottom: 0.3rem;
}

.sidebar-section p {
  font-size: 0.9rem;
  margin: 0.15rem 0;
}

.sidebar-section span {
  margin-right: 0.3rem;
}

/* RIGHT COLUMN */
.resume-right {
  width: 68%;
  background: #ffffff;
  padding: 1.8rem 2rem;
}

.section-block {
  margin-bottom: 1.5rem;
}

.section-block h3 {
  font-size: 1rem;
  letter-spacing: 0.08em;
  border-bottom: 2px solid #111827;
  padding-bottom: 0.2rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.section-block p {
  font-size: 0.95rem;
  line-height: 1.5;
}

main section {
  max-width: 1280px;
  margin: 1.5rem auto 2.5rem;
  padding: 0 2rem;
  box-sizing: border-box; /* ensures padding never adds overflow */
}
/* Sections already inside page-container don't need extra constraints */
.page-container > section {
  max-width: none;
  padding: 0;
  margin-left: 0;
  margin-right: 0;
}

/* Card layout (same as dashboard, centered) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  box-sizing: border-box;
}

.card-grid .card {
  width: 100%;
}

/* Card styling (universal) */
.card {
  flex: 1 1 220px;
  background: #ffffff;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  box-sizing: border-box;
  overflow: hidden;
}

/* Form inside the card */
.form-card {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Mobile view */
@media (max-width: 600px) {
  main section {
    padding: 0 0.75rem;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    margin-top: 0.85rem;
  }
}

@media (max-width: 400px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.btn-primary.disabled {
  opacity: 0.6;
  pointer-events: none;
  cursor: not-allowed;
}

/* === Hamburger base (desktop: hidden) === */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 0;
  margin-right: 0.35rem;
  background: rgba(15, 23, 42, 0.06);
  border: 1.5px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.menu-toggle:hover {
  background: rgba(15, 23, 42, 0.12);
  border-color: rgba(15, 23, 42, 0.18);
}

.menu-toggle.is-open {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
}

/* The three bars */
.hbr-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #111827;
  transform-origin: center;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity   0.25s ease,
    width     0.25s ease;
}

/* Animate to X when open */
.menu-toggle.is-open .hbr-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.is-open .hbr-bar:nth-child(2) {
  opacity: 0;
  width: 0;
}
.menu-toggle.is-open .hbr-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Navbar logo ── */
.brand-logo {
  height: 40px;
  width: auto;
  vertical-align: middle;
  display: inline-block;
  margin-right: 0.4rem;
}

@media (max-width: 768px) {
  .brand-logo { height: 32px; }
}

.header-fixed-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  background: transparent;
  box-shadow: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.header-fixed-wrap.scrolled {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 10px rgba(0,0,0,0.1);
}

.top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2.5rem;
  max-width: 1500px;
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
  z-index: 1000;
}

/* Desktop default: nav links visible as a horizontal row */
.header-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* === Mobile layout (≤ 768px) === */
@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  @keyframes navSlideDown {
    from { opacity: 0; transform: translateY(-10px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)    scale(1);    }
  }

  @keyframes navItemIn {
    from { opacity: 0; transform: translateX(-12px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  .top-header {
    padding: 0.4rem 0.9rem 0.5rem;
    align-items: flex-end;
    min-height: 76px;
  }

  .header-left {
    gap: 0.4rem;
  }

  .brand {
    font-size: 1rem;
  }

  /* Floating card panel */
  .header-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 12px;
    right: 12px;
    background: #ffffff;
    flex-direction: column;
    padding: 0.6rem 0.5rem 0.75rem;
    gap: 0;
    box-shadow:
      0 20px 48px rgba(15, 23, 42, 0.18),
      0 0 0 1px rgba(15, 23, 42, 0.07);
    border-radius: 18px;
    z-index: 9999;
  }

  .header-nav a {
    font-size: 1rem;
    font-weight: 500;
    color: #111827;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    opacity: 0;
  }

  .header-nav a:hover {
    background: #f3f4f6;
    color: #6366f1;
  }

  /* Panel slides in + each link staggers */
  .header-nav.nav-open {
    display: flex;
    animation: navSlideDown 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  }

  .header-nav.nav-open a {
    animation: navItemIn 0.3s ease forwards;
  }
  .header-nav.nav-open a:nth-child(1) { animation-delay: 0.06s; }
  .header-nav.nav-open a:nth-child(2) { animation-delay: 0.10s; }
  .header-nav.nav-open a:nth-child(3) { animation-delay: 0.14s; }
  .header-nav.nav-open a:nth-child(4) { animation-delay: 0.18s; }
  .header-nav.nav-open a:nth-child(5) { animation-delay: 0.22s; }
}


/* Avatar button in top-right corner */
.user-avatar-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Idle pulse ring */
.user-avatar-btn::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(99, 102, 241, 0.35);
  animation: avatarPulse 2.4s ease-in-out infinite;
}

@keyframes avatarPulse {
  0%, 100% { opacity: 0.5; transform: scale(1);    }
  50%       { opacity: 1;   transform: scale(1.06); }
}

/* Open state — bright ring, scale down slightly */
.user-avatar-btn.is-open {
  transform: scale(0.93);
}

.user-avatar-btn.is-open::before {
  border-color: #6366f1;
  animation: none;
  opacity: 1;
  inset: -5px;
  border-width: 2.5px;
}

.user-avatar-btn:hover {
  transform: scale(1.07);
}

.user-avatar-btn img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25);
  display: block;
}

/* No-photo placeholder circle */
.avatar-no-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35);
  flex-shrink: 0;
}

/* Camera badge — bottom-right corner of the button */
.avatar-camera-badge {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6366f1;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.15);
  animation: cameraBadgePop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

@keyframes cameraBadgePop {
  from { opacity: 0; transform: scale(0.3); }
  to   { opacity: 1; transform: scale(1);   }
}

/* Sidebar */
.user-sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 9998;
}

.user-sidebar-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* Overall sidebar look */
.user-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 340px;
  max-width: 92vw;
  height: 100vh;
  background: #f9fafb;
  box-shadow: -12px 0 40px rgba(15, 23, 42, 0.22);
  padding: 1.1rem 1.35rem 1.3rem;
  display: flex;
  flex-direction: column;
  z-index: 10000;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
}

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


.user-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.user-sidebar-header h2 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #111827;
}

#user-sidebar-close {
  border: none;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
}

/* Avatar block */
.sidebar-avatar-block {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding: 0.75rem 0.8rem;
  margin-bottom: 0.5rem;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.sidebar-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-avatar img {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px #3b82f6, 0 6px 14px rgba(15, 23, 42, 0.22);
}

.avatar-placeholder-big {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e5e7eb, #d1d5db);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  font-size: 1.8rem;
  font-weight: 600;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.15);
}

.sidebar-avatar-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.sidebar-name {
  font-weight: 600;
  color: #111827;
  font-size: 0.98rem;
}

.sidebar-email {
  font-size: 0.85rem;
  color: #6b7280;
}

/* Sections */
.user-sidebar-body {
  font-size: 0.9rem;
  flex: 1;                    /* 👈 take all remaining height */
  overflow-y: auto;           /* 👈 scroll inside the body */
  padding-bottom: 1.5rem;     /* 👈 extra space so logout isn't cut */
}


.sidebar-section {
  margin-top: 1.1rem;
  background: #ffffff;
  border-radius: 14px;
  padding: 0.9rem 0.95rem 1rem;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.sidebar-section-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.sidebar-help-text {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

/* Experience & Skills Input Box Styling */
.sidebar-profile-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto;
  max-width: 650px;
}

.sidebar-profile-form label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
}

.sidebar-profile-form input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 0.55rem 0.8rem;
  font-size: 0.9rem;
  background: #f9fafb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-profile-form input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 1.5px rgba(37, 99, 235, 0.25);
  background: #fff;
}


/* Save button */
.sidebar-save-btn {
  margin-top: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #111827, #020617);
  color: #f9fafb;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.sidebar-save-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.35);
  opacity: 0.98;
}

/* Photo upload button */
.sidebar-photo-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-photo-form input[type="file"] {
  font-size: 0.82rem;
}

.sidebar-upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: none;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.85rem;
  cursor: pointer;
  margin-top: 0.1rem;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.sidebar-upload-btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
}

/* Wallet strip in sidebar */
.sidebar-wallet-strip {
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, #f0fdfa, #e0f2fe);
  border: 1px solid #99f6e4; border-radius: 10px;
  padding: 0.6rem 0.85rem; margin: 0.75rem 0 0.25rem;
  text-decoration: none; transition: opacity 0.15s;
}
.sidebar-wallet-strip:hover { opacity: 0.85; }
.sidebar-wallet-left { display: flex; align-items: center; gap: 0.5rem; }
.sidebar-wallet-icon {
  width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0;
  background: linear-gradient(135deg, #0891b2, #0f766e);
  color: #fff; display: flex; align-items: center; justify-content: center;
}
.sidebar-wallet-label { font-size: 0.8rem; font-weight: 600; color: #0f766e; }
.sidebar-wallet-amount { font-size: 1rem; font-weight: 800; color: #0f766e; }

/* Logout section pinned to bottom */
.sidebar-section-footer {
  margin-top: 1.2rem;
  background: transparent;
  box-shadow: none;
  padding: 0 0 0.5rem 0;      /* 👈 small bottom padding */
}


.logout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #ef4444;
  color: #fff;
  font-weight: 500;
  border: none;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.logout-btn:hover {
  background: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.45);
}

.logout-btn i {
  font-size: 1rem;
}

/* Template gallery top section */
.templates-hero {
  text-align: center;
  margin-top: 1.5rem;
}

.templates-hero h1 {
  font-size: 1.6rem;
  color: #111827;
}

.templates-subtitle {
  margin-top: 0.4rem;
  color: #4b5563;
  font-size: 0.95rem;
}

.templates-subtitle.small {
  font-size: 0.88rem;
  color: #6b7280;
}

/* Experienced / Fresher toggle */
.experience-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.4rem;
  margin-top: 1rem;
  border-radius: 999px;
  background: #e5e7eb;
  max-width: 100%;
}

.experience-toggle label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.experience-toggle input[type="radio"] {
  display: none;
}

.experience-toggle span {
  color: #374151;
}

.experience-toggle input[type="radio"]:checked + span {
  background: #ffffff;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.18);
  color: #111827;
}

/* Templates responsive grid */
.templates-grid-section {
  max-width: 1400px;
  margin: 2rem auto 3rem;
  padding: 0 2rem;
}

.templates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

@media (max-width: 600px) {
  .templates-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }
}


/* === Individual template card === */
.template-card {
  background: #f9fafb;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  padding: 1rem 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.template-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
}

.template-preview {
  width: 100%;
  height: 420px;
  background: #111827;
  border-radius: 6px;
  padding: 10px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.template-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(229, 231, 235, 0.9);
  z-index: 0;
}

.template-preview-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  border-radius: inherit;
  z-index: 1;
}
.template-preview-img.no-drag {
  pointer-events: none;       /* mouse events pass through to carousel */
  user-select: none;
  -webkit-user-drag: none;    /* Safari / old Chrome */
}


/* === Colored frame themes for each template === */
.template-1 { background: linear-gradient(135deg, #2563eb, #3b82f6); }   /* Blue */
.template-2 { background: linear-gradient(135deg, #f97316, #ec4899); }   /* Orange → Pink */
.template-3 { background: linear-gradient(135deg, #10b981, #34d399); }   /* Green */
.template-4 { background: linear-gradient(135deg, #8b5cf6, #ec4899); }   /* Violet → Pink */
.template-5 { background: linear-gradient(135deg, #0ea5e9, #0284c7); }   /* Sky Blue */
.template-6 { background: linear-gradient(135deg, #6366f1, #3b82f6); }   /* Indigo */
.template-7 { background: linear-gradient(135deg, #14b8a6, #0ea5e9); }   /* Teal */
.template-8 { background: linear-gradient(135deg, #1e3a8a, #2563eb); }   /* Navy */
.template-9 { background: linear-gradient(135deg, #d97706, #f59e0b); }   /* Amber */
.template-10 { background: linear-gradient(135deg, #2563eb, #60a5fa); }  /* Bright Blue */
.template-11 { background: linear-gradient(135deg, #6b7280, #9ca3af); }  /* Gray */
.template-12 { background: linear-gradient(135deg, #22c55e, #86efac); }  /* Light Green */


/* Placeholder preview styles – swap with real images later */
.template-1 {
  background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
}
.template-2 {
  background: linear-gradient(135deg, #f97316, #ec4899);
}
.template-3 {
  background: linear-gradient(135deg, #10b981, #14b8a6);
}
.template-4 {
  background: linear-gradient(135deg, #f43f5e, #f59e0b);
}
.template-5 {
  background: linear-gradient(135deg, hsl(217, 91%, 60%), #1e40af);
}
.template-6 {
  background: linear-gradient(135deg, #d1d5db, #6b7280);
}
.template-7 {
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
}
.template-8 {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
}
.template-9 {
  background: linear-gradient(135deg, #9333ea, #f59e0b);
}
.template-10 {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
}
.template-11 {
  background: linear-gradient(135deg, #10b981, #14b8a6);
}
.template-12 {
  background: linear-gradient(135deg, #475569, #0f172a);
}


/* card body below preview */
.template-card-body {
  margin-top: 0.9rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.template-card-body h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
}

.template-card-body p {
  font-size: 0.86rem;
  color: #6b7280;
  margin: 0;
  max-width: 90%;
  line-height: 1.35;
}

/* big "CHOOSE TEMPLATE" button */
.template-btn {
  display: inline-block;
  width: 100%;
  padding: 0.6rem 0;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid #f97373;
  color: #e11d48;
  background: #ffffff;
  text-align: center;
  letter-spacing: 0.04em;
  margin-top: 0.3rem;
  transition: all 0.2s ease;
}


.template-btn:hover {
  background: #e11d48;
  color: #ffffff;
  border-color: #e11d48;
  transform: translateY(-1px);
}

/* (carousel dots/arrows removed — using grid layout now) */

/* Make long lines wrap inside the preview boxes */
.modern-section-block p {
  white-space: pre-wrap;      /* keep newlines */
  word-wrap: break-word;      /* legacy support */
  overflow-wrap: anywhere;    /* modern: break very long words */
  max-width: 100%;
  box-sizing: border-box;
}

/* Optional: also wrap list items if you use bullets */
.modern-section-block ul li {
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

/* Builder layout */
.builder-section {
  max-width: 1200px;
  margin: 1.5rem auto 0;
}

/* Big centered card */
.form-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 820px;
  width: 100%;
  margin: 1.5rem auto 2.5rem;
  background: #ffffff;
  padding: 1.8rem 2.2rem;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

/* ==== Unified Builder Step Styling ==== */
.form-step {
  display: none;
  background: #fff;
  padding: 2rem 2.5rem;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
  max-width: 850px;
  margin: 2rem auto;
  transition: all 0.3s ease;
}
.form-step.active {
  display: block;
}

/* Consistent section titles and subtitles */
.form-step h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.6rem;
}

.form-step p.hero-note,
.form-step .summary-subtitle {
  color: #4b5563;
  font-size: 0.95rem;
  max-width: 620px;
  margin: 0 auto 1.3rem;
  line-height: 1.6;
}

/* Textareas (for summary, education, languages, etc.) */
.form-step textarea {
  width: 100%;
  max-width: 720px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #111827;
  background: #f9fafb;
  resize: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-step textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
  background: #fff;
}

/* 2-column grid rows */
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin-top: 0.75rem;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field-full {
  grid-column: 1 / -1; /* span both columns */
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.2rem;
}

.form-field input,
.form-card textarea {
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
}

.form-field input:focus,
.form-card textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.3);
}

.req {
  color: #ef4444;
  margin-left: 2px;
}

/* bullet lists preview inside builder */
.builder-list {
  margin-top: 0.9rem;
  padding-left: 1.4rem;
  font-size: 0.9rem;
}

.builder-list li {
  margin-bottom: 0.25rem;
  cursor: pointer;
}

/* Navigation buttons row */
.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.4rem;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .form-card {
    padding: 1.3rem 1.4rem;
  }

  .form-row {
    grid-template-columns: 1fr; /* stack fields on mobile */
  }

  .form-nav {
    flex-direction: row;
    gap: 0.75rem;
  }
}

/* ===== Professional Summary Styling ===== */
.summary-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 1.2rem;
}

.summary-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.summary-subtitle {
  font-size: 0.95rem;
  color: #4b5563;
  max-width: 620px;
  margin-bottom: 1.3rem;
  line-height: 1.6;
}

.summary-input-box {
  width: 100%;
  max-width: 720px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 0 0 1px #d1d5db inset;
  padding: 0.6rem;
  transition: box-shadow 0.2s ease;
}

.summary-input-box:focus-within {
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.3);
}

.summary-input-box textarea {
  width: 100%;
  border: none;
  outline: none;
  resize: none;
  background: transparent;
  font-size: 0.95rem;
  color: #111827;
  padding: 0.5rem 0.75rem;
  min-height: 180px;
  line-height: 1.6;
  font-family: system-ui, sans-serif;
}

.summary-input-box textarea::placeholder {
  color: #9ca3af;
}

/* Center navigation buttons on this step */
[data-step="2"] .form-nav {
  justify-content: space-between;
  max-width: 720px;
  margin: 1.5rem auto 0;
}

.rb-tip {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: -0.3rem;
  margin-bottom: 0.9rem;
  line-height: 1.6;
  text-align: left;
}

.rb-tip em {
  font-style: normal;
  font-weight: 500;
}

/* ===== Template Badge Styles ===== */
.template-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  vertical-align: middle;
  margin-left: 0.4rem;
}

.template-badge.popular {
  background: #fef3c7;
  color: #d97706;
}

.template-badge.new {
  background: #dbeafe;
  color: #2563eb;
}

.template-badge.ats-friendly {
  background: #dcfce7;
  color: #16a34a;
}

.template-badge.creative {
  background: #fae8ff;
  color: #a855f7;
}

.template-badge.professional {
  background: #e0e7ff;
  color: #4f46e5;
}

.template-badge.coming-soon {
  background: #f3f4f6;
  color: #6b7280;
}

/* ===== MOBILE-FIRST IMPROVEMENTS ===== */

/* Hero section mobile */
@media (max-width: 768px) {
  .hero {
    padding: 0.75rem 0 1.5rem;
    gap: 0.75rem;
  }

  .hero h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 0.92rem;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .hero-btn-lg,
  .hero-btn,
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: fit-content;
    text-align: center;
    padding: 0.5rem 1.4rem;
  }

  .hero-trust {
    text-align: center;
    font-size: 0.8rem;
  }

  /* Hide the sidebar illustration, show the inline one */
  .hero-illustration:not(.hero-illustration-inline) {
    display: none;
  }

  .hero-illustration-inline {
    display: flex;
    justify-content: center;
    margin: 0.75rem 0 0.5rem;
    height: fit-content;
  }

  .hero-card {
    width: 100%;
    max-width: 290px;
    padding: 0.55rem 0.75rem 0.65rem;
    height: fit-content;
  }

  .hero-card-body {
    height: 130px;
  }

  .hero-card-footer {
    margin-top: 0.5rem;
    gap: 0.3rem;
  }

  .pill {
    font-size: 0.62rem;
    padding: 0.18rem 0.5rem;
  }
}

/* Services / Features / Testimonials mobile */
@media (max-width: 640px) {
  .service-cards {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .service-image {
    height: 80px;
  }

  .service-card-body {
    padding: 0.75rem 0.85rem 0.9rem;
  }

  .service-card-body h3 {
    font-size: 0.88rem;
    margin-bottom: 0.25rem;
  }

  .service-card-body p {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .feature-card {
    padding: 0.85rem 0.9rem;
    display: flex;
    flex-direction: column;
  }

  .feature-card h3 {
    font-size: 0.82rem;
    margin-bottom: 0.25rem;
    line-height: 1.3;
  }

  .feature-card p {
    font-size: 0.74rem;
    line-height: 1.4;
    color: #6b7280;
    margin: 0;
  }

  .feature-icon {
    width: 34px;
    height: 34px;
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .testimonial-card {
    padding: 1rem 0.9rem 1.1rem;
  }

  .quote-flag {
    padding: 0.3rem 0.55rem;
    font-size: 0.9rem;
  }

  .testimonial-avatar {
    width: 40px;
    height: 40px;
    margin: 0.4rem 0 0.5rem;
  }

  .testimonial-text {
    font-size: 0.74rem;
    line-height: 1.45;
    margin-bottom: 0.5rem;
  }

  .testimonial-name {
    font-size: 0.8rem;
  }

  .testimonial-role {
    font-size: 0.72rem;
  }

  .page-container {
    padding: 0 0.75rem 1.5rem;
  }

  .services-section h2,
  .features-section h2,
  .testimonials-section h2 {
    font-size: 1.3rem;
  }

  .section-subtitle {
    font-size: 0.88rem;
  }
}

/* Template cards mobile */
@media (max-width: 600px) {
  .template-preview {
    height: 360px;
  }

  .template-btn,
  .template-btn.disabled {
    width: 100%;
    text-align: center;
  }
}

/* Tables responsive */
@media (max-width: 640px) {
  .nice-table {
    font-size: 0.8rem;
  }

  .nice-table th,
  .nice-table td {
    padding: 0.5rem 0.4rem;
  }
}

/* ====== FLOATING WHATSAPP BUTTON ====== */
.refer-float {
  position: fixed;
  bottom: 90px; /* sits just above the 55px WhatsApp button + 24px bottom + 11px gap */
  right: 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 1rem 0 0.75rem;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.refer-float:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 22px rgba(99, 102, 241, 0.65);
  color: #fff;
}
.refer-float svg { flex-shrink: 0; }
.refer-float-label { letter-spacing: 0.01em; }

@media (max-width: 768px) {
  .refer-float {
    bottom: 148px;
    right: 12px;
    height: 32px;
    padding: 0 0.7rem 0 0.55rem;
    font-size: 0.68rem;
  }
  .refer-float svg { width: 16px; height: 16px; }
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: wa-pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
  animation: none; /* pause pulse on hover — feels cleaner */
}

.whatsapp-float i {
  font-size: 1.75rem;
  color: #ffffff;
  line-height: 1;
}

@keyframes wa-pulse {
  0%,  100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45); }
  50%        { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.75); }
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 42px;
    height: 42px;
    bottom: 96px;
    right: 12px;
  }
  .whatsapp-float i {
    font-size: 1.25rem;
  }
}

.payment-note {
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #0b0b0b;
  font-weight: 500;
}

/* ════════════════════════════════════════════════════════════════════════════
   Guest Chat Widget  —  all classes prefixed gc-
   Shown to non-logged-in visitors in place of the WhatsApp button
════════════════════════════════════════════════════════════════════════════ */
.gc-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #6366f1;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(99,102,241,0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: gc-pulse 2.5s ease-in-out infinite;
}
.gc-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(99,102,241,0.6);
  animation: none;
}
.gc-float i { font-size: 1.5rem; color: #fff; line-height: 1; }

@keyframes gc-pulse {
  0%,100% { box-shadow: 0 4px 16px rgba(99,102,241,0.45); }
  50%      { box-shadow: 0 4px 28px rgba(99,102,241,0.75); }
}

.gc-box {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 9998;
  width: 370px;
  max-height: 520px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: gc-appear 0.22s ease;
}
.gc-box[hidden] { display: none !important; }

@keyframes gc-appear {
  from { opacity: 0; transform: scale(0.94) translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.gc-header {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.gc-header-info { display: flex; align-items: center; gap: 0.75rem; }
.gc-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.gc-title { font-weight: 700; font-size: 0.9rem; }
.gc-sub   { font-size: 0.7rem; opacity: 0.75; margin-top: 0.1rem; }
.gc-close {
  background: none; border: none; color: rgba(255,255,255,0.8);
  font-size: 1.4rem; cursor: pointer; line-height: 1; padding: 0.2rem;
}
.gc-close:hover { color: #fff; }

/* Pre-chat form */
.gc-pre-chat {
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.gc-pre-chat[hidden] { display: none !important; }
.gc-pre-chat form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.gc-pre-desc {
  font-size: 0.83rem; color: #6b7280; text-align: center; margin-bottom: 0.25rem;
}
.gc-field {
  width: 100%; padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0; border-radius: 8px;
  font-size: 0.875rem; color: #111827; background: #f8fafc;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box; font-family: inherit;
}
.gc-field:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99,102,241,0.12); background: #fff; }
.gc-start-btn {
  width: 100%; padding: 0.65rem;
  background: #6366f1; color: #fff;
  border: none; border-radius: 10px;
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  transition: background 0.15s;
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
}
.gc-start-btn:hover { background: #4f46e5; }
.gc-start-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Chat area */
.gc-chat { flex: 1; display: flex; flex-direction: column; overflow: hidden; min-height: 0; }
.gc-chat[hidden] { display: none !important; }
.gc-messages {
  flex: 1; overflow-y: auto; padding: 1rem;
  display: flex; flex-direction: column; gap: 0.55rem;
  background: #f8fafc; scroll-behavior: smooth;
}
.gc-empty { text-align: center; color: #9ca3af; font-size: 0.83rem; margin: auto; }
.gc-bubble-row        { display: flex; flex-direction: column; }
.gc-bubble-row.mine   { align-items: flex-end; }
.gc-bubble-row.theirs { align-items: flex-start; }
.gc-bubble {
  max-width: 82%; padding: 0.55rem 0.85rem;
  border-radius: 16px; font-size: 0.85rem; line-height: 1.5; word-break: break-word;
}
.gc-bubble.mine   { background: #6366f1; color: #fff; border-bottom-right-radius: 4px; }
.gc-bubble.theirs { background: #fff; border: 1px solid #e2e8f0; color: #111827; border-bottom-left-radius: 4px; }
.gc-bubble-meta   { font-size: 0.65rem; color: #9ca3af; margin-top: 0.15rem; padding: 0 0.15rem; }
.gc-sender-name   { font-size: 0.68rem; color: #6b7280; font-weight: 600; margin-bottom: 0.12rem; }
/* Typing indicator */
.gc-typing-bubble { display: flex; align-items: center; gap: 4px; padding: 0.5rem 0.75rem; min-width: 44px; }
.gc-typing-bubble span {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: #9ca3af; animation: gcTypingDot 1.2s infinite ease-in-out;
}
.gc-typing-bubble span:nth-child(2) { animation-delay: 0.2s; }
.gc-typing-bubble span:nth-child(3) { animation-delay: 0.4s; }
@keyframes gcTypingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.gc-input-bar {
  display: flex; align-items: flex-end; gap: 0.5rem;
  padding: 0.65rem 0.9rem; border-top: 1px solid #f1f5f9; flex-shrink: 0;
}
.gc-input {
  flex: 1; resize: none;
  border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 0.55rem 0.8rem; font-size: 0.85rem; font-family: inherit;
  outline: none; max-height: 100px; overflow-y: auto; background: #f8fafc;
}
.gc-input:focus { border-color: #6366f1; background: #fff; }
.gc-send {
  width: 36px; height: 36px; border-radius: 50%;
  background: #6366f1; color: #fff; border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; flex-shrink: 0; transition: background 0.15s;
}
.gc-send:hover { background: #4f46e5; }

/* ── Guest Chat — Mobile ────────────────────────────────────────────────── */
@media (max-width: 600px) {
  /* Float button — bigger tap target + safe area */
  .gc-float   { width: 52px; height: 52px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); right: 16px; }
  .gc-float i { font-size: 1.4rem; }

  /* Chat box — full-width, clear of float button, respects dynamic viewport */
  .gc-box {
    width: calc(100vw - 1.5rem);
    right: 0.75rem;
    left: 0.75rem;
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    max-height: min(76dvh, 560px);
    border-radius: 16px;
  }

  /* Header — slightly compact */
  .gc-header  { padding: 0.85rem 1rem; }
  .gc-avatar  { width: 34px; height: 34px; font-size: 0.9rem; }
  .gc-title   { font-size: 0.875rem; }
  .gc-sub     { font-size: 0.68rem; }

  /* Pre-chat form */
  .gc-pre-chat { padding: 1.25rem 1rem; gap: 0.45rem; }

  /* Bubbles — allow slightly wider */
  .gc-bubble  { max-width: 90%; }

  /* Input bar — 44px min touch targets */
  .gc-input-bar { padding: 0.6rem 0.75rem; gap: 0.4rem; }
  .gc-input     { padding: 0.6rem 0.75rem; font-size: 0.9rem; }
  .gc-send      { width: 44px; height: 44px; font-size: 1rem; }
}

@media (max-width: 380px) {
  .gc-box     { width: calc(100vw - 1rem); right: 0.5rem; left: 0.5rem; }
  .gc-pre-chat { padding: 1rem 0.85rem; }
  .gc-title   { font-size: 0.83rem; }
  .gc-field   { padding: 0.65rem 0.85rem; font-size: 0.83rem; }
  .gc-start-btn { font-size: 0.85rem; padding: 0.6rem; }
  .gc-bubble  { max-width: 94%; font-size: 0.83rem; }
  .gc-input   { font-size: 0.85rem; }
}
/* ── Ads ──────────────────────────────────────────────────────────────────── */
.ad-label {
  display: block;
  font-size: 0.58rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 0.4rem;
}

/* Top banner — right below the nav bar */
.ad-top-banner {
  width: 100%;
  text-align: center;
  padding: 0.5rem 1rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.ad-top-banner img {
  max-width: 728px;
  width: 100%;
  border-radius: 6px;
  display: inline-block;
}
/* Hide on resume builder page */
body.page-resume-builder .ad-top-banner { display: none; }

/* Before-footer ad */
.ad-before-footer {
  max-width: 768px;
  margin: 2.5rem auto 0;
  text-align: center;
  padding: 0 1rem;
}
.ad-before-footer img {
  max-width: 728px;
  width: 100%;
  border-radius: 8px;
}

/* ── Coupon Modal ─────────────────────────────────────────────────────────── */
.coupon-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.coupon-modal {
  background: #fff;
  border-radius: 18px;
  padding: 2rem;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
  animation: couponSlideIn 0.22s ease;
}
@keyframes couponSlideIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.coupon-modal-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.coupon-modal-icon { font-size: 2rem; line-height: 1; flex-shrink: 0; }
.coupon-modal-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.2rem;
}
.coupon-modal-sub {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
}
.coupon-input-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}
.coupon-input {
  flex: 1;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #1e293b;
  outline: none;
  transition: border-color 0.15s;
}
.coupon-input:focus { border-color: #6366f1; }
.coupon-apply-btn {
  padding: 0.65rem 1.1rem;
  background: #6366f1;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.coupon-apply-btn:hover:not(:disabled) { background: #4f46e5; }
.coupon-apply-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.coupon-msg {
  font-size: 0.82rem;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}
.coupon-msg-success { background: #d1fae5; color: #065f46; }
.coupon-msg-error   { background: #fee2e2; color: #991b1b; }

.coupon-savings-badge {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border: 1px solid #6ee7b7;
  color: #065f46;
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.coupon-modal-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}
.coupon-skip-btn {
  flex: 1;
  padding: 0.7rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  color: #475569;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s;
}
.coupon-skip-btn:hover { border-color: #94a3b8; }
.coupon-pay-btn {
  flex: 1;
  padding: 0.7rem;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: box-shadow 0.15s, transform 0.1s;
}
.coupon-pay-btn:hover { box-shadow: 0 4px 14px rgba(37,99,235,0.35); transform: translateY(-1px); }

@media (max-width: 480px) {
  .coupon-modal { padding: 1.5rem 1.25rem; }
  .coupon-modal-actions { flex-direction: column; }
}

/* ── Google Translate Mobile Widget ─────────────────────────────────────── */
#gt-mobile-btn {
  display: none; /* hidden on desktop */
  position: fixed;
  right: 16px;
  bottom: 80px;
  z-index: 1200;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: box-shadow 0.15s;
}
#gt-mobile-btn:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.2); }

#gt-mobile-panel {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 130px;
  z-index: 1199;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  padding: 10px;
  width: 220px;
  max-height: 320px;
  overflow-y: auto;
  flex-wrap: wrap;
  gap: 6px;
}
#gt-mobile-panel.open {
  display: flex;
}
#gt-mobile-panel button {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  padding: 5px 9px;
  font-size: 0.78rem;
  cursor: pointer;
  color: #1e293b;
  transition: background 0.12s;
  white-space: nowrap;
}
#gt-mobile-panel button:hover { background: #dbeafe; color: #1d4ed8; }

@media (max-width: 768px) {
  #gt-mobile-btn { display: flex; }
}
