:root {
  --bg: #050b14;
  --bg-soft: #08111e;
  --surface: rgba(10, 19, 34, 0.72);
  --surface-strong: rgba(12, 22, 39, 0.92);
  --surface-elevated: rgba(18, 31, 54, 0.96);
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef5ff;
  --muted: #96a8c6;
  --accent: #f8b84b;
  --accent-2: #ff7d45;
  --accent-3: #6ee7b7;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.48);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 20% 20%, rgba(248, 184, 75, 0.12), transparent 26%),
    radial-gradient(circle at 80% 12%, rgba(110, 231, 183, 0.12), transparent 24%),
    radial-gradient(circle at 50% 80%, rgba(255, 125, 69, 0.1), transparent 24%),
    linear-gradient(180deg, #040810 0%, #071120 46%, #050b14 100%);
  overflow-x: hidden;
}

body.chatbot-only-page {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html.chatbot-active,
body.chatbot-active {
  overflow: hidden;
  overscroll-behavior: none;
}

body.chatbot-only-page::-webkit-scrollbar {
  display: none;
}

body::before,
body::after {
  content: '';
  position: fixed;
  inset: auto;
  width: 30rem;
  height: 30rem;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.26;
  pointer-events: none;
  z-index: -1;
}

body::before {
  top: -8rem;
  left: -8rem;
  background: rgba(248, 184, 75, 0.32);
}

body::after {
  right: -10rem;
  bottom: -8rem;
  background: rgba(110, 231, 183, 0.22);
}

a {
  color: inherit;
}

.ambient {
  position: fixed;
  width: 26rem;
  height: 26rem;
  border-radius: 999px;
  filter: blur(100px);
  opacity: 0.18;
  z-index: -1;
  pointer-events: none;
  animation: float 16s ease-in-out infinite alternate;
}

.ambient-1 {
  top: 8rem;
  left: -7rem;
  background: rgba(248, 184, 75, 0.34);
}

.ambient-2 {
  top: 26rem;
  right: -9rem;
  background: rgba(110, 231, 183, 0.26);
  animation-delay: -4s;
}

.ambient-3 {
  bottom: -6rem;
  left: 30%;
  background: rgba(255, 125, 69, 0.22);
  animation-delay: -8s;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(5, 11, 20, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar {
  padding: 1rem 0;
}

.navbar-toggler-icon {
  filter: invert(1);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-mark strong,
.chatbot-branding strong,
.section-head h2,
.hero-section h1,
.hero-panel h2,
.feature-card h3,
.step-card h3,
.admin-teaser h2,
.site-footer strong {
  font-family: var(--font-heading);
}

.brand-mark strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand-mark small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.brand-icon,
.chatbot-avatar,
.launcher-badge {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(248, 184, 75, 0.95), rgba(255, 125, 69, 0.85));
  color: #101522;
  box-shadow: 0 18px 30px rgba(248, 184, 75, 0.24);
}

.navbar .nav-link {
  color: rgba(238, 245, 255, 0.84);
  font-weight: 600;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #fff;
}

.btn-solar {
  border: 0;
  color: #0b1120;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 18px 40px rgba(255, 125, 69, 0.24);
}

.btn-solar:hover,
.btn-solar:focus {
  color: #0b1120;
  transform: translateY(-1px);
  box-shadow: 0 20px 48px rgba(255, 125, 69, 0.32);
}

.hero-section,
.feature-section,
.workflow-section,
.admin-section {
  position: relative;
  padding: 5rem 0;
}

.hero-section {
  padding-top: 4.25rem;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.7rem 1rem;
}

.hero-section h1 {
  margin: 1.25rem 0 0;
  font-size: clamp(3rem, 6vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  max-width: 10ch;
}

.hero-copy,
.section-head p,
.feature-card p,
.step-card p,
.admin-teaser p,
.site-footer p,
.panel-list li,
.chatbot-note,
.chatbot-subtitle {
  color: var(--muted);
}

.hero-copy {
  max-width: 60ch;
  margin-top: 1.2rem;
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.hero-chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.94rem;
}

.glass-card {
  background: linear-gradient(180deg, rgba(14, 23, 39, 0.82) 0%, rgba(10, 18, 31, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(18px);
}

.hero-panel,
.feature-card,
.step-card,
.admin-teaser {
  padding: 1.5rem;
}

.hero-panel h2 {
  font-size: 2rem;
  line-height: 1.05;
  margin: 0.9rem 0 1rem;
}

.panel-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(110, 231, 183, 0.12);
  color: #aef0d4;
  border: 1px solid rgba(110, 231, 183, 0.18);
  font-weight: 700;
  font-size: 0.82rem;
}

.panel-list {
  margin: 0;
  padding-left: 1.15rem;
  line-height: 1.8;
}

.panel-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.panel-footer span,
.mini-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.panel-footer strong {
  font-family: var(--font-heading);
  font-size: 1.02rem;
}

.section-head {
  max-width: 58rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 1rem 0 0.8rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
}

.section-head p {
  max-width: 64ch;
  line-height: 1.8;
}

.feature-card,
.step-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.feature-card:hover,
.step-card:hover,
.admin-teaser:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
}

.feature-card::after,
.step-card::after,
.admin-teaser::after {
  content: '';
  position: absolute;
  inset: auto -6rem -6rem auto;
  width: 10rem;
  height: 10rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(248, 184, 75, 0.2), transparent 70%);
  pointer-events: none;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  background: rgba(248, 184, 75, 0.12);
  border: 1px solid rgba(248, 184, 75, 0.16);
  color: #ffd78f;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card h3,
.step-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.5rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(110, 231, 183, 0.12);
  color: #aef0d4;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.admin-teaser {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.admin-actions {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.admin-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  padding: 2rem 0 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 11, 20, 0.5);
}

.site-footer p {
  margin: 0.4rem 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer a[href^="mailto:"],
.site-footer a[href^="tel:"] {
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.chatbot-launcher {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem 0.8rem 0.8rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(248, 184, 75, 0.98), rgba(255, 125, 69, 0.98));
  color: #0b1120;
  box-shadow: 0 22px 50px rgba(248, 184, 75, 0.32);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.chatbot-launcher:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 26px 58px rgba(248, 184, 75, 0.38);
}

.launcher-badge {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
}

.launcher-text {
  font-weight: 800;
  letter-spacing: 0.01em;
}

.chatbot-widget {
  position: fixed;
  right: 1.15rem;
  bottom: 5.65rem;
  width: min(24rem, calc(100vw - 2.3rem));
  max-height: min(82vh, 46rem);
  display: flex;
  flex-direction: column;
  border-radius: 30px;
  overflow: hidden;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: none;
  background: linear-gradient(180deg, rgba(9, 17, 31, 0.98), rgba(11, 20, 35, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 39;
}

body.chatbot-only-page .chatbot-widget {
  top: 1rem;
  bottom: 1rem;
  height: calc(100vh - 2rem);
  max-height: none;
  width: min(34rem, calc(100vw - 2rem));
}

body.chatbot-debug-mode .chatbot-widget {
  box-shadow: 0 0 0 1px rgba(110, 231, 183, 0.14), var(--shadow);
}

.chatbot-widget.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chatbot-widget__glow {
  position: absolute;
  inset: auto -3rem -3rem auto;
  width: 10rem;
  height: 10rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(248, 184, 75, 0.24), transparent 70%);
  pointer-events: none;
}

.chatbot-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0.9rem;
  position: sticky;
  top: 0;
  z-index: 3;
  background:
    linear-gradient(135deg, rgba(19, 30, 50, 0.98), rgba(12, 20, 34, 0.98));
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.chatbot-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.chatbot-avatar {
  width: 2.7rem;
  height: 2.7rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

.chatbot-branding strong {
  display: block;
  font-size: 1rem;
}

.chatbot-branding small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.76rem;
  line-height: 1.35;
}

.chatbot-toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.language-btn,
.chatbot-close,
.whatsapp-mini,
.chat-send-btn {
  border: 0;
  background: transparent;
}

.language-btn {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.language-btn.active,
.language-btn:hover {
  background: rgba(248, 184, 75, 0.95);
  color: #0b1120;
}

.whatsapp-mini,
.chatbot-close {
  width: 2.2rem;
  height: 2.2rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.whatsapp-mini {
  color: #bdf5d7;
}

.chatbot-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.9rem;
  min-height: 0;
  overflow: hidden;
}

.chatbot-thread {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(110, 231, 183, 0.5) transparent;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.chatbot-thread::-webkit-scrollbar {
  width: 0.42rem;
}

.chatbot-thread::-webkit-scrollbar-track {
  background: transparent;
}

.chatbot-thread::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(110, 231, 183, 0.5), rgba(248, 184, 75, 0.28));
  border-radius: 999px;
}

body.chatbot-only-page .chatbot-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

body.chatbot-only-page .chatbot-body::-webkit-scrollbar {
  display: none;
}

.chatbot-note {
  padding: 0.8rem 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.chatbot-highlight {
  padding: 1rem 1rem 0.95rem;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(248, 184, 75, 0.16), rgba(110, 231, 183, 0.09)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(248, 184, 75, 0.18);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.2);
  animation: fadeUp 0.35s ease both;
}

.chatbot-highlight.is-fallback {
  background:
    linear-gradient(135deg, rgba(255, 125, 69, 0.18), rgba(248, 184, 75, 0.08)),
    rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 125, 69, 0.2);
}

.chatbot-highlight__title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

.chatbot-highlight__answer {
  margin-top: 0.45rem;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}

.chatbot-highlight__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.8rem;
}

.chatbot-highlight__chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chatbot-messages {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  scroll-behavior: smooth;
  padding-right: 0.2rem;
  min-height: 0;
  max-height: none;
  overflow: visible;
}

body.chatbot-only-page .chatbot-messages {
  flex: 0 0 auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
}

.chatbot-message {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.chatbot-bubble {
  max-width: 90%;
  padding: 0.8rem 0.95rem;
  border-radius: 18px;
  line-height: 1.6;
  font-size: 0.94rem;
  white-space: pre-wrap;
  word-break: break-word;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.chatbot-message.user {
  align-items: flex-end;
}

.chatbot-message.user .chatbot-bubble {
  background: linear-gradient(135deg, rgba(248, 184, 75, 0.96), rgba(255, 125, 69, 0.96));
  color: #0b1120;
  border-bottom-right-radius: 6px;
}

.chatbot-message.bot .chatbot-bubble {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom-left-radius: 6px;
}

.message-source {
  font-size: 0.74rem;
  color: var(--muted);
  padding-left: 0.2rem;
}

.message-source strong {
  color: #d7e5ff;
  font-weight: 700;
}

.chatbot-message-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  align-self: flex-start;
  margin-top: 0.1rem;
  padding-left: 0.2rem;
}

.chatbot-speak-btn {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.chatbot-speak-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.chatbot-speak-btn.is-speaking {
  background: linear-gradient(135deg, rgba(248, 184, 75, 0.96), rgba(255, 125, 69, 0.96));
  color: #0b1120;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 28px rgba(255, 125, 69, 0.18);
}

.chatbot-speak-btn.is-speaking i {
  animation: voicePulse 1.1s ease-in-out infinite;
}

.chatbot-speak-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
}

.chatbot-message.debug {
  align-items: flex-start;
}

.chatbot-debug {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(110, 231, 183, 0.08);
  border: 1px solid rgba(110, 231, 183, 0.16);
  color: var(--text);
}

.chatbot-debug summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.83rem;
  font-weight: 700;
  color: #d7f5e6;
}

.chatbot-debug summary::-webkit-details-marker {
  display: none;
}

.chatbot-debug__body {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.chatbot-debug__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.chatbot-debug__row span {
  flex: 0 0 auto;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.52);
}

.chatbot-debug__row strong {
  flex: 1 1 auto;
  text-align: right;
  color: var(--text);
  font-weight: 600;
  font-size: 0.82rem;
}

.chatbot-debug__heading {
  margin-top: 0.2rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.52);
}

.chatbot-debug__list {
  margin: 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.7rem;
}

.chatbot-debug__list li {
  padding-left: 0.1rem;
}

.chatbot-debug__candidate-title {
  color: #eef5ff;
  font-size: 0.82rem;
  font-weight: 700;
}

.chatbot-debug__excerpt {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.5;
}

.chatbot-typing {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chatbot-typing span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--accent);
  animation: pulse 1s infinite ease-in-out;
}

.chatbot-typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.chatbot-typing span:nth-child(3) {
  animation-delay: 0.3s;
}

.chatbot-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chatbot-quick-replies__heading {
  flex: 1 0 100%;
  margin: 0 0 0.1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.quick-reply {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.quick-reply:hover {
  transform: translateY(-1px);
  background: rgba(248, 184, 75, 0.12);
  border-color: rgba(248, 184, 75, 0.22);
}

.chatbot-voice-status {
  min-height: 1.1rem;
  padding: 0 0.15rem;
  margin-top: -0.15rem;
  font-size: 0.77rem;
  line-height: 1.4;
  color: var(--muted);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.chatbot-voice-status.is-listening {
  color: #bdf5d7;
}

.chatbot-voice-status.is-error {
  color: #ffb3a0;
}

.chatbot-composer {
  display: flex;
  align-items: flex-end;
  gap: 0.65rem;
  padding: 0.7rem;
  border-radius: 20px;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chatbot-composer textarea {
  width: 100%;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  resize: none;
  box-shadow: none;
}

.chatbot-composer textarea {
  min-height: 3.2rem;
  max-height: 8rem;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.8rem 0.9rem;
  line-height: 1.55;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.chatbot-composer textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.chatbot-composer textarea:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(248, 184, 75, 0.34);
  box-shadow: 0 0 0 0.18rem rgba(248, 184, 75, 0.12);
}

.chat-voice-btn {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.chat-voice-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.chat-voice-btn.is-listening {
  background: linear-gradient(135deg, rgba(110, 231, 183, 0.95), rgba(248, 184, 75, 0.95));
  color: #0b1120;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 35px rgba(110, 231, 183, 0.22);
}

.chat-voice-btn.is-listening i {
  animation: voicePulse 1.1s ease-in-out infinite;
}

.chat-voice-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
}

.chat-send-btn {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #0b1120;
  font-size: 1rem;
  box-shadow: 0 18px 35px rgba(255, 125, 69, 0.2);
}

.fade-in-up {
  animation: fadeUp 0.8s ease both;
}

.delay-1 {
  animation-delay: 0.12s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.d-none {
  display: none !important;
}

.admin-shell {
  position: relative;
  min-height: 100vh;
  padding: 2rem 0 4rem;
}

.admin-hero {
  padding: 1.8rem;
}

.admin-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1;
  margin: 1rem 0 0.8rem;
}

.admin-grid {
  margin-top: 1.5rem;
}

.panel-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.admin-card {
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-card + .admin-card {
  margin-top: 1rem;
}

.admin-card .form-label {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.84);
}

.admin-card .form-control,
.admin-card .form-select {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: none;
}

.admin-card .form-control:focus,
.admin-card .form-select:focus {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(248, 184, 75, 0.34);
  box-shadow: 0 0 0 0.18rem rgba(248, 184, 75, 0.12);
}

.admin-card .form-select option {
  color: #0f172a;
  background: #ffffff;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.kpi-card {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.kpi-card span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.kpi-card strong {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-heading);
  font-size: 2rem;
}

.table-darkish {
  color: rgba(255, 255, 255, 0.92);
}

.table-darkish thead th {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.table-darkish td,
.table-darkish th {
  border-color: rgba(255, 255, 255, 0.08);
}

.badge-soft {
  background: rgba(248, 184, 75, 0.12);
  color: #ffd78f;
  border: 1px solid rgba(248, 184, 75, 0.18);
}

.row-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.muted-small {
  color: var(--muted);
  font-size: 0.9rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }

  50% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

@keyframes voicePulse {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

@keyframes float {
  from {
    transform: translateY(0px) translateX(0px);
  }

  to {
    transform: translateY(-16px) translateX(10px);
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 1rem 0 0.5rem;
  }

  .hero-section h1 {
    max-width: 12ch;
  }

  .admin-teaser {
    padding: 1.35rem;
  }

  .kpi-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .hero-section,
  .feature-section,
  .workflow-section,
  .admin-section {
    padding: 4rem 0;
  }

  .hero-section h1 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .panel-footer {
    grid-template-columns: 1fr;
  }

  .chatbot-widget {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 5.2rem;
    width: auto;
    max-height: calc(100vh - 6rem);
    border-radius: 24px;
  }

  .chatbot-launcher {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  body.chatbot-only-page .chatbot-widget {
    top: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
  }

  .launcher-text {
    display: none;
  }

  .chatbot-header {
    flex-direction: column;
    align-items: stretch;
  }

  .chatbot-toolbar {
    justify-content: space-between;
  }

  .chatbot-messages {
    flex-basis: 12rem;
    min-height: 12rem;
    max-height: 15rem;
  }
}

body.admin-dashboard {
  --accent: #6ee7b7;
  --accent-2: #38bdf8;
  --accent-3: #dffdf0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 12% 12%, rgba(110, 231, 183, 0.14), transparent 22%),
    radial-gradient(circle at 82% 8%, rgba(56, 189, 248, 0.14), transparent 24%),
    radial-gradient(circle at 50% 80%, rgba(14, 165, 233, 0.08), transparent 28%),
    linear-gradient(180deg, #040810 0%, #07101c 50%, #050b14 100%);
  overflow-x: hidden;
}

body.admin-dashboard::before,
body.admin-dashboard::after {
  opacity: 0.18;
}

body.admin-dashboard::before {
  background: rgba(56, 189, 248, 0.24);
}

body.admin-dashboard::after {
  background: rgba(110, 231, 183, 0.22);
}

body.admin-dashboard .glass-card,
body.admin-dashboard .admin-panel {
  background: rgba(8, 16, 28, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(20px);
}

body.admin-dashboard .section-kicker {
  background: rgba(110, 231, 183, 0.08);
  border-color: rgba(110, 231, 183, 0.18);
  color: #dffdf0;
}

body.admin-dashboard .section-kicker-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

body.admin-dashboard .btn-outline-primary-premium {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(110, 231, 183, 0.16);
}

body.admin-dashboard .btn-outline-primary-premium:hover,
body.admin-dashboard .btn-outline-primary-premium:focus {
  color: #fff;
  border-color: rgba(56, 189, 248, 0.24);
}

body.admin-dashboard .table-darkish tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

body.admin-dashboard .status-badge-soft {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.18);
  color: #cdefff;
}

body.admin-dashboard .table-pill {
  background: rgba(110, 231, 183, 0.12);
  color: #e9fff5;
}

body.admin-dashboard .admin-nav a.active {
  background: linear-gradient(135deg, rgba(110, 231, 183, 0.14), rgba(56, 189, 248, 0.12));
  border-color: rgba(110, 231, 183, 0.2);
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 19rem) minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  align-items: start;
}

.admin-sidebar {
  position: sticky;
  top: 1rem;
  min-height: calc(100vh - 2rem);
  padding: 1.2rem;
  border-radius: 30px;
  display: grid;
  gap: 1rem;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.admin-brand strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
}

.admin-brand small {
  display: block;
  color: var(--muted);
}

.admin-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 18px;
  color: #07101c;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 18px 30px rgba(248, 184, 75, 0.24);
}

.admin-brand-mark-logo {
  background: #ffffff;
  padding: 0.4rem;
  box-shadow: 0 12px 26px rgba(7, 16, 28, 0.3), inset 0 0 0 1px rgba(12, 42, 74, 0.06);
}

.admin-brand-mark-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.admin-nav {
  display: grid;
  gap: 0.5rem;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
}

.admin-nav a i {
  color: var(--accent-3);
}

.admin-nav a:hover,
.admin-nav a.active {
  background: linear-gradient(135deg, rgba(248, 184, 75, 0.14), rgba(110, 231, 183, 0.1));
  border-color: rgba(110, 231, 183, 0.16);
  transform: translateX(4px);
}

.admin-sidebar-card {
  margin-top: auto;
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #dffdf0;
  background: rgba(110, 231, 183, 0.08);
  border: 1px solid rgba(110, 231, 183, 0.14);
}

.admin-live-dot,
.admin-status-dot {
  width: 0.56rem;
  height: 0.56rem;
  border-radius: 999px;
  background: #6ee7b7;
  box-shadow: 0 0 0 0 rgba(110, 231, 183, 0.35);
  animation: adminPulse 2.2s ease-in-out infinite;
}

.admin-sidebar-card strong {
  display: block;
  margin-top: 0.9rem;
  font-family: var(--font-heading);
  font-size: 1rem;
}

.admin-sidebar-card p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.admin-sidebar-footer {
  display: grid;
  gap: 0.7rem;
}

.admin-main {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.admin-topbar {
  position: relative;
  z-index: 12;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 1.15rem;
  padding: 1.25rem 1.35rem;
  border-radius: 30px;
}

.admin-topbar-copy h1 {
  margin: 0.75rem 0 0.55rem;
  max-width: 16ch;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.45rem);
  line-height: 1;
}

.admin-topbar-copy p {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  line-height: 1.7;
}

.admin-topbar-tools {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.admin-search-shell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-search-shell i {
  color: var(--accent-3);
}

.admin-search-shell input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
}

.admin-search-shell input::placeholder {
  color: rgba(150, 168, 198, 0.85);
}

.admin-search-shell button {
  border: 0;
  padding: 0.48rem 0.75rem;
  border-radius: 12px;
  color: var(--text);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
}

.admin-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.admin-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 0.92rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-weight: 700;
}

.admin-alert {
  margin: 0;
  border-radius: 18px;
}

.admin-section {
  padding-top: 0.1rem;
}

.admin-section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-section-head h2 {
  margin: 0.35rem 0 0;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.4vw, 2.05rem);
  line-height: 1.02;
}

.admin-section-head-compact {
  margin-bottom: 1rem;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
  gap: 1.15rem;
  align-items: stretch;
}

.admin-hero-copy h2 {
  margin: 0.85rem 0 0.7rem;
  max-width: 14ch;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.98;
}

.admin-hero-copy p {
  margin: 0;
  max-width: 54ch;
  color: var(--muted);
  line-height: 1.8;
}

.admin-hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  align-content: start;
}

.metric-card,
.analytics-card,
.quick-action-card,
.pipeline-stage,
.timeline-item {
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.metric-card {
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.45rem;
}

.metric-card:hover,
.analytics-card:hover,
.quick-action-card:hover,
.pipeline-stage:hover,
.timeline-item:hover {
  transform: translateY(-3px);
  border-color: rgba(110, 231, 183, 0.18);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.metric-icon,
.analytics-icon,
.quick-action-icon {
  display: inline-grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 16px;
  color: #08111d;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 16px 28px rgba(248, 184, 75, 0.18);
}

.metric-label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.metric-card strong {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.metric-card p {
  margin: 0;
  color: var(--muted);
}

.metric-skeleton {
  min-height: 8.25rem;
  border-radius: 22px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  background-size: 200% 100%;
  animation: shimmer 1.8s linear infinite;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.analytics-card {
  padding: 1.1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.65rem;
}

.analytics-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.analytics-card strong {
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 3.7vw, 2.45rem);
}

.analytics-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.analytics-trend {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
}

.analytics-trend.up {
  color: #9df8c8;
}

.analytics-trend.down {
  color: #ffc3a8;
}

.analytics-trend.flat {
  color: var(--muted);
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.quick-action-card {
  text-align: left;
  min-height: 11rem;
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: inherit;
}

.quick-action-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.quick-action-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.admin-studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  gap: 1rem;
  align-items: start;
}

.admin-side-stack {
  display: grid;
  gap: 1rem;
}

.admin-studio-panel,
.admin-pipeline-panel,
.admin-activity-panel,
.admin-table-panel {
  height: 100%;
}

.admin-pills,
.admin-tabs {
  gap: 0.55rem;
  border-bottom: 0;
}

.admin-pills .nav-link,
.admin-tabs .nav-link {
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 0.72rem 0.95rem;
  font-weight: 700;
}

.admin-pills .nav-link i,
.admin-tabs .nav-link i {
  margin-right: 0.35rem;
}

.admin-pills .nav-link.active,
.admin-tabs .nav-link.active {
  color: #07101c;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
}

.admin-tab-content {
  padding-top: 1rem;
}

.admin-form {
  display: grid;
  gap: 1rem;
}

.admin-form .form-label {
  font-weight: 700;
  color: rgba(238, 245, 255, 0.92);
}

.admin-form .form-control,
.admin-form .form-select {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: none;
}

.admin-form .form-control::placeholder {
  color: rgba(150, 168, 198, 0.82);
}

.admin-form .form-control:focus,
.admin-form .form-select:focus {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-color: rgba(110, 231, 183, 0.28);
  box-shadow: 0 0 0 0.18rem rgba(110, 231, 183, 0.1);
}

.admin-form .form-select option {
  color: #0f172a;
  background: #ffffff;
}

.admin-form textarea.form-control {
  min-height: 8rem;
}

.admin-form-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pdf-upload-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: 1rem;
  align-items: start;
}

.admin-upload-form {
  min-width: 0;
}

.admin-file-input {
  padding-top: 0.82rem;
  padding-bottom: 0.82rem;
}

.pdf-upload-guide {
  padding: 1.15rem;
  border-radius: 24px;
  display: grid;
  gap: 0.9rem;
}

.pdf-upload-guide h3 {
  margin: 0.35rem 0 0;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  line-height: 1.08;
}

.pdf-upload-guide p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.upload-checklist {
  display: grid;
  gap: 0.55rem;
}

.upload-checklist span {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 0.85rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 600;
}

.upload-checklist i {
  color: var(--accent-3);
}

.lead-stage-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.lead-stage-tab {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.55rem 0.82rem;
  border-radius: 999px;
  font-weight: 700;
}

.lead-stage-tab.active {
  color: #07101c;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
}

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.pipeline-stage {
  text-align: left;
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: inherit;
  display: grid;
  gap: 0.25rem;
}

.pipeline-stage span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pipeline-stage strong {
  font-family: var(--font-heading);
  font-size: 1.7rem;
}

.pipeline-stage small {
  color: var(--muted);
}

.admin-lead-panel {
  display: grid;
  gap: 1rem;
}

.lead-filter-shell {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  min-width: 12rem;
}

.lead-filter-shell .form-select {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: none;
}

.lead-filter-shell .form-select:focus {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-color: rgba(56, 189, 248, 0.28);
  box-shadow: 0 0 0 0.18rem rgba(56, 189, 248, 0.1);
}

.lead-filter-shell .form-select option {
  color: #0f172a;
  background: #ffffff;
}

.lead-pdf-range {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.lead-pdf-range .form-control {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: none;
  padding: 0.35rem 0.6rem;
  color-scheme: dark;
}

.lead-pdf-range .form-control:focus {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-color: rgba(56, 189, 248, 0.28);
  box-shadow: 0 0 0 0.18rem rgba(56, 189, 248, 0.1);
}

.lead-pdf-range-sep {
  color: var(--muted, rgba(238, 245, 255, 0.6));
  font-size: 0.82rem;
}

.lead-browser-summary {
  margin-top: -0.15rem;
}

.lead-browser-layout {
  display: grid;
  grid-template-columns: minmax(20rem, 0.88fr) minmax(0, 1.12fr);
  gap: 1rem;
  align-items: start;
}

.lead-browser-list {
  display: grid;
  gap: 0.75rem;
  max-height: 36rem;
  overflow: auto;
  padding-right: 0.2rem;
}

.lead-browser-item {
  appearance: none;
  text-align: left;
  width: 100%;
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: inherit;
  display: grid;
  gap: 0.7rem;
}

.lead-browser-item:hover,
.lead-browser-item:focus-visible,
.lead-browser-item.is-active {
  background: rgba(110, 231, 183, 0.08);
  border-color: rgba(56, 189, 248, 0.22);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
}

.lead-browser-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.lead-browser-item-head strong {
  font-family: var(--font-heading);
  font-size: 1rem;
}

.lead-browser-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.lead-browser-item-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.lead-browser-item p {
  margin: 0;
  color: var(--text);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lead-browser-item small {
  color: var(--muted);
}

.lead-details-card {
  min-width: 0;
}

.lead-details-shell {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lead-details-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.lead-details-head h3 {
  margin: 0.45rem 0 0.35rem;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
}

.lead-details-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.lead-details-meta {
  display: grid;
  justify-items: end;
  gap: 0.4rem;
  text-align: right;
}

.lead-details-meta small {
  color: var(--muted);
}

.lead-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.85rem;
}

.lead-details-grid article {
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(8, 16, 28, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.35rem;
}

.lead-details-grid span {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.lead-details-grid strong {
  display: block;
  color: #fff;
  line-height: 1.45;
  word-break: normal;
  overflow-wrap: anywhere;
}

.lead-details-message {
  padding: 1rem 1rem 1.05rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(110, 231, 183, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(110, 231, 183, 0.14);
}

.lead-details-message span {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #dffdf0;
}

.lead-details-message p {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
}

.lead-details-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.lead-details-empty {
  padding: 1.35rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  color: var(--muted);
}

.lead-details-empty strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.lead-details-empty p {
  margin: 0;
}

.admin-table tbody tr[data-lead-select] {
  cursor: pointer;
}

.admin-table tbody tr[data-lead-select]:hover {
  background: rgba(255, 255, 255, 0.04);
}

.admin-table tbody tr.is-selected {
  background: rgba(110, 231, 183, 0.08);
}

.admin-table tbody tr.is-selected td {
  color: #fff;
}

.activity-timeline {
  display: grid;
  gap: 0.85rem;
}

.activity-empty {
  padding: 0.6rem 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-icon {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #07101c;
}

.timeline-pdf {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.timeline-website {
  background: linear-gradient(135deg, var(--accent-3), #9ae6ff);
}

.timeline-faq {
  background: linear-gradient(135deg, #9b8cff, #c4b5fd);
}

.timeline-lead {
  background: linear-gradient(135deg, #7cffa3, #12c2b0);
}

.timeline-copy {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.timeline-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
}

.timeline-copy strong {
  font-family: var(--font-heading);
}

.timeline-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.timeline-copy small {
  color: var(--muted);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.68rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.status-badge-soft {
  background: rgba(248, 184, 75, 0.12);
  border-color: rgba(248, 184, 75, 0.18);
  color: #ffd78f;
}

.status-badge-success {
  background: rgba(110, 231, 183, 0.14);
  border-color: rgba(110, 231, 183, 0.18);
  color: #9df8c8;
}

.status-badge-muted {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.admin-table-panel .table-responsive {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-table {
  margin-bottom: 0;
}

.admin-table thead th {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.admin-table td,
.admin-table th {
  border-color: rgba(255, 255, 255, 0.08);
  vertical-align: middle;
}

.table-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6rem;
  padding: 0.18rem 0.46rem;
  margin-left: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.admin-table .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.admin-table .btn-outline-light:hover {
  background: rgba(110, 231, 183, 0.12);
}

.admin-dashboard .fw-semibold,
.admin-dashboard .text-white {
  color: #fff !important;
}

.admin-dashboard .text-muted {
  color: var(--muted) !important;
}

.admin-dashboard .muted-small {
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-dashboard .hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.admin-dashboard .hero-chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  color: #ecf5ff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-dashboard .hero-chips i {
  color: #9df8c8;
}

.admin-dashboard .btn-primary-premium {
  box-shadow: 0 18px 38px rgba(110, 231, 183, 0.18);
}

.admin-dashboard .btn-primary-premium:hover,
.admin-dashboard .btn-primary-premium:focus {
  box-shadow: 0 22px 44px rgba(110, 231, 183, 0.24);
}

body.admin-login-page {
  position: relative;
  display: grid;
  place-items: center;
  overflow-x: hidden;
  padding: 1rem;
}

body.admin-login-page::before,
body.admin-login-page::after {
  content: '';
  position: fixed;
  inset: auto;
  width: 22rem;
  height: 22rem;
  border-radius: 999px;
  filter: blur(85px);
  opacity: 0.26;
  pointer-events: none;
  z-index: 0;
}

body.admin-login-page::before {
  top: -6rem;
  left: -5rem;
  background: rgba(56, 189, 248, 0.2);
}

body.admin-login-page::after {
  right: -5rem;
  bottom: -7rem;
  background: rgba(110, 231, 183, 0.22);
}

body.admin-login-page .admin-login-shell {
  width: min(74rem, 100%);
  min-height: calc(100vh - 2rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(22rem, 28rem);
  gap: 1.1rem;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

body.admin-login-page .admin-login-hero,
body.admin-login-page .admin-login-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border-radius: 32px;
}

body.admin-login-page .admin-login-hero {
  display: grid;
  align-content: end;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.1), transparent 26%),
    radial-gradient(circle at bottom left, rgba(110, 231, 183, 0.1), transparent 24%),
    rgba(8, 16, 28, 0.82);
}

body.admin-login-page .admin-login-hero::after,
body.admin-login-page .admin-login-card::after {
  content: '';
  position: absolute;
  inset: 1rem;
  border-radius: calc(32px - 0.5rem);
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

body.admin-login-page .admin-login-hero h1 {
  margin: 0.7rem 0 0;
  max-width: 14ch;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.94;
}

body.admin-login-page .admin-login-hero p {
  margin: 0;
  max-width: 40ch;
  color: var(--muted);
  line-height: 1.75;
}

body.admin-login-page .admin-login-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

body.admin-login-page .admin-login-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  color: #ecf5ff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 700;
}

body.admin-login-page .admin-login-badges i {
  color: #9df8c8;
}

body.admin-login-page .admin-login-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

body.admin-login-page .admin-login-preview article {
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.admin-login-page .admin-login-preview strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

body.admin-login-page .admin-login-preview span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

body.admin-login-page .admin-login-card {
  display: grid;
  align-content: center;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(8, 16, 28, 0.88), rgba(8, 16, 28, 0.8)),
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.08), transparent 28%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

body.admin-login-page .admin-login-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.52rem 0.78rem;
  border-radius: 999px;
  color: #dffdf0;
  background: rgba(110, 231, 183, 0.08);
  border: 1px solid rgba(110, 231, 183, 0.16);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.admin-login-page .admin-login-status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #6ee7b7;
  box-shadow: 0 0 0 8px rgba(110, 231, 183, 0.08);
}

body.admin-login-page .admin-login-card__head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

body.admin-login-page .admin-login-mark {
  width: 3.35rem;
  height: 3.35rem;
  display: inline-grid;
  place-items: center;
  border-radius: 20px;
  color: #07101c;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 18px 34px rgba(110, 231, 183, 0.22);
}

body.admin-login-page .admin-login-card__head strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

body.admin-login-page .admin-login-card__head small {
  display: block;
  color: var(--muted);
  margin-top: 0.2rem;
}

body.admin-login-page .admin-login-alert {
  margin: 0;
  border-radius: 18px;
}

body.admin-login-page .admin-login-form {
  display: grid;
  gap: 0.7rem;
}

body.admin-login-page .admin-login-form .form-label {
  margin: 0.1rem 0 0;
  color: rgba(225, 237, 249, 0.78);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.admin-login-page .admin-login-field {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 0.95rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.admin-login-page .admin-login-password-field {
  padding-right: 0.6rem;
}

body.admin-login-page .admin-login-field i {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 14px;
  color: #9df8c8;
  background: rgba(110, 231, 183, 0.1);
}

body.admin-login-page .admin-login-field .form-control {
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  box-shadow: none;
  font-size: 0.98rem;
}

body.admin-login-page .admin-login-password-field .form-control {
  padding-right: 0.4rem;
}

body.admin-login-page .admin-login-field .form-control::placeholder {
  color: rgba(150, 168, 198, 0.88);
}

body.admin-login-page .admin-login-field:focus-within {
  border-color: rgba(110, 231, 183, 0.32);
  box-shadow: 0 0 0 0.18rem rgba(110, 231, 183, 0.08);
  transform: translateY(-1px);
}

body.admin-login-page .admin-login-submit {
  width: 100%;
  min-height: 3.4rem;
  margin-top: 0.45rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 18px 38px rgba(110, 231, 183, 0.18);
}

body.admin-login-page .admin-login-submit:hover,
body.admin-login-page .admin-login-submit:focus {
  box-shadow: 0 22px 44px rgba(110, 231, 183, 0.24);
  transform: translateY(-1px);
}

body.admin-login-page .admin-password-toggle {
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 14px;
  color: #dffdf0;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

body.admin-login-page .admin-password-toggle:hover,
body.admin-login-page .admin-password-toggle:focus {
  background: rgba(110, 231, 183, 0.14);
  color: #fff;
  transform: translateY(-1px);
}

body.admin-login-page .admin-password-toggle:focus-visible {
  outline: 2px solid rgba(157, 248, 200, 0.32);
  outline-offset: 2px;
}

body.admin-login-page .admin-login-note {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(225, 237, 249, 0.82);
  line-height: 1.55;
}

body.admin-login-page .admin-login-note i {
  color: #9df8c8;
  margin-top: 0.1rem;
}

body.admin-login-page .admin-login-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
}

body.admin-login-page .admin-login-footer a {
  color: #dffdf0;
  text-decoration: none;
  font-weight: 700;
}

@keyframes adminPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(110, 231, 183, 0.35);
  }

  50% {
    transform: scale(1.04);
    box-shadow: 0 0 0 12px rgba(110, 231, 183, 0);
  }
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

@media (max-width: 1399.98px) {
  .admin-layout {
    grid-template-columns: minmax(16rem, 18rem) minmax(0, 1fr);
  }

  .admin-hero,
  .admin-topbar {
    grid-template-columns: 1fr;
  }

  .analytics-grid,
  .quick-actions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-studio-grid {
    grid-template-columns: 1fr;
  }

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

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

  .admin-sidebar {
    min-height: auto;
  }
}

@media (max-width: 991.98px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: relative;
    top: auto;
  }

  .admin-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-topbar {
    position: relative;
    top: auto;
  }

  .lead-filter-shell {
    width: 100%;
  }

  .lead-filter-shell .form-select {
    width: 100%;
  }

  .lead-details-grid {
    grid-template-columns: 1fr;
  }

  .lead-details-meta {
    justify-items: start;
    text-align: left;
  }

  body.admin-login-page {
    padding: 0.75rem;
  }

  body.admin-login-page .admin-login-shell {
    grid-template-columns: 1fr;
    min-height: calc(100vh - 1.5rem);
  }

  body.admin-login-page .admin-login-preview {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .admin-layout {
    padding: 0.75rem;
  }

  .admin-sidebar,
  .admin-topbar,
  .admin-panel {
    padding: 1rem;
  }

  .analytics-grid,
  .quick-actions-grid,
  .pipeline-grid {
    grid-template-columns: 1fr;
  }

  .admin-search-shell {
    flex-wrap: wrap;
  }

  .admin-search-shell button,
  .admin-topbar-actions .btn,
  .admin-sidebar-footer .btn {
    width: 100%;
  }

  .admin-form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .lead-details-actions .btn {
    width: 100%;
  }

  .lead-browser-list {
    max-height: 28rem;
  }

  .timeline-head {
    flex-direction: column;
    align-items: flex-start;
  }

  body.admin-login-page .admin-login-hero,
  body.admin-login-page .admin-login-card {
    padding: 1.1rem;
    border-radius: 26px;
  }

  body.admin-login-page .admin-login-hero h1 {
    max-width: 100%;
    font-size: clamp(1.95rem, 10vw, 3rem);
  }
}
