@import url(https://fonts.googleapis.com/css2?family=Pacifico&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Pacifico&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Kadwa:wght@400;700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Kadwa:wght@400;700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap);
/** @format */

body {
  box-sizing: border-box;
  margin: 0;
  font-family: Poppins;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

.k-calendar .k-calendar-td.k-selected .k-calendar-cell-inner,
.k-calendar .k-calendar-td.k-selected .k-link {
  background-image: linear-gradient(#01203a, #0358a0) !important;
  border: #01203a !important;
}
.k-time-header .k-time-now,
.k-time-selector-header .k-time-now {
  color: #01203a !important;
}

.k-checkbox + .k-label,
.k-checkbox-wrap + .k-label,
.k-checkbox + .k-checkbox-label,
.k-checkbox-wrap + .k-checkbox-label {
  display: inline;
  margin-inline-start: 4px;
}

.k-checkbox-label {
  font-size: 13px !important;
  font-weight: 500px;
  line-height: 21px;
}

.k-checkbox:checked,
.k-checkbox.k-checked {
  border-color: #03559a !important;
  color: white;
  background-color: #03559a !important;
}

.k-button-md {
  padding-block: 0.375rem;
  padding-inline: 0.375rem;
}

.k-overlay {
  opacity: 0.8;
}

.text-break {
  max-width: 80% !important;
  overflow-wrap: break-word !important;
  flex-wrap: wrap !important;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #eae5e5;
}

::-webkit-scrollbar-thumb {
  background: #bababe;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.k-clear-value {
  color: red;
}
.upload-dialog .k-upload .k-dropzone,
.k-upload .k-upload-dropzone {
  justify-content: end !important;
}

.k-drawer-item {
  line-height: 1 !important;
}

.k-grid-header .k-sort-icon,
.k-grid-header .k-sort-order {
  color: #ffffff;
}

.k-filtercell-operator {
  display: none;
}

/* ── Page base ── */
.lp-page {
  background: #f3f7fc;
  font-family: 'Poppins', 'Inter', sans-serif;
  color: #0f2236;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ── "Talk to an Expert" button ── */
.btn-expert {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 10px;
  background: transparent;
  border: 2px solid rgba(3,88,160,.5);
  color: #0358a0;
  font-family: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: all .18s;
}
.btn-expert:hover { background: #0358a0; color: #fff; border-color: #0358a0; }
.btn-expert-white { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-expert-white:hover { background: rgba(255,255,255,.18); border-color: #fff; }
.btn-expert-sm { padding: 7px 16px; font-size: 13px; border-radius: 8px; }

/* ── Header ── */
.lp-header {
  background: rgba(1,32,58,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 200;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: box-shadow .2s;
}
.lp-header-inner {
  max-width: 1120px; margin: 0 auto;
  padding: 0 48px; height: 66px;
  display: flex; align-items: center; justify-content: space-between;
}
.lp-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.lp-logo-mark {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, #4db8ff, #0358a0);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: 0 2px 10px rgba(77,184,255,.3);
  flex-shrink: 0;
}
.lp-logo-img { height: 34px; }
.lp-logo-name { color: #fff; font-size: 16px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.lp-logo-tool { color: rgba(255,255,255,.45); font-size: 11px; font-weight: 500; }
.lp-nav { display: flex; align-items: center; gap: 6px; }
.lp-nav-link {
  color: rgba(255,255,255,.6); text-decoration: none;
  font-size: 14px; font-weight: 500;
  padding: 7px 14px; border-radius: 8px;
  transition: color .2s, background .2s;
}
.lp-nav-link:hover { color: #fff; background: rgba(255,255,255,.08); }

/* ── Hero ── */
.lp-hero {
  background: linear-gradient(135deg, #01203a 0%, #0358a0 100%);
  min-height: 88vh;
  display: flex; align-items: center;
  padding: 80px 48px;
  position: relative; overflow: hidden;
}
.lp-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.lp-hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.lp-hero-blob-1 { width: 520px; height: 520px; background: rgba(6,119,212,.32); top: -140px; right: 8%; }
.lp-hero-blob-2 { width: 360px; height: 360px; background: rgba(77,184,255,.16); bottom: -80px; left: 4%; }
.lp-hero-inner {
  max-width: 1120px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  position: relative; z-index: 1;
}
.lp-hero-left { display: flex; flex-direction: column; gap: 22px; }
.lp-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 100px; padding: 7px 18px;
  font-size: 12px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  color: rgba(255,255,255,.9); width: fit-content;
}
.lp-badge-dot {
  width: 7px; height: 7px;
  background: #3ecf8e; border-radius: 50%;
  animation: lpBadgePulse 2s infinite;
}
@keyframes lpBadgePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(62,207,142,.5); }
  50%       { opacity: .8; box-shadow: 0 0 0 6px rgba(62,207,142,0); }
}
.lp-hero-title {
  font-family: 'Kadwa', 'Poppins', serif;
  font-size: clamp(34px, 4.2vw, 54px);
  color: #fff; line-height: 1.15; letter-spacing: -.01em;
}
.lp-hero-accent { color: #4db8ff; }
.lp-hero-sub {
  font-size: 16px; color: rgba(255,255,255,.7);
  line-height: 1.75; max-width: 460px;
}
.lp-hero-disclaimer {
  font-size: 11px; color: rgba(255,255,255,.45);
  line-height: 1.6; max-width: 440px;
}
.lp-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.lp-btn-primary {
  background: #fff; color: #0358a0;
  border: none; padding: 14px 28px;
  border-radius: 10px; font-size: 15px; font-weight: 700;
  cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(0,0,0,.22);
  font-family: inherit;
}
.lp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(0,0,0,.28); background: #eef6ff; }
.lp-btn-ghost {
  background: transparent; color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.3);
  padding: 13px 24px; border-radius: 10px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  text-decoration: none; font-family: inherit;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .2s;
}
.lp-btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.55); color: #fff; }
.lp-hero-meta {
  display: inline-flex; gap: 14px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(255,255,255,.5);
}
.lp-meta-dot { color: rgba(255,255,255,.25); }

/* hero — right mockup */
.lp-hero-right { position: relative; }
.lp-mockup {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px; padding: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 24px 80px rgba(0,0,0,.3);
  animation: lpFloatCard 5s ease-in-out infinite;
}
@keyframes lpFloatCard {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.lp-mockup-topbar {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 16px;
}
.lp-mock-dots { display: flex; gap: 6px; }
.lp-mock-dot  { width: 10px; height: 10px; border-radius: 50%; }
.lp-mock-dot.r { background: #ff5f57; }
.lp-mock-dot.y { background: #febc2e; }
.lp-mock-dot.g { background: #28c840; }
.lp-mock-title { font-size: 12px; color: rgba(255,255,255,.5); margin-left: auto; font-weight: 500; letter-spacing: .04em; }
.lp-mock-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-bottom: 14px;
}
.lp-mock-stat {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px; padding: 13px 10px; text-align: center;
}
.lp-mock-stat-val { font-size: 21px; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 4px; }
.lp-mock-stat-val.green { color: #3ecf8e; }
.lp-mock-stat-val.amber { color: #f59e0b; }
.lp-mock-stat-val.red   { color: #ff7b7b; }
.lp-mock-stat-lbl { font-size: 9.5px; color: rgba(255,255,255,.5); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.lp-mock-bars { margin-bottom: 14px; }
.lp-mock-bar-row {
  display: flex; justify-content: space-between;
  font-size: 11px; color: rgba(255,255,255,.55);
  margin-bottom: 5px; font-weight: 500;
}
.lp-mock-bar-track {
  height: 6px; background: rgba(255,255,255,.1);
  border-radius: 3px; overflow: hidden; margin-bottom: 9px;
}
.lp-mock-bar-fill { height: 100%; border-radius: 3px; }
.lp-mock-bar-fill.blue  { background: linear-gradient(90deg, #0677d4, #4db8ff); }
.lp-mock-bar-fill.green { background: linear-gradient(90deg, #2eb88a, #3ecf8e); }
.lp-mock-bar-fill.amber { background: linear-gradient(90deg, #d97706, #f59e0b); }
.lp-mock-gaps { display: flex; flex-direction: column; gap: 7px; }
.lp-mock-gap-item {
  display: flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px; padding: 9px 11px;
}
.lp-severity {
  padding: 2px 7px; border-radius: 4px;
  font-size: 9.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; flex-shrink: 0;
}
.lp-severity.critical { background: rgba(239,68,68,.2); color: #ff7b7b; }
.lp-severity.high     { background: rgba(245,158,11,.2); color: #fbbf24; }
.lp-severity.medium   { background: rgba(99,102,241,.2); color: #a5b4fc; }
.lp-gap-text { font-size: 11px; color: rgba(255,255,255,.7); font-weight: 500; }
.lp-float-badge {
  position: absolute; bottom: -22px; left: -28px;
  background: #fff; border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 16px 48px rgba(1,32,58,.22);
  display: flex; align-items: center; gap: 10px;
  animation: lpFloatBadge 4s ease-in-out infinite; z-index: 2;
}
@keyframes lpFloatBadge {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%       { transform: translateY(-6px) rotate(1deg); }
}
.lp-float-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #0358a0, #0677d4);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.lp-float-text { line-height: 1.3; }
.lp-float-text strong { display: block; font-size: 13px; color: #01203a; font-weight: 700; }
.lp-float-text span   { font-size: 11px; color: #5b7592; }

/* hero animations */
.lp-hero-left > * { animation: lpHeroIn .7s ease both; }
.lp-hero-left > *:nth-child(1) { animation-delay: .1s; }
.lp-hero-left > *:nth-child(2) { animation-delay: .22s; }
.lp-hero-left > *:nth-child(3) { animation-delay: .34s; }
.lp-hero-left > *:nth-child(4) { animation-delay: .46s; }
.lp-hero-left > *:nth-child(5) { animation-delay: .56s; }
.lp-hero-left > *:nth-child(6) { animation-delay: .64s; }
.lp-hero-right { animation: lpHeroIn .9s ease .5s both; }
@keyframes lpHeroIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Stats bar ── */
.lp-stats-bar {
  background: #fff;
  border-top: 1px solid #dce8f4;
  border-bottom: 1px solid #dce8f4;
  padding: 0 48px;
}
.lp-stats-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: stretch;
}
.lp-stat {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: 14px; padding: 26px 20px;
  border-right: 1px solid #dce8f4;
  transition: background .2s;
}
.lp-stat:last-child { border-right: none; }
.lp-stat:hover { background: #f3f7fc; }
.lp-stat-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(3,88,160,.08), rgba(6,119,212,.12));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.lp-stat-icon svg { width: 22px; height: 22px; }
.lp-stat-text strong { display: block; font-size: 21px; font-weight: 800; color: #01203a; line-height: 1; }
.lp-stat-text span   { font-size: 12px; color: #5b7592; font-weight: 500; margin-top: 2px; display: block; }

/* ── Section base ── */
.lp-section {
  padding: 88px 48px;
  max-width: 1120px; margin: 0 auto;
}
.lp-section-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.12); color: #4db8ff;
  border-radius: 100px; padding: 5px 14px;
  font-size: 12px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  margin-bottom: 16px;
}
.lp-section-pill svg { width: 13px; height: 13px; }
.lp-section-pill-light {
  background: rgba(3,88,160,.08); color: #0358a0;
}
.lp-section-title {
  font-family: 'Kadwa', 'Poppins', serif;
  font-size: clamp(26px, 3vw, 38px);
  color: #fff; line-height: 1.25;
  letter-spacing: -.01em; margin-bottom: 14px;
}
.lp-section-title-dark { color: #01203a; }
.lp-section-sub {
  font-size: 16px; color: rgba(255,255,255,.55);
  max-width: 520px; line-height: 1.75;
  margin-bottom: 52px;
}
.lp-section-sub-dark { color: #5b7592; }

/* ── Dark "How it works" wrap ── */
.lp-dark-wrap {
  background: #01203a;
  position: relative; overflow: hidden;
}
.lp-dark-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 40px 40px; pointer-events: none;
}
.lp-dark-wrap .lp-section { position: relative; z-index: 1; }
.lp-steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lp-step-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 32px 24px 28px;
  text-align: center;
  transition: background .25s, transform .25s;
}
.lp-step-card:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.lp-step-num-wrap {
  width: 70px; height: 70px; border-radius: 50%;
  background: rgba(3,88,160,.3);
  border: 2px solid rgba(6,119,212,.5);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  position: relative; z-index: 1;
  transition: background .25s, border-color .25s;
}
.lp-step-card:hover .lp-step-num-wrap { background: rgba(3,88,160,.55); border-color: #4db8ff; }
.lp-step-num-wrap svg { color: #4db8ff; }
.lp-step-index {
  position: absolute; top: -8px; right: -8px;
  width: 22px; height: 22px;
  background: #0677d4; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: #fff;
}
.lp-step-card h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 6px; letter-spacing: -.01em; }
.lp-step-meta { font-size: 11px; font-weight: 600; color: #4db8ff; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.lp-step-card p { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.65; }

/* ── Light section (features) ── */
.lp-light-section { background: #f3f7fc; }
.lp-cards-grid, .lp-cards-grid-4 {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.lp-card {
  background: #fff;
  border: 1px solid #e8f0fa;
  border-radius: 14px; padding: 24px 28px;
  box-shadow: 0 2px 12px rgba(1,32,58,.06);
  transition: transform .22s, box-shadow .22s;
  position: relative; overflow: hidden;
  display: flex; gap: 18px; align-items: flex-start;
}
.lp-card:hover { transform: translateY(-3px); box-shadow: 0 10px 40px rgba(1,32,58,.12); }
.lp-card::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; height: 60%;
  width: 4px; border-radius: 0 4px 4px 0;
}
.lp-card:nth-child(1)::before { background: linear-gradient(180deg, #0358a0 0%, rgba(3,88,160,.25) 100%); }
.lp-card:nth-child(2)::before { background: linear-gradient(180deg, #2eb88a 0%, rgba(46,184,138,.25) 100%); }
.lp-card:nth-child(3)::before { background: linear-gradient(180deg, #d97706 0%, rgba(217,119,6,.25) 100%); }
.lp-card:nth-child(4)::before { background: linear-gradient(180deg, #7c3aed 0%, rgba(124,58,237,.25) 100%); }
.lp-card-accent { display: none; }
.lp-card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.lp-card-icon svg { width: 22px; height: 22px; }
.lp-card-icon-1 { background: linear-gradient(135deg, rgba(3,88,160,.1), rgba(6,119,212,.16)); color: #0358a0; }
.lp-card-icon-2 { background: linear-gradient(135deg, rgba(62,207,142,.1), rgba(62,207,142,.2)); color: #2eb88a; }
.lp-card-icon-3 { background: linear-gradient(135deg, rgba(245,158,11,.1), rgba(245,158,11,.2)); color: #d97706; }
.lp-card-icon-4 { background: linear-gradient(135deg, rgba(124,58,237,.1), rgba(124,58,237,.2)); color: #7c3aed; }
.lp-card-body { flex: 1; min-width: 0; }
.lp-card h3 { font-size: 15px; font-weight: 700; color: #01203a; margin-bottom: 6px; letter-spacing: -.01em; }
.lp-card p { font-size: 13.5px; color: #5b7592; line-height: 1.65; margin: 0; }

/* ── Report card traffic-light list ── */
.lp-card-tl-list {
  margin-top: 10px;
  display: flex; flex-direction: column; gap: 5px;
}
.lp-card-tl-row {
  display: flex; align-items: center; gap: 7px;
  background: #f6faff; border: 1px solid #dce8f4;
  border-radius: 7px; padding: 5px 8px;
}
.lp-tl-dot {
  width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0;
}
.lp-tl-dot.lp-tl-green { background: #16a34a; }
.lp-tl-dot.lp-tl-amber { background: #d97706; }
.lp-tl-dot.lp-tl-red   { background: #dc2626; }
.lp-tl-label {
  flex: 1; font-size: 11px; color: #3a5a7a; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.lp-tl-badge {
  font-size: 10px; font-weight: 700; padding: 2px 7px;
  border-radius: 20px; flex-shrink: 0; letter-spacing: .02em;
}
.lp-tl-badge-green { background: #dcfce7; color: #16a34a; }
.lp-tl-badge-amber { background: #fef3c7; color: #d97706; }
.lp-tl-badge-red   { background: #fee2e2; color: #dc2626; }

/* ── Why Securim ── */
.lp-why { background: #fff; padding: 96px 48px; }
.lp-why-inner { max-width: 1120px; margin: 0 auto; }
.lp-why-header {
  margin-bottom: 72px;
  padding-bottom: 56px;
  border-bottom: 1px solid #eef3fa;
}
.lp-why-heading-full { font-size: clamp(28px, 3.2vw, 44px); }
.lp-why-sub-full { max-width: none; }
.lp-why-block {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
  padding-bottom: 80px; margin-bottom: 80px;
  border-bottom: 1px solid #eef3fa;
}
.lp-why-block:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.lp-why-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #0358a0; margin-bottom: 14px;
}
.lp-why-heading {
  font-family: 'Kadwa', 'Poppins', serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700; color: #01203a;
  line-height: 1.25; margin-bottom: 16px;
}
.lp-why-desc { font-size: 15px; color: #5b7592; line-height: 1.75; margin-bottom: 24px; }
.lp-why-checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.lp-why-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #3a5a7a; line-height: 1.5; }
.lp-why-check svg { flex-shrink: 0; margin-top: 2px; }

/* Light mockup card (Block 1) */
.lp-why-mockup-light {
  background: #f6faff; border: 1px solid #dce8f4;
  border-radius: 18px; padding: 28px 28px 22px;
  box-shadow: 0 4px 28px rgba(1,32,58,.08);
}
.lp-wm-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #0358a0; margin-bottom: 14px; }
.lp-wm-question { font-size: 14px; font-weight: 600; color: #01203a; margin-bottom: 14px; line-height: 1.5; }
.lp-wm-chips { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.lp-wm-chip {
  padding: 9px 14px; border-radius: 9px; font-size: 13px;
  border: 1px solid #dce8f4; background: #fff; color: #3a5a7a; cursor: default;
}
.lp-wm-chip.lp-wm-chip-active {
  background: #eef5ff; border-color: #0358a0; color: #0358a0; font-weight: 600;
}
.lp-wm-divider { height: 1px; background: #dce8f4; margin-bottom: 14px; }
.lp-wm-result {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: #01203a; margin-bottom: 14px;
}
.lp-wm-result strong { color: #0358a0; }
.lp-wm-progress-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 11.5px; color: #94a3b8; }
.lp-wm-prog-track { flex: 1; height: 4px; background: #e2ecf8; border-radius: 4px; overflow: hidden; }
.lp-wm-prog-fill { height: 100%; background: linear-gradient(90deg, #0358a0, #4db8ff); border-radius: 4px; }

/* Dark mockup card (Blocks 2 & 3) */
.lp-why-mockup-dark {
  background: #01203a; border-radius: 18px; padding: 24px 24px 20px;
  box-shadow: 0 8px 40px rgba(1,32,58,.28);
}
.lp-wm-dark-header {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.55); margin-bottom: 18px;
}
.lp-wm-online-dot { width: 7px; height: 7px; border-radius: 50%; background: #2eb88a; margin-left: auto; }
.lp-wm-dark-stat { margin-bottom: 16px; }
.lp-wm-dark-num { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.lp-wm-dark-sub { font-size: 12px; color: rgba(255,255,255,.45); margin-top: 2px; }
.lp-wm-dark-rows { display: flex; flex-direction: column; gap: 8px; }
.lp-wm-dark-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 9px;
  font-size: 13px; color: rgba(255,255,255,.85);
}
.lp-wm-row-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.lp-wm-row-red  { background: rgba(220,38,38,.18); } .lp-wm-row-red  .lp-wm-row-dot { background: #dc2626; }
.lp-wm-row-amber { background: rgba(217,119,6,.18); } .lp-wm-row-amber .lp-wm-row-dot { background: #d97706; }
.lp-wm-row-blue  { background: rgba(59,130,246,.15); } .lp-wm-row-blue  .lp-wm-row-dot { background: #3b82f6; }
.lp-wm-row-green { background: rgba(46,184,138,.15); gap: 10px; }

/* Chat mockup (Block 3) */
.lp-wm-chat { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.lp-wm-chat-user {
  align-self: flex-end; background: rgba(255,255,255,.1);
  border-radius: 12px 12px 3px 12px; padding: 10px 14px;
  font-size: 13px; color: rgba(255,255,255,.85); max-width: 85%;
}
.lp-wm-chat-bot { display: flex; align-items: flex-start; gap: 10px; }
.lp-wm-bot-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, #0358a0, #4db8ff);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.lp-wm-bot-bubble {
  background: rgba(255,255,255,.08); border-radius: 3px 12px 12px 12px;
  padding: 10px 14px; font-size: 13px; color: rgba(255,255,255,.82); line-height: 1.55;
}
.lp-wm-bot-link { color: #4db8ff; font-weight: 600; white-space: nowrap; }
.lp-wm-dark-footer {
  display: flex; align-items: center; gap: 7px;
  font-size: 11.5px; color: rgba(255,255,255,.35); padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.lp-wm-footer-dot { width: 7px; height: 7px; border-radius: 50%; background: #2eb88a; flex-shrink: 0; }

/* ── Why Securim card animations ── */
@keyframes lp-why-fadein {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes lp-why-slide-r {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes lp-why-prog {
  from { width: 0; }
  to   { width: 30%; }
}
@keyframes lp-why-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(46,184,138,0); }
  50% { opacity: .85; transform: scale(1.25); box-shadow: 0 0 0 4px rgba(46,184,138,.25); }
}
@keyframes lp-why-chip-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(3,88,160,0); }
  50% { box-shadow: 0 0 0 5px rgba(3,88,160,.14); }
}

/* Initial hidden state for animatable children */
.lp-wm-label, .lp-wm-question,
.lp-wm-chip, .lp-wm-divider, .lp-wm-result, .lp-wm-progress-row,
.lp-wm-dark-header, .lp-wm-dark-stat,
.lp-wm-dark-row, .lp-wm-chat-user, .lp-wm-chat-bot, .lp-wm-dark-footer {
  opacity: 0;
}
.lp-wm-prog-fill { width: 0; }

/* Trigger animations when parent block becomes visible */

/* Block 1 — light card */
.lp-why-block.lp-visible .lp-wm-label        { animation: lp-why-fadein .35s ease forwards .05s; }
.lp-why-block.lp-visible .lp-wm-question     { animation: lp-why-fadein .35s ease forwards .15s; }
.lp-why-block.lp-visible .lp-wm-chip:nth-child(1) { animation: lp-why-fadein .35s ease forwards .28s; }
.lp-why-block.lp-visible .lp-wm-chip:nth-child(2) { animation: lp-why-fadein .35s ease forwards .40s; }
.lp-why-block.lp-visible .lp-wm-chip:nth-child(3) { animation: lp-why-fadein .35s ease forwards .52s; }
.lp-why-block.lp-visible .lp-wm-divider      { animation: lp-why-fadein .3s  ease forwards .65s; }
.lp-why-block.lp-visible .lp-wm-result       { animation: lp-why-fadein .35s ease forwards .72s; }
.lp-why-block.lp-visible .lp-wm-progress-row { animation: lp-why-fadein .35s ease forwards .82s; }
.lp-why-block.lp-visible .lp-wm-prog-fill    { animation: lp-why-prog   .8s  cubic-bezier(.4,0,.2,1) forwards .88s; }

/* Blocks 2 & 3 — dark cards */
.lp-why-block.lp-visible .lp-wm-dark-header          { animation: lp-why-fadein .35s ease forwards .05s; }
.lp-why-block.lp-visible .lp-wm-dark-stat            { animation: lp-why-fadein .4s  ease forwards .2s; }
.lp-why-block.lp-visible .lp-wm-dark-row:nth-child(1){ animation: lp-why-slide-r .38s ease forwards .35s; }
.lp-why-block.lp-visible .lp-wm-dark-row:nth-child(2){ animation: lp-why-slide-r .38s ease forwards .50s; }
.lp-why-block.lp-visible .lp-wm-dark-row:nth-child(3){ animation: lp-why-slide-r .38s ease forwards .65s; }
.lp-why-block.lp-visible .lp-wm-dark-row:nth-child(4){ animation: lp-why-slide-r .38s ease forwards .80s; }

/* Block 3 — chat */
.lp-why-block.lp-visible .lp-wm-chat-user  { animation: lp-why-slide-r .38s ease forwards .3s; }
.lp-why-block.lp-visible .lp-wm-chat-bot   { animation: lp-why-fadein  .4s  ease forwards .62s; }
.lp-why-block.lp-visible .lp-wm-dark-footer{ animation: lp-why-fadein  .35s ease forwards .85s; }

/* Ambient loops */
.lp-wm-online-dot, .lp-wm-footer-dot {
  animation: lp-why-dot-pulse 2.2s ease-in-out infinite;
}
.lp-wm-chip-active {
  animation: lp-why-chip-glow 2.8s ease-in-out infinite !important;
}

/* Responsive */
@media (max-width: 900px) { .lp-why-block { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 768px) { .lp-why { padding: 56px 24px; } }

/* ── Help (expert) cards ── */
.lp-help-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lp-help-card {
  background: #fff;
  border: 1px solid #dce8f4;
  border-radius: 16px; padding: 36px 30px;
  box-shadow: 0 2px 10px rgba(1,32,58,.07);
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
  position: relative; overflow: hidden;
}
.lp-help-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(135deg, #01203a, #0358a0);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.lp-help-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(1,32,58,.14); }
.lp-help-card:hover::after { transform: scaleX(1); }
.lp-help-icon {
  width: 56px; height: 56px; border-radius: 15px;
  background: linear-gradient(135deg, #01203a, #0358a0);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(3,88,160,.3);
  flex-shrink: 0;
}
.lp-help-icon svg { width: 24px; height: 24px; }
.lp-help-card h3 { font-size: 17px; font-weight: 700; color: #01203a; margin-bottom: 10px; letter-spacing: -.01em; }
.lp-help-card p  { font-size: 14px; color: #5b7592; line-height: 1.7; flex: 1; margin-bottom: 18px; }
.lp-help-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 700;
  color: #0358a0; text-decoration: none;
  padding: 8px 16px; border: 1.5px solid rgba(3,88,160,.25);
  border-radius: 8px; transition: all .2s;
  background: transparent; cursor: pointer; font-family: inherit;
  width: fit-content;
}
.lp-help-link:hover { background: #0358a0; color: #fff; border-color: #0358a0; }
.lp-help-note {
  font-size: 12px; color: #94a3b8; font-weight: 500;
  padding-top: 6px;
}
.lp-expert-cta { text-align: center; margin-top: 36px; }


/* ── CTA banner ── */
.lp-cta-banner {
  background: linear-gradient(135deg, #01203a 0%, #0358a0 100%);
  position: relative; overflow: hidden;
}
.lp-cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px; pointer-events: none;
}
.lp-cta-inner {
  max-width: 1120px; margin: 0 auto;
  padding: 80px 48px; text-align: center;
  position: relative; z-index: 1;
}
.lp-cta-inner h2 {
  font-family: 'Kadwa', 'Poppins', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  color: #fff; margin-bottom: 14px; letter-spacing: -.01em;
}
.lp-cta-inner p {
  font-size: 17px; color: rgba(255,255,255,.7);
  margin-bottom: 36px; max-width: 480px;
  margin-left: auto; margin-right: auto; line-height: 1.7;
}
.lp-cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
.lp-footer {
  background: #010f1d;
  border-top: 1px solid rgba(255,255,255,.06);
}
.lp-footer-inner { max-width: 1120px; margin: 0 auto; padding: 64px 48px 0; }

/* Top row */
.lp-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.lp-footer-logo-img { height: 28px; margin-bottom: 18px; display: block; }
.lp-footer-brand-desc {
  font-size: 13.5px; color: rgba(255,255,255,.38);
  line-height: 1.75; margin: 0; max-width: 280px;
}
.lp-footer-nav-heading {
  font-size: 11px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.55);
  margin-bottom: 18px;
}
.lp-footer-nav-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.lp-footer-nav-list a {
  font-size: 13.5px; color: rgba(255,255,255,.38);
  text-decoration: none; transition: color .18s;
}
.lp-footer-nav-list a:hover { color: rgba(255,255,255,.82); }
.lp-footer-signin-link {
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: inherit; font-size: 13.5px;
  color: rgba(255,255,255,.38); transition: color .18s; text-align: left;
}
.lp-footer-signin-link:hover { color: rgba(255,255,255,.82); }

/* Bottom bar */
.lp-footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
  font-size: 12.5px; color: rgba(255,255,255,.25);
}
.lp-footer-bottom-links { display: flex; gap: 24px; }
.lp-footer-bottom-links a {
  color: rgba(255,255,255,.25); text-decoration: none; transition: color .18s;
}
.lp-footer-bottom-links a:hover { color: rgba(255,255,255,.6); }

/* ── Scroll reveal ── */
.lp-reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.lp-reveal.lp-visible { opacity: 1; transform: translateY(0); }
.lp-reveal-d1 { transition-delay: .1s; }
.lp-reveal-d2 { transition-delay: .2s; }
.lp-reveal-d3 { transition-delay: .3s; }
.lp-reveal-d4 { transition-delay: .4s; }

/* ── Platform Showcase ── */
.lp-showcase {
  background: #f3f7fc;
  padding: 88px 48px;
}
.lp-showcase-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.lp-showcase-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid #dce8f4;
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(1,32,58,.09);
  overflow: hidden;
}

/* Sidebar nav */
.lp-sc-nav {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #e8f0f8;
  padding: 12px 0;
  background: #f8fbff;
}
.lp-sc-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  font-size: 13.5px;
  font-weight: 500;
  color: #5b7592;
  background: none;
  border: none;
  border-left: 3px solid transparent;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: all .18s;
  line-height: 1.3;
  position: relative;
  overflow: hidden;
}
.lp-sc-nav-item:hover { color: #01203a; background: #eef5ff; }
.lp-sc-nav-item.active {
  color: #0358a0;
  background: #eef5ff;
  border-left-color: #0358a0;
  font-weight: 600;
}
.lp-sc-nav-icon { flex-shrink: 0; opacity: .7; }
.lp-sc-nav-item.active .lp-sc-nav-icon { opacity: 1; }

/* Auto-advance progress bar */
@keyframes lp-sc-progress {
  from { width: 0; }
  to   { width: 100%; }
}
.lp-sc-nav-progress {
  position: absolute; bottom: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, #0358a0, #4db8ff);
  animation: lp-sc-progress 3.5s linear forwards;
  border-radius: 0 2px 2px 0;
}

/* Content + preview panel */
.lp-sc-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.lp-sc-content {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 1px solid #e8f0f8;
}
.lp-sc-title {
  font-family: 'Kadwa', 'Poppins', serif;
  font-size: 20px;
  font-weight: 700;
  color: #01203a;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.lp-sc-desc {
  font-size: 14px;
  color: #5b7592;
  line-height: 1.75;
}
.lp-sc-bullets {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lp-sc-bullets li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: #0f2236;
  font-weight: 500;
}
.lp-sc-bullets li svg { flex-shrink: 0; }
.lp-sc-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #0358a0;
  text-decoration: none;
  margin-top: 8px;
  transition: gap .18s;
}
.lp-sc-cta:hover { gap: 10px; }

/* Preview panel */
.lp-sc-preview {
  padding: 28px 24px;
  background: #f8fbff;
  display: flex;
  align-items: flex-start;
}
.sc-preview-card {
  background: #fff;
  border: 1px solid #dce8f4;
  border-radius: 14px;
  padding: 18px;
  width: 100%;
  box-shadow: 0 2px 16px rgba(1,32,58,.07);
  font-size: 12.5px;
}
.sc-preview-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 14px;
}
.sc-q-list { display: flex; flex-direction: column; gap: 8px; }
.sc-q-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  background: #f8fbff;
  border: 1px solid #e8f0f8;
  border-radius: 8px;
}
.sc-q-text { font-size: 11.5px; color: #0f2236; font-weight: 500; flex: 1; line-height: 1.4; }
.sc-q-badge {
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 700;
  flex-shrink: 0;
}
.sc-q-badge-green  { background: rgba(62,207,142,.12); color: #1a8a5a; }
.sc-q-badge-amber  { background: rgba(245,158,11,.12); color: #b45309; }
.sc-q-badge-red    { background: rgba(239,68,68,.12); color: #b91c1c; }
.sc-q-badge-blue   { background: rgba(3,88,160,.1); color: #0358a0; }
.sc-preview-progress {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #94a3b8;
}
.sc-prog-track { flex: 1; height: 5px; background: #e8f0f8; border-radius: 3px; overflow: hidden; }
.sc-prog-fill  { height: 100%; background: linear-gradient(90deg, #0358a0, #4db8ff); border-radius: 3px; }

/* Gap report preview */
.sc-result-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.sc-tag { padding: 3px 9px; border-radius: 20px; font-size: 10.5px; font-weight: 700; }
.sc-tag-red   { background: rgba(239,68,68,.1); color: #b91c1c; }
.sc-tag-amber { background: rgba(245,158,11,.1); color: #b45309; }
.sc-tag-blue  { background: rgba(3,88,160,.1); color: #0358a0; }
.sc-tag-gray  { background: #f0f4f8; color: #5b7592; }
.sc-gap-list  { display: flex; flex-direction: column; gap: 7px; }
.sc-gap-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #f8fbff;
  border: 1px solid #e8f0f8;
  border-radius: 8px;
  font-size: 11.5px;
}
.sc-sev {
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  flex-shrink: 0;
}
.sc-sev-red   { background: rgba(239,68,68,.15); color: #b91c1c; }
.sc-sev-amber { background: rgba(245,158,11,.15); color: #b45309; }
.sc-sev-blue  { background: rgba(3,88,160,.12); color: #0358a0; }
.sc-gap-label { font-weight: 700; color: #01203a; flex-shrink: 0; }
.sc-gap-desc  { color: #5b7592; flex: 1; }
.sc-posture   { margin-top: 12px; font-size: 11px; color: #94a3b8; text-align: right; }
.sc-posture-risk { color: #b91c1c; font-weight: 700; }

/* AI chat demo preview */
.sc-chat-demo { display: flex; flex-direction: column; gap: 10px; }
.sc-chat-msg { display: flex; gap: 8px; align-items: flex-start; }
.sc-chat-user { flex-direction: row-reverse; }
.sc-chat-avatar {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 9.5px; font-weight: 700;
}
.sc-chat-bot .sc-chat-avatar  { background: linear-gradient(135deg,#0358a0,#4db8ff); color: #fff; }
.sc-chat-user .sc-chat-avatar { background: #e8ecf0; color: #0f2236; }
.sc-chat-bubble { padding: 8px 11px; border-radius: 12px; font-size: 11.5px; line-height: 1.55; max-width: 85%; }
.sc-chat-bot .sc-chat-bubble  { background: #f0f4f8; color: #0f2236; border-bottom-left-radius: 3px; }
.sc-chat-user .sc-chat-bubble { background: linear-gradient(135deg,#0358a0,#0669bb); color: #fff; border-bottom-right-radius: 3px; }

/* Export list preview */
.sc-export-list { display: flex; flex-direction: column; gap: 8px; }
.sc-export-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; background: #f8fbff;
  border: 1px solid #e8f0f8; border-radius: 8px;
  cursor: default; transition: background .15s;
}
.sc-export-row:hover { background: #eef5ff; }
.sc-export-icon { font-size: 18px; flex-shrink: 0; }
.sc-export-label { font-size: 12px; font-weight: 700; color: #01203a; }
.sc-export-desc  { font-size: 11px; color: #5b7592; }
.sc-export-row > svg { margin-left: auto; flex-shrink: 0; opacity: .6; }

/* Expert preview */
.sc-expert-steps { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.sc-expert-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: #f8fbff;
  border: 1px solid #e8f0f8;
  border-radius: 10px;
}
.sc-expert-step-icon { font-size: 20px; flex-shrink: 0; line-height: 1; }
.sc-expert-step-title { font-size: 12.5px; font-weight: 700; color: #01203a; margin-bottom: 3px; }
.sc-expert-step-desc  { font-size: 11.5px; color: #5b7592; line-height: 1.5; }
.sc-expert-note { font-size: 11px; color: #94a3b8; text-align: center; }

/* Showcase responsive */
@media (max-width: 900px) {
  .lp-showcase { padding: 56px 24px; }
  .lp-showcase-body { grid-template-columns: 1fr; }
  .lp-sc-nav { flex-direction: row; flex-wrap: wrap; border-right: none; border-bottom: 1px solid #e8f0f8; padding: 8px; }
  .lp-sc-nav-item { border-left: none; border-bottom: 3px solid transparent; padding: 8px 14px; font-size: 12.5px; }
  .lp-sc-nav-item.active { border-left-color: transparent; border-bottom-color: #0358a0; }
  .lp-sc-panel { grid-template-columns: 1fr; }
  .lp-sc-content { border-right: none; border-bottom: 1px solid #e8f0f8; padding: 28px 24px; }
  .lp-sc-preview { padding: 20px 24px; }
}

/* ── Chat Widget ── */
.chat-fab {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg,#0358a0,#1a7ed4);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(3,88,160,.45);
  z-index: 800; transition: all .2s; color: #fff;
}
.chat-fab:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(3,88,160,.55); }
.chat-fab-badge {
  position: absolute; top: -3px; right: -3px;
  width: 18px; height: 18px;
  background: #e53e3e; border-radius: 50%;
  border: 2px solid #fff;
  font-size: 10px; color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.chat-panel {
  position: fixed; bottom: 92px; right: 24px;
  width: 360px; max-width: calc(100vw - 40px);
  height: 520px; max-height: calc(100vh - 112px);
  background: #fff; border-radius: 20px;
  box-shadow: 0 8px 48px rgba(0,0,0,.2), 0 2px 8px rgba(0,0,0,.08);
  z-index: 800; display: flex; flex-direction: column;
  overflow: hidden;
  transform: scale(0.88) translateY(16px);
  transform-origin: bottom right;
  opacity: 0; pointer-events: none;
  transition: all .24s cubic-bezier(0.16,1,0.3,1);
}
.chat-panel.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: all; }
.chat-panel-header {
  background: linear-gradient(135deg,#01203a,#0358a0);
  padding: 14px 16px;
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.chat-panel-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg,#4db8ff,#0358a0);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 15px; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.chat-panel-header-info { flex: 1; }
.chat-panel-title { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.3; }
.chat-panel-status { font-size: 11px; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.chat-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #48bb78; flex-shrink: 0; animation: chat-dot-pulse 2s infinite; }
@keyframes chat-dot-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.45; } }
.chat-panel-close {
  background: rgba(255,255,255,.15); border: none; border-radius: 8px;
  width: 28px; height: 28px; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; line-height: 1; transition: background .15s;
}
.chat-panel-close:hover { background: rgba(255,255,255,.28); }
.chat-panel-tabs { display: flex; border-bottom: 1px solid #e8ecf0; flex-shrink: 0; background: #fff; }
.chat-tab {
  flex: 1; padding: 10px 6px; font-size: 12px; font-weight: 500; color: #6b7a8d;
  background: none; border: none; cursor: pointer;
  border-bottom: 2px solid transparent; transition: all .15s; font-family: inherit;
}
.chat-tab.active { color: #0358a0; border-bottom-color: #0358a0; font-weight: 600; }
.chat-tab:hover:not(.active) { color: #0f2236; background: #f8f9fb; }
.chat-messages {
  flex: 1; overflow-y: auto; padding: 14px;
  display: flex; flex-direction: column; gap: 12px;
  scrollbar-width: thin; scrollbar-color: #e8ecf0 transparent;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: #e8ecf0; border-radius: 2px; }
.chat-msg { display: flex; gap: 8px; max-width: 90%; }
.chat-msg.user { align-self: flex-end; flex-direction: row-reverse; }
.chat-msg-avatar {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
}
.chat-msg.bot .chat-msg-avatar { background: linear-gradient(135deg,#0358a0,#4db8ff); color: #fff; }
.chat-msg.user .chat-msg-avatar { background: #e8ecf0; color: #0f2236; }
.chat-msg-bubble { padding: 9px 13px; border-radius: 14px; font-size: 13px; line-height: 1.55; }
.chat-msg.bot .chat-msg-bubble { background: #f0f4f8; color: #0f2236; border-bottom-left-radius: 4px; }
.chat-msg.user .chat-msg-bubble { background: linear-gradient(135deg,#0358a0,#0669bb); color: #fff; border-bottom-right-radius: 4px; }
.chat-quick-actions { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 0 2px; }
.chat-quick-btn {
  padding: 6px 11px; border-radius: 20px; border: 1.5px solid rgba(3,88,160,.4);
  background: #fff; color: #0358a0; font-size: 11.5px; font-weight: 500;
  cursor: pointer; font-family: inherit; transition: all .15s;
}
.chat-quick-btn:hover { background: #0358a0; color: #fff; border-color: #0358a0; }
.chat-panel-input-area {
  border-top: 1px solid #e8ecf0; padding: 10px 12px;
  display: flex; gap: 8px; align-items: flex-end; flex-shrink: 0;
}
.chat-input {
  flex: 1; border: 1.5px solid #e8ecf0; border-radius: 12px;
  padding: 8px 12px; font-family: inherit; font-size: 13px; color: #0f2236;
  resize: none; outline: none; transition: border-color .15s;
  max-height: 90px; line-height: 1.5; overflow-y: auto;
}
.chat-input:focus { border-color: #0358a0; }
.chat-input::placeholder { color: #a0aab4; }
.chat-send-btn {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg,#0358a0,#1a7ed4);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: all .15s; flex-shrink: 0;
}
.chat-send-btn:hover { transform: scale(1.1); }
.chat-book-form { padding: 14px; display: flex; flex-direction: column; gap: 12px; flex: 1; overflow-y: auto; }
.chat-book-intro {
  font-size: 13px; color: #3a4a5a; line-height: 1.65;
  padding: 12px 14px; background: linear-gradient(135deg,#f0f7ff,#e6f1ff);
  border: 1px solid #c8dff5; border-radius: 12px;
}
.chat-form-field { display: flex; flex-direction: column; gap: 4px; }
.chat-form-label { font-size: 11.5px; font-weight: 600; color: #374151; }
.chat-form-input, .chat-form-select, .chat-form-textarea {
  border: 1.5px solid #e2e8f0; border-radius: 9px; padding: 8px 11px;
  font-family: inherit; font-size: 13px; color: #0f2236; outline: none;
  transition: border-color .15s; background: #fff;
}
.chat-form-input:focus, .chat-form-select:focus, .chat-form-textarea:focus { border-color: #0358a0; }
.chat-form-textarea { resize: none; min-height: 60px; line-height: 1.5; }
.chat-form-note { font-size: 11px; color: #94a3b8; line-height: 1.55; }
.chat-book-submit {
  background: linear-gradient(135deg,#0358a0,#0669bb); color: #fff;
  border: none; border-radius: 10px; padding: 11px 16px;
  font-family: inherit; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .15s;
}
.chat-book-submit:hover { opacity: .9; transform: translateY(-1px); }
.chat-book-success {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px; padding: 32px 20px;
  text-align: center; flex: 1;
}
.chat-book-success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg,#48bb78,#38a169);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff; box-shadow: 0 4px 16px rgba(72,187,120,.3);
}
.chat-book-success-title { font-size: 16px; font-weight: 700; color: #0f2236; }
.chat-book-success-desc { font-size: 13px; color: #3a4a5a; line-height: 1.65; max-width: 260px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .lp-help-grid  { grid-template-columns: repeat(2, 1fr); }
  .lp-steps-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .lp-hero-inner { grid-template-columns: 1fr; }
  .lp-hero-right { display: none; }
  .lp-steps-grid { grid-template-columns: 1fr; }
  .lp-stats-inner { flex-wrap: wrap; }
  .lp-stat { flex: 1 1 45%; border-right: none; border-bottom: 1px solid #dce8f4; }
}
@media (max-width: 768px) {
  .lp-header-inner { padding: 0 20px; }
  .lp-nav-link:not(.btn-expert-sm) { display: none; }
  .lp-hero { min-height: auto; padding: 60px 24px; }
  .lp-section { padding: 56px 24px; }
  .lp-light-section { padding: 56px 24px !important; }
  #expert.lp-light-section { padding: 0 24px 56px !important; }
  #how.lp-dark-wrap { padding: 56px 24px !important; }
  .lp-section-title { font-size: 26px; }
  .lp-stats-bar { padding: 0 20px; }
  .lp-cards-grid, .lp-cards-grid-4 { grid-template-columns: 1fr; }
  .lp-help-grid   { grid-template-columns: 1fr; }
  .lp-cta-inner   { padding: 56px 24px; }
  .lp-footer-inner { padding: 48px 24px 0; }
  .lp-footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .lp-footer-brand-col { grid-column: 1 / -1; }
  .lp-footer-bottom { flex-direction: column; gap: 12px; text-align: center; padding: 20px 0; }
}

/* ══════════════════════════════════════════════════════════
   Clarity → Build → Ready  (landing-page copy additions)
   Composed from the existing design-system tokens & components:
   standard section header + .lp-card card language.
   ══════════════════════════════════════════════════════════ */

/* ── Block 1: "How we work" path strip (after hero, before stats) ── */
.lp-path-arrow { color: #0677d4; font-weight: 400; margin: 0 3px; }
.lp-path-strip {
  display: flex; align-items: stretch; justify-content: center;
  gap: 8px;
}
/* Cards mirror .lp-card: white on the light section, left accent bar */
.lp-path-step {
  flex: 1; min-width: 0;
  background: #fff;
  border: 1px solid #e8f0fa;
  border-radius: 14px;
  padding: 22px 24px 24px;
  box-shadow: 0 2px 12px rgba(1,32,58,.06);
  position: relative; overflow: hidden;
  transition: transform .22s, box-shadow .22s;
}
.lp-path-step:hover { transform: translateY(-3px); box-shadow: 0 10px 40px rgba(1,32,58,.12); }
.lp-path-step::before {
  content: '';
  position: absolute; left: 0; top: 20%; height: 60%;
  width: 4px; border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, #0358a0 0%, rgba(3,88,160,.25) 100%);
}
.lp-path-step-build::before { background: linear-gradient(180deg, #d97706 0%, rgba(217,119,6,.25) 100%); }
.lp-path-step-ready::before { background: linear-gradient(180deg, #2eb88a 0%, rgba(46,184,138,.25) 100%); }
.lp-path-step-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 16px;
}
.lp-path-here {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: #0358a0; background: rgba(3,88,160,.1);
  border-radius: 100px; padding: 4px 9px; white-space: nowrap;
}
.lp-path-step-name {
  font-size: 15px; font-weight: 700; color: #01203a;
  margin-bottom: 6px; letter-spacing: -.01em;
}
.lp-path-step-line {
  font-size: 14px; font-weight: 600; font-style: italic; color: #1e3a52;
  margin-bottom: 6px; line-height: 1.45;
}
.lp-path-step-meaning {
  font-size: 13.5px; color: #5b7592; line-height: 1.65; margin: 0;
}
.lp-path-conn {
  display: flex; align-items: center; justify-content: center;
  color: #b7cbe0; flex-shrink: 0;
}

/* ── Block 2: "What happens next" — Build & Ready (reuses .lp-card) ── */
.lp-next-grid { margin-bottom: 30px; }
.lp-next-card:nth-child(1)::before { background: linear-gradient(180deg, #d97706 0%, rgba(217,119,6,.25) 100%); }
.lp-next-card:nth-child(2)::before { background: linear-gradient(180deg, #2eb88a 0%, rgba(46,184,138,.25) 100%); }
.lp-next-card .lp-next-quote {
  font-size: 14px; font-weight: 600; font-style: italic; color: #1e3a52;
  margin-bottom: 8px; line-height: 1.45;
}
.lp-next-closing {
  text-align: center; max-width: 720px; margin: 0 auto;
  font-family: 'Kadwa', 'Poppins', serif;
  font-size: clamp(17px, 2vw, 21px); line-height: 1.5;
  color: #01203a; letter-spacing: -.01em;
}

/* ── Responsive (mobile stacks the strip; connector arrow points down) ── */
@media (max-width: 900px) {
  .lp-path-strip { flex-direction: column; align-items: stretch; gap: 12px; }
  .lp-path-conn { transform: rotate(90deg); margin: 2px auto; }
}

/* PAR Onboarding — shared styles (public funnel, light theme) */

.par-shell {
  min-height: 100vh;
  background: #f6f8fb;
  color: #0f172a;
  display: flex;
  flex-direction: column;
}

/* ── Header ─────────────────────────────────────────────────────── */
.par-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 60px;
  background: linear-gradient(90deg, #01203a, #0358a0);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}

.par-header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.par-header-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #0358a0;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.par-header-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.par-header-logo {
  height: 28px;
  width: auto;
  display: block;
}

.par-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.par-step-indicator {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

/* ── Progress rail ───────────────────────────────────────────────── */
.par-progress-rail {
  background: #fff;
  padding: 10px 32px;
  border-bottom: 1px solid #e2e8f0;
}

.par-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 6px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.par-progress-bar {
  max-width: 720px;
  margin: 0 auto;
  height: 4px;
  background: #eef2f6;
  border-radius: 2px;
  overflow: hidden;
}

.par-progress-fill {
  height: 100%;
  background: #0358a0;
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* ── Main content ────────────────────────────────────────────────── */
.par-main {
  flex: 1;
  padding: 32px 16px 120px;
}

.par-content {
  max-width: 720px;
  margin: 0 auto;
}

.par-content-wide {
  max-width: 900px;
  margin: 0 auto;
}

.par-page-title {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.par-page-sub {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 24px;
}

/* ── Notice banner ───────────────────────────────────────────────── */
.par-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 24px;
}

.par-notice-blue {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.par-notice-link {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.par-notice-amber {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

/* ── Question card ───────────────────────────────────────────────── */
.par-q-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.par-q-num {
  font-size: 11px;
  font-weight: 600;
  color: #0358a0;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 8px;
}

.par-q-text {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 14px;
  line-height: 1.5;
}

.par-q-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.par-q-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.15s;
  font-size: 13px;
  color: #334155;
  user-select: none;
}

.par-q-option:hover {
  border-color: #94b8da;
  background: #f8fafc;
}

.par-q-option.selected {
  border-color: #0358a0;
  background: #eaf2fb;
  color: #0358a0;
  font-weight: 600;
}

.par-q-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.par-q-option.selected .par-q-radio {
  border-color: #0358a0;
  background: #0358a0;
}

.par-q-option.selected .par-q-radio::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

/* ── Sticky footer ───────────────────────────────────────────────── */
.par-sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -2px 12px rgba(15, 23, 42, 0.05);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 40;
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.par-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  text-decoration: none;
}

.par-btn-primary {
  background: #0358a0;
  color: #fff;
}

.par-btn-primary:hover:not(:disabled) {
  background: #0270c8;
}

.par-btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.par-btn-ghost {
  background: #fff;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.par-btn-ghost:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #94b8da;
}

/* ── Domain block (Phase 2) ──────────────────────────────────────── */
.par-domain-block {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.par-domain-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid #e2e8f0;
}

.par-domain-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.par-domain-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: #eaf2fb;
  color: #0358a0;
  letter-spacing: .04em;
}

.par-domain-name {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.par-domain-count {
  font-size: 12px;
  color: #64748b;
}

.par-practice {
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
}

.par-practice:last-child {
  border-bottom: none;
}

.par-practice-id {
  font-family: monospace;
  font-size: 11px;
  font-weight: 700;
  color: #0358a0;
  margin-bottom: 6px;
}

.par-practice-text {
  font-size: 13px;
  color: #334155;
  margin-bottom: 12px;
  line-height: 1.5;
}

.par-practice-pills {
  display: flex;
  gap: 8px;
}

.par-pill {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s;
  user-select: none;
}

.par-pill-yes {
  border-color: #bbf7d0;
  color: #166534;
  background: #f0fdf4;
}
.par-pill-yes.active, .par-pill-yes:hover {
  background: #dcfce7;
  border-color: #22c55e;
  color: #166534;
}

.par-pill-partial {
  border-color: #fde68a;
  color: #92400e;
  background: #fffbeb;
}
.par-pill-partial.active, .par-pill-partial:hover {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #92400e;
}

.par-pill-no {
  border-color: #fecaca;
  color: #991b1b;
  background: #fef2f2;
}
.par-pill-no.active, .par-pill-no:hover {
  background: #fee2e2;
  border-color: #ef4444;
  color: #991b1b;
}

/* ── Report card ─────────────────────────────────────────────────── */
.par-report-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.par-report-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid #e2e8f0;
}

.par-report-card-title {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.par-report-card-body {
  padding: 20px;
}

.par-stats-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.par-stat {
  text-align: center;
  min-width: 70px;
}

.par-stat-num {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.par-stat-num.red { color: #dc2626; }
.par-stat-num.amber { color: #d97706; }
.par-stat-num.green { color: #16a34a; }
.par-stat-num.blue { color: #0358a0; }

.par-stat-label {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* domain bars */
.par-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.par-bar-label {
  min-width: 180px;
  font-size: 13px;
  color: #475569;
}

.par-bar-track {
  flex: 1;
  height: 8px;
  background: #eef2f6;
  border-radius: 4px;
  overflow: hidden;
}

.par-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
}

.par-bar-fill.green { background: #22c55e; }
.par-bar-fill.amber { background: #f59e0b; }
.par-bar-fill.red   { background: #ef4444; }

.par-bar-pct {
  font-size: 12px;
  color: #64748b;
  min-width: 36px;
  text-align: right;
}

/* findings list */
.par-finding-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
}

.par-finding-row:last-child { border-bottom: none; }

.par-finding-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}
.par-finding-dot.pass    { background: #22c55e; }
.par-finding-dot.partial { background: #f59e0b; }
.par-finding-dot.fail    { background: #ef4444; }

.par-finding-id {
  font-family: monospace;
  font-size: 11px;
  font-weight: 700;
  color: #0358a0;
  min-width: 120px;
  flex-shrink: 0;
}

.par-finding-text {
  font-size: 13px;
  color: #334155;
  flex: 1;
  line-height: 1.5;
}

.par-sev-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .04em;
  flex-shrink: 0;
}
.par-sev-badge.critical { background: #fee2e2; color: #991b1b; }
.par-sev-badge.high     { background: #ffedd5; color: #9a3412; }
.par-sev-badge.medium   { background: #fef9c3; color: #854d0e; }
.par-sev-badge.low      { background: #dcfce7; color: #166534; }

/* blur overlay */
.par-blur-wrap { position: relative; }

.par-blur-content { filter: blur(5px); user-select: none; pointer-events: none; }

.par-lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(246, 248, 251, .88);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  gap: 12px;
}

.par-lock-overlay h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.par-lock-overlay p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  max-width: 400px;
}

/* spinner */
.par-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e2e8f0;
  border-top-color: #0358a0;
  border-radius: 50%;
  animation: par-spin 0.8s linear infinite;
  margin: 32px auto;
}
@keyframes par-spin { to { transform: rotate(360deg); } }

/* posture badge */
.par-posture {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.par-posture.at_risk          { background: #fee2e2; color: #991b1b; }
.par-posture.needs_improvement{ background: #fef3c7; color: #92400e; }
.par-posture.adequate         { background: #e0f2fe; color: #075985; }
.par-posture.strong           { background: #dcfce7; color: #166534; }

/* ──────────────────────────────────────────────────────────────────────────
   PAR Dashboard — compliance-workspace design system (pard-)
   App-native: light surface, sits beside the ClarityDrawer blue sidebar.
   Deliberately NOT the public funnel chrome (no Step-of-3, no lock, no CTA).
   ────────────────────────────────────────────────────────────────────────── */

.pard-page {
  --pard-blue: #0358a0;
  --pard-blue-dark: #01203a;
  --pard-ink: #0f172a;
  --pard-muted: #64748b;
  --pard-line: #e2e8f0;
  --pard-bg: #f6f8fb;
  --pard-green: #16a34a;
  --pard-amber: #d97706;
  --pard-red: #dc2626;

  flex: 1;
  min-width: 0;
  height: 100%;
  overflow: auto;
  background: var(--pard-bg);
  color: var(--pard-ink);
  font-family: inherit;
}

.pard-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 28px 32px 96px;
}

/* ── Page header ─────────────────────────────────────────────────────────── */
.pard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.pard-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pard-blue);
  margin-bottom: 6px;
}

.pard-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
}

.pard-subtitle {
  font-size: 13.5px;
  color: var(--pard-muted);
  margin-top: 6px;
}

.pard-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.pard-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 17px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.08s ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.pard-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.pard-btn:not(:disabled):active { transform: translateY(0.5px); }

.pard-btn-primary {
  background: var(--pard-blue);
  color: #fff;
  border-color: var(--pard-blue);
  box-shadow: 0 1px 2px rgba(3, 88, 160, 0.18);
}
.pard-btn-primary:not(:disabled):hover {
  background: #024a87;
  border-color: #024a87;
  box-shadow: 0 4px 12px rgba(3, 88, 160, 0.25);
}

.pard-btn-ghost {
  background: #fff;
  color: var(--pard-ink);
  border-color: #cbd5e1;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.pard-btn-ghost:not(:disabled):hover {
  border-color: #94b8da;
  background: #f8fafc;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.07);
}

.pard-btn-sm {
  padding: 7px 12px;
  font-size: 12.5px;
}

/* ── Status chips ────────────────────────────────────────────────────────── */
.pard-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1;
}
.pard-chip-success { background: #dcfce7; color: #166534; }
.pard-chip-warn    { background: #fef3c7; color: #92400e; }
.pard-chip-muted   { background: #f1f5f9; color: #475569; }
.pard-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ── Cards ───────────────────────────────────────────────────────────────── */
.pard-card {
  background: #fff;
  border: 1px solid #d7dde7;
  border-radius: 12px;
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  padding: 1%;
}

.pard-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--pard-line);
}

.pard-card-title {
  font-size: 14px;
  font-weight: 700;
}

.pard-card-meta {
  font-size: 12px;
  color: var(--pard-muted);
}

.pard-card-body { padding: 20px; }
.pard-card-body.flush { padding: 0; }

/* ── Stat grid ───────────────────────────────────────────────────────────── */
.pard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
}

.pard-stat {
  background: #fff;
  border: 1px solid var(--pard-line);
  border-radius: 10px;
  padding: 16px;
}

.pard-stat-num {
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.pard-stat-num.blue  { color: var(--pard-blue); }
.pard-stat-num.green { color: var(--pard-green); }
.pard-stat-num.amber { color: var(--pard-amber); }
.pard-stat-num.red   { color: var(--pard-red); }

.pard-stat-label {
  font-size: 12px;
  color: var(--pard-muted);
  margin-top: 7px;
}

/* ── Readiness bars ──────────────────────────────────────────────────────── */
.pard-bar-row {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: center;
  gap: 14px;
  padding: 9px 0;
}
.pard-bar-row + .pard-bar-row { border-top: 1px solid #f1f5f9; }

.pard-bar-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--pard-ink);
}
.pard-bar-track {
  height: 8px;
  border-radius: 999px;
  background: #eef2f6;
  overflow: hidden;
}
.pard-bar-fill { height: 100%; border-radius: 999px; }
.pard-bar-fill.green { background: var(--pard-green); }
.pard-bar-fill.amber { background: var(--pard-amber); }
.pard-bar-fill.red   { background: var(--pard-red); }

.pard-bar-pct {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--pard-muted);
  min-width: 36px;
  text-align: right;
}

/* ── Posture badge ───────────────────────────────────────────────────────── */
.pard-posture {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.pard-posture.strong            { background: #dcfce7; color: #166534; }
.pard-posture.adequate          { background: #e0f2fe; color: #075985; }
.pard-posture.needs_improvement { background: #fef3c7; color: #92400e; }
.pard-posture.at_risk           { background: #fee2e2; color: #991b1b; }

/* ── Scoping question rows ───────────────────────────────────────────────── */
.pard-q {
  padding: 18px 20px;
  border-top: 1px solid var(--pard-line);
}
.pard-q:first-child { border-top: none; }

.pard-q-top {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}
.pard-q-idx {
  font-size: 11px;
  font-weight: 700;
  color: var(--pard-blue);
  background: #eaf2fb;
  border-radius: 6px;
  padding: 3px 7px;
  flex-shrink: 0;
}
.pard-q-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--pard-ink);
}

.pard-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pard-option {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--pard-line);
  background: #fff;
  font-size: 13px;
  color: #334155;
  cursor: pointer;
  transition: all 0.14s ease;
  user-select: none;
}
.pard-option:hover { border-color: #94b8da; background: #f8fafc; }
.pard-option.selected {
  border-color: var(--pard-blue);
  background: #eaf2fb;
  color: var(--pard-blue);
  font-weight: 600;
}

/* ── Self-assessment domains & practices ─────────────────────────────────── */
.pard-domain { border-top: 1px solid var(--pard-line); }
.pard-domain:first-child { border-top: none; }

.pard-domain-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  background: #fafbfc;
}
.pard-domain-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
}
.pard-domain-tag {
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: var(--pard-blue);
  border-radius: 5px;
  padding: 3px 7px;
  letter-spacing: 0.02em;
}
.pard-domain-count { font-size: 12px; color: var(--pard-muted); }

.pard-practice {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 13px 20px;
  border-top: 1px solid #f1f5f9;
}
.pard-practice-id {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--pard-blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.pard-practice-text { font-size: 13px; color: #334155; line-height: 1.45; }

.pard-toggle { display: inline-flex; gap: 6px; }
.pard-pill {
  padding: 6px 13px;
  border-radius: 7px;
  border: 1px solid var(--pard-line);
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.14s ease;
  user-select: none;
}
.pard-pill:hover { border-color: #cbd5e1; }
.pard-pill.active.yes     { background: #dcfce7; border-color: #86efac; color: #166534; }
.pard-pill.active.partial { background: #fef3c7; border-color: #fcd34d; color: #92400e; }
.pard-pill.active.no      { background: #fee2e2; border-color: #fca5a5; color: #991b1b; }
.pard-pill.active.dk      { background: #e2e8f0; border-color: #64748b; color: #1e293b; }

/* ── Phase-2 self-assessment: sections + numbered question cards ── */
.pard-section { margin-bottom: 28px; }
.pard-section-head { margin-bottom: 14px; }
.pard-section-eyebrow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pard-section-code { font-size: 11px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--pard-blue); }
.pard-section-count { font-size: 11.5px; font-weight: 700; color: #94a3b8; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pard-section-title { font-size: 15.5px; font-weight: 700; color: var(--pard-ink); margin: 3px 0 3px; }
.pard-section-purpose { font-size: 12.5px; color: var(--pard-muted); line-height: 1.5; max-width: 62ch; }

.pard-qcards { display: flex; flex-direction: column; gap: 12px; }
.pard-qcard {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: start;
  background: #fff;
  border: 1px solid var(--pard-line);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 34, 54, 0.04), 0 6px 20px rgba(15, 34, 54, 0.05);
  overflow: hidden;
  transition: border-color 0.16s ease;
}
.pard-qcard.answered { border-color: #86efac; }
.pard-qcard:focus-within { border-color: var(--pard-blue); }
.pard-qcard-gutter { padding: 18px 0 0; display: flex; justify-content: center; }
.pard-qnum {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums;
  background: #f6f8fb; color: var(--pard-muted); border: 1px solid #d7dfea;
}
.pard-qcard.answered .pard-qnum { background: var(--pard-green); color: #fff; border-color: var(--pard-green); }
.pard-qcard-body { padding: 16px 18px 16px 2px; }
.pard-qcard-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.pard-qcard-text { font-size: 14.5px; font-weight: 600; color: var(--pard-ink); line-height: 1.5; }
.pard-qcard-ctrl {
  flex-shrink: 0; margin-top: 1px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px; font-weight: 600; letter-spacing: .01em; white-space: nowrap; cursor: help;
  color: #4a5a72; background: #eef2f7; border: 1px solid #e2e8f0; padding: 3px 8px; border-radius: 6px;
}

.pard-guide { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.pard-guide-col { border-radius: 8px; padding: 8px 10px; }
.pard-guide-col.yes { background: #f0fdf4; border: 1px solid #dcfce7; }
.pard-guide-col.no  { background: #fef2f2; border: 1px solid #fee2e2; }
.pard-guide-label { display: block; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.pard-guide-col.yes .pard-guide-label { color: #16a34a; }
.pard-guide-col.no  .pard-guide-label { color: #dc2626; }
.pard-guide-col ul { margin: 0; padding-left: 16px; }
.pard-guide-col li { font-size: 12px; color: #475569; line-height: 1.5; }
@media (max-width: 640px) { .pard-guide { grid-template-columns: 1fr; } }

/* ── Phase-2 hub: control-family cards + overall progress ── */
.pard-overall { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.pard-overall-bar { flex: 1; height: 8px; background: #eef2f6; border-radius: 999px; overflow: hidden; }
.pard-overall-fill { height: 100%; background: linear-gradient(90deg, #0358a0, #4db8ff); border-radius: 999px; transition: width 0.3s ease; }
.pard-overall-count { font-size: 12.5px; font-weight: 600; color: #475569; white-space: nowrap; }

.pard-fam-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin-bottom: 22px; }
.pard-fam-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-align: left;
  width: 100%;
  background: #fff;
  border: 1px solid var(--pard-line);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}
.pard-fam-card:hover { border-color: #93c5fd; box-shadow: 0 4px 14px rgba(3, 85, 160, 0.08); transform: translateY(-1px); }
.pard-fam-card:focus-visible { outline: 2px solid #0358a0; outline-offset: 2px; }
.pard-fam-top { display: flex; align-items: center; justify-content: space-between; }
.pard-fam-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 28px;
  padding: 0 10px;
  border-radius: 7px;
  background: #eef4fb;
  color: #0358a0;
  font-weight: 800;
  font-size: 14px;
}
.pard-fam-name { font-size: 13.5px; font-weight: 700; color: var(--pard-ink); line-height: 1.35; }
.pard-fam-meta { font-size: 12px; color: var(--pard-muted); }
.pard-fam-status { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; }
.pard-fam-status .dot { width: 7px; height: 7px; border-radius: 50%; }
.pard-fam-status.done { color: #16a34a; }
.pard-fam-status.done .dot { background: #16a34a; }
.pard-fam-status.prog { color: #b45309; }
.pard-fam-status.prog .dot { background: #f59e0b; }
.pard-fam-status.todo { color: #94a3b8; }
.pard-fam-status.todo .dot { background: #cbd5e1; }

.pard-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px 0;
  margin-bottom: 10px;
  color: #0358a0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.pard-back-btn:hover { color: #024680; }

/* ── Phase-2 autosave status pill ── */
.pard-autosave {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(15, 34, 54, 0.12);
}
.pard-autosave::before { content: ''; width: 7px; height: 7px; border-radius: 50%; }
.pard-autosave.saving { background: #fff; color: var(--pard-muted); border: 1px solid var(--pard-line); }
.pard-autosave.saving::before { background: #94a3b8; }
.pard-autosave.saved  { background: #f0fdf4; color: #16a34a; border: 1px solid #dcfce7; }
.pard-autosave.saved::before  { background: #16a34a; }
.pard-autosave.error  { background: #fef2f2; color: #dc2626; border: 1px solid #fee2e2; }
.pard-autosave.error::before  { background: #dc2626; }

/* ── Findings ────────────────────────────────────────────────────────────── */
.pard-finding {
  display: grid;
  grid-template-columns: 10px 110px 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 14px 20px;
  border-top: 1px solid #f1f5f9;
}
.pard-finding:first-child { border-top: none; }
.pard-finding-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-top: 5px;
}
.pard-finding-dot.pass    { background: var(--pard-green); }
.pard-finding-dot.partial { background: var(--pard-amber); }
.pard-finding-dot.fail    { background: var(--pard-red); }
.pard-finding-id {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--pard-blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  padding-top: 1px;
}
.pard-finding-body { font-size: 13px; color: #334155; line-height: 1.5; }
.pard-finding-rec { font-size: 12px; color: var(--pard-muted); margin-top: 4px; }
.pard-finding-rec strong { color: #475569; }

.pard-sev {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.pard-sev.critical { background: #fee2e2; color: #991b1b; }
.pard-sev.high     { background: #ffedd5; color: #9a3412; }
.pard-sev.medium   { background: #fef9c3; color: #854d0e; }
.pard-sev.low      { background: #e2e8f0; color: #475569; }

/* ── Empty state ─────────────────────────────────────────────────────────── */
.pard-empty {
  text-align: center;
  padding: 48px 24px;
}
.pard-empty-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eaf2fb;
  color: var(--pard-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.pard-empty h3 { font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.pard-empty p  { font-size: 13.5px; color: var(--pard-muted); margin: 0 0 18px; }

/* ── Notice ──────────────────────────────────────────────────────────────── */
.pard-notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  margin-bottom: 18px;
}
.pard-notice-amber { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.pard-notice svg { flex-shrink: 0; margin-top: 1px; }

/* ── Sticky footer bar ───────────────────────────────────────────────────── */
.pard-footer {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid var(--pard-line);
  border-radius: 12px;
  box-shadow: 0 -2px 12px rgba(15, 23, 42, 0.05);
  margin-top: 6px;
}
.pard-footer-note { font-size: 12px; color: var(--pard-muted); }

/* ── Spinner ─────────────────────────────────────────────────────────────── */
.pard-spinner {
  width: 30px;
  height: 30px;
  border: 3px solid #e2e8f0;
  border-top-color: var(--pard-blue);
  border-radius: 50%;
  animation: pard-spin 0.8s linear infinite;
  margin: 0 auto 14px;
}
@keyframes pard-spin { to { transform: rotate(360deg); } }

/* ──────────────────────────────────────────────────────────────────────────
   Post-report flow — OAuth Consent / connectors / trust / consent modal
   ────────────────────────────────────────────────────────────────────────── */
.pard-notice-blue { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }

/* Inline legal/help link inside notices and prose — inherits the notice colour */
.pard-inline-link {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Fine print under the payment summary linking to Terms */
.pard-pay-terms {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eef2f7;
  font-size: 11.5px;
  line-height: 1.6;
  color: #94a3b8;
}
.pard-pay-terms a { color: #64748b; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.pard-pay-terms a:hover { color: #03559a; }

/* Connectors */
.pard-connector {
  border: 1px solid var(--pard-line);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
}
.pard-connector:last-child { margin-bottom: 0; }
.pard-connector.connected { border-color: #86efac; background: #f0fdf4; }

.pard-connector-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.pard-connector-logo {
  width: 40px; height: 40px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: #fff;
}
.pard-connector-logo.entra    { background: linear-gradient(135deg, #0078d4, #005a9e); }
.pard-connector-logo.intune   { background: linear-gradient(135deg, #5c2d91, #8661c5); }
.pard-connector-logo.defender { background: linear-gradient(135deg, #0b6a0b, #107c10); }
.pard-connector-info { flex: 1; min-width: 0; }
.pard-connector-name { font-size: 14px; font-weight: 700; }
.pard-connector-provider { font-size: 12px; color: var(--pard-muted); margin-top: 2px; }

.pard-connector-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.pard-connector-status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pard-connector-status.not-connected { background: #f1f5f9; color: #64748b; }
.pard-connector-status.connected     { background: #dcfce7; color: #166534; }
.pard-connector-status.authorizing   { background: #fef3c7; color: #92400e; }

.pard-connector-provides { font-size: 13px; color: #475569; line-height: 1.5; margin-bottom: 12px; }
.pard-connector-label {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: #94a3b8; margin: 12px 0 7px;
}
.pard-chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pard-practice-chip {
  font-size: 11px; font-weight: 600; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--pard-blue); background: #eaf2fb; border-radius: 5px; padding: 3px 7px;
}
.pard-scope-chip {
  font-size: 11px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #475569; background: #f1f5f9; border: 1px solid var(--pard-line); border-radius: 5px; padding: 3px 7px;
  cursor: default;
}
.pard-connector-actions {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid #f1f5f9;
}
.pard-connector-record { font-size: 11.5px; color: var(--pard-muted); }

/* Self-report list */
.pard-self-report { display: grid; gap: 8px; }
.pard-self-report-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border: 1px solid var(--pard-line); border-radius: 8px; background: #fafbfc;
}
.pard-self-report-id {
  font-size: 11.5px; font-weight: 700; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--pard-blue); flex-shrink: 0; min-width: 110px;
}
.pard-self-report-text { font-size: 13px; color: #334155; }

/* Trust pills */
.pard-trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.pard-trust-pill { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--pard-line); border-radius: 10px; }
.pard-trust-icon { font-size: 20px; line-height: 1; flex-shrink: 0; }
.pard-trust-text { font-size: 12.5px; color: var(--pard-muted); line-height: 1.5; }
.pard-trust-text strong { display: block; color: var(--pard-ink); font-size: 13px; margin-bottom: 3px; }

/* Consent modal */
.pard-modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(15, 23, 42, 0.55);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.pard-modal-card {
  width: 100%; max-width: 440px; background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3); font-size: 14px;
}
.pard-modal-head { padding: 20px 24px 16px; border-bottom: 1px solid #edebe9; }
.pard-modal-ms { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: #5e5e5e; }
.pard-modal-ms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 18px; height: 18px; }
.pard-modal-ms-grid span:nth-child(1) { background: #f25022; }
.pard-modal-ms-grid span:nth-child(2) { background: #7fba00; }
.pard-modal-ms-grid span:nth-child(3) { background: #00a4ef; }
.pard-modal-ms-grid span:nth-child(4) { background: #ffb900; }
.pard-modal-account { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.pard-modal-account-avatar {
  width: 32px; height: 32px; border-radius: 50%; background: #0078d4; color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px;
}
.pard-modal-body { padding: 18px 24px; }
.pard-modal-title { font-size: 18px; font-weight: 600; color: #323130; margin-bottom: 14px; }
.pard-modal-app { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.pard-modal-app-icon {
  width: 34px; height: 34px; border-radius: 7px; background: linear-gradient(135deg, #4db8ff, #0358a0);
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.pard-modal-app-name { font-weight: 600; color: #323130; font-size: 13.5px; }
.pard-modal-app-pub { font-size: 12px; color: #605e5c; }
.pard-modal-section { font-size: 13px; color: #605e5c; margin-bottom: 12px; }
.pard-modal-perms { display: grid; gap: 12px; max-height: 240px; overflow-y: auto; }
.pard-modal-perm { display: flex; gap: 10px; }
.pard-modal-perm-name { font-size: 13px; font-weight: 600; color: #323130; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.pard-modal-perm-desc { font-size: 12px; color: #605e5c; margin-top: 2px; line-height: 1.45; }
.pard-modal-perm-ro {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 4px;
  font-size: 11px; font-weight: 600; color: #107c10;
}
.pard-modal-foot { font-size: 11.5px; color: #605e5c; line-height: 1.5; margin-top: 16px; }
.pard-modal-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 24px; border-top: 1px solid #edebe9; }
.pard-modal-btn { padding: 7px 24px; font-size: 14px; font-weight: 600; border-radius: 2px; cursor: pointer; border: 1px solid transparent; }
.pard-modal-btn.cancel { background: #fff; border-color: #8a8886; color: #323130; }
.pard-modal-btn.cancel:hover { background: #f3f2f1; }
.pard-modal-btn.accept { background: #0078d4; color: #fff; }
.pard-modal-btn.accept:hover { background: #106ebe; }

/* Re-run split-menu (Final Report) */
.pard-rerun { position: relative; display: inline-flex; }
.pard-rerun-trigger { display: inline-flex; align-items: center; gap: 5px; }
.pard-rerun-caret { transition: transform .15s ease; opacity: .7; }
.pard-rerun[data-open="true"] .pard-rerun-caret { transform: rotate(180deg); }
.pard-rerun-backdrop { position: fixed; inset: 0; z-index: 40; }
.pard-rerun-menu {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 50; width: 264px;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 6px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
}
.pard-rerun-item {
  display: block; width: 100%; text-align: left; cursor: pointer;
  padding: 10px 12px; border: none; background: transparent; border-radius: 7px;
  transition: background .12s ease;
}
.pard-rerun-item + .pard-rerun-item { margin-top: 2px; }
.pard-rerun-item:hover { background: #f1f5f9; }
.pard-rerun-item-title { font-weight: 600; font-size: 13.5px; color: #1e293b; margin-bottom: 3px; }
.pard-rerun-item-desc { font-size: 12px; color: #64748b; line-height: 1.4; }

/* Final Report — live analysis progress */
.pard-card-body.pard-analysis-progress {
  display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 46px 24px;
}
.pard-analysis-progress-text { text-align: center; }
.pard-analysis-phase { font-size: 16px; font-weight: 600; color: #1e293b; margin-bottom: 4px; }
.pard-analysis-step { font-size: 13px; color: #64748b; line-height: 1.45; }
.pard-analysis-bar {
  width: 100%; max-width: 460px; height: 6px; background: #eef2f6; border-radius: 3px; overflow: hidden;
}
.pard-analysis-bar-fill {
  height: 100%; background: linear-gradient(90deg, #03559a, #0677d4);
  border-radius: 3px; transition: width .6s ease-out;
}
.pard-analysis-hint { font-size: 12px; color: #94a3b8; text-align: center; max-width: 460px; line-height: 1.5; }

/* ── Scan page ─────────────────────────────────────────────────────────────── */
.pard-scan-overall { display: flex; align-items: center; gap: 14px; }
.pard-scan-pulse {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: var(--pard-blue); display: flex; align-items: center; justify-content: center;
}
.pard-scan-pulse.done { background: var(--pard-green); }
.pard-scan-pulse-ring {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff;
  animation: pard-spin 0.8s linear infinite;
}
.pard-scan-bar { height: 7px; border-radius: 999px; background: #eef2f6; overflow: hidden; margin-top: 8px; }
.pard-scan-bar-fill { height: 100%; background: var(--pard-blue); border-radius: 999px; transition: width 0.3s ease; }
.pard-scan-pct { font-size: 15px; font-weight: 800; color: var(--pard-blue); min-width: 44px; text-align: right; }

.pard-scan-conn-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pard-scan-stages { display: grid; gap: 2px; }
.pard-scan-stage {
  display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 12px;
  padding: 8px 10px; border-radius: 8px; opacity: 0.55; transition: opacity 0.2s, background 0.2s;
}
.pard-scan-stage.running { opacity: 1; background: #f0f7ff; }
.pard-scan-stage.done { opacity: 1; }
.pard-scan-stage-icon { display: flex; align-items: center; justify-content: center; }
.pard-scan-dot { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }
.pard-scan-spinner {
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid #cfe2f6; border-top-color: var(--pard-blue);
  animation: pard-spin 0.7s linear infinite;
}
.pard-scan-check {
  width: 17px; height: 17px; border-radius: 50%; background: var(--pard-green); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800;
}
.pard-scan-stage-label { font-size: 13px; color: #334155; }
.pard-scan-stage-evidence {
  font-size: 12px; color: var(--pard-green); font-weight: 600; text-align: right;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ── Discovered assets (categories) ────────────────────────────────────────── */
.pard-cat { padding: 12px 0; border-top: 1px solid #f1f5f9; }
.pard-cat:first-child { border-top: none; padding-top: 0; }
.pard-cat-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.pard-cat-icon {
  width: 28px; height: 28px; border-radius: 6px; flex-shrink: 0; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
}
.pard-cat-name { font-size: 13px; font-weight: 700; flex: 1; }
.pard-cat-count { font-size: 12px; font-weight: 600; color: var(--pard-muted); }
.pard-cat-types { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-left: 38px; }
.pard-asset { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: #334155; }

/* ── Snapshot data tables ──────────────────────────────────────────────────── */
.pard-snap { padding: 14px 20px; border-top: 1px solid #f1f5f9; }
.pard-snap:first-child { border-top: none; }
.pard-snap-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.pard-snap-title { font-size: 13px; font-weight: 700; }
.pard-snap-count { font-size: 12px; color: var(--pard-muted); }
.pard-snap-msg { font-size: 12.5px; color: var(--pard-muted); padding: 8px 0; }
.pard-snap-info { display: flex; align-items: center; gap: 7px; color: #64748b; }

/* ── Attestation rows ──────────────────────────────────────────────────────── */
.pard-attest { padding: 18px 20px; border-top: 1px solid #f1f5f9; }
.pard-attest:first-child { border-top: none; }
.pard-attest-id {
  font-size: 11.5px; font-weight: 700; color: var(--pard-blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; margin-bottom: 6px;
}
.pard-attest-text { font-size: 14px; font-weight: 600; color: var(--pard-ink); line-height: 1.5; }
.pard-attest-context { font-size: 12.5px; color: var(--pard-muted); margin-top: 6px; line-height: 1.5; }
.pard-attest-context strong { color: #475569; }

/* ── Scan UI polish ────────────────────────────────────────────────────────── */
.pard-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pard-toolbar-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* Toggle switch */
.pard-switch { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #475569; cursor: pointer; user-select: none; }
.pard-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.pard-switch-track { width: 34px; height: 20px; border-radius: 999px; background: #cbd5e1; position: relative; transition: background 0.18s; flex-shrink: 0; }
.pard-switch-thumb { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.2); transition: transform 0.18s; }
.pard-switch input:checked + .pard-switch-track { background: var(--pard-blue); }
.pard-switch input:checked + .pard-switch-track .pard-switch-thumb { transform: translateX(14px); }
.pard-switch input:disabled + .pard-switch-track { opacity: 0.5; }

/* Ready hero */
.pard-hero { text-align: center; padding: 36px 24px; }
.pard-hero-icon {
  width: 60px; height: 60px; border-radius: 16px; margin: 0 auto 16px;
  background: linear-gradient(135deg, #eaf2fb, #d7e8fa); color: var(--pard-blue);
  display: flex; align-items: center; justify-content: center;
}
.pard-hero-title { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.pard-hero-sub { font-size: 13.5px; color: var(--pard-muted); max-width: 460px; margin: 0 auto 18px; line-height: 1.55; }
.pard-hero-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 22px; }
.pard-hero-chip { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: #334155; background: #f1f5f9; border-radius: 999px; padding: 5px 12px 5px 5px; }

/* Results header strip */
.pard-resulthead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--pard-muted); margin-bottom: 14px; }
.pard-dot-sep { color: #cbd5e1; }

/* Progress ring */
/* (progress ring extracted to the shared <ProgressRing /> component) */

/* Metric cards */
.pard-metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.pard-metric { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--pard-line); border-radius: 12px; }
.pard-metric-fig { width: 64px; flex-shrink: 0; text-align: center; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.pard-metric-fig.blue { color: var(--pard-blue); }
.pard-metric-fig.amber { color: var(--pard-amber); }
.pard-metric-fig.green { color: var(--pard-green); }
.pard-metric-label { font-size: 13px; font-weight: 700; color: var(--pard-ink); }
.pard-metric-sub { font-size: 12px; color: var(--pard-muted); margin-top: 2px; }

/* Indeterminate scan bar */
.pard-scanbar { height: 8px; border-radius: 999px; background: #eef2f6; overflow: hidden; max-width: 360px; margin: 0 auto; }
.pard-scanbar-fill { height: 100%; width: 40%; border-radius: 999px; background: var(--pard-blue); animation: pard-indet 1.3s ease-in-out infinite; }
@keyframes pard-indet { 0% { transform: translateX(-110%); } 100% { transform: translateX(310%); } }

/* Table polish */
.pard-table thead th { position: sticky; top: 0; }
.pard-table tbody tr:nth-child(even) td { background: #fafbfc; }
.pard-table tbody tr:hover td { background: #f0f7ff; }
.pard-table-wrap { overflow-x: auto; border: 1px solid var(--pard-line); border-radius: 8px; }
.pard-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.pard-table th {
  text-align: left; padding: 8px 10px; background: #f8fafc; color: #64748b;
  font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.03em;
  white-space: nowrap; border-bottom: 1px solid var(--pard-line);
}
.pard-table td { padding: 8px 10px; color: #334155; border-bottom: 1px solid #f1f5f9; white-space: nowrap; }
.pard-table tr:last-child td { border-bottom: none; }
.pard-pagination {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: 10px; font-size: 12px; color: var(--pard-muted);
}

/* ── Final Report page ─────────────────────────────────────────────────────── */
.pard-fr-row { padding: 14px 20px; border-top: 1px solid #f1f5f9; }
.pard-fr-row:first-child { border-top: none; }
.pard-fr-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pard-fr-light { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.pard-fr-light.met { background: var(--pard-green); }
.pard-fr-light.partial { background: var(--pard-amber); }
.pard-fr-light.notmet { background: var(--pard-red); }
.pard-fr-light.review { background: #94a3b8; }
.pard-fr-id {
  font-size: 11.5px; font-weight: 700; color: var(--pard-blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; min-width: 96px;
}
.pard-fr-text { font-size: 13px; color: #334155; flex: 1; min-width: 180px; }
.pard-fr-tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pard-fr-evidence { font-size: 12px; color: var(--pard-muted); margin: 6px 0 0 22px; line-height: 1.45; }

.pard-status-pill { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pard-status-pill.met { background: #dcfce7; color: #166534; }
.pard-status-pill.partial { background: #fef3c7; color: #92400e; }
.pard-status-pill.notmet { background: #fee2e2; color: #991b1b; }
.pard-status-pill.review { background: #e2e8f0; color: #475569; }

.pard-source-tag { font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 5px; white-space: nowrap; }
.pard-source-tag.scan { background: #eaf2fb; color: #0358a0; }
.pard-source-tag.self { background: #f1f5f9; color: #64748b; }

/* Remediation */
.pard-remed-list { display: grid; gap: 10px; }
.pard-remed-item {
  display: flex; gap: 12px; padding: 14px; border-radius: 10px;
  border: 1px solid var(--pard-line); border-left-width: 3px;
}
.pard-remed-item.critical { border-left-color: var(--pard-red); }
.pard-remed-item.medium { border-left-color: var(--pard-amber); }
.pard-remed-item.low { border-left-color: #94a3b8; }
.pard-remed-num {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: #eaf2fb; color: var(--pard-blue); font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.pard-remed-body { flex: 1; min-width: 0; }
.pard-remed-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 5px; }
.pard-remed-id { font-size: 12px; font-weight: 700; color: var(--pard-blue); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.pard-remed-action { font-size: 13px; color: #475569; line-height: 1.5; }

/* ── Forms (sign-off / billing) ────────────────────────────────────────────── */
.pard-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 620px) { .pard-form-grid { grid-template-columns: 1fr; } }
.pard-form-group { margin-bottom: 14px; }
.pard-form-label { display: block; font-size: 12.5px; font-weight: 600; color: #334155; margin-bottom: 6px; }
.pard-form-input {
  width: 100%; padding: 10px 12px; border: 1px solid var(--pard-line); border-radius: 8px;
  font-size: 14px; color: var(--pard-ink); background: #fff; box-sizing: border-box; font-family: inherit;
}
.pard-form-input:focus { outline: none; border-color: var(--pard-blue); box-shadow: 0 0 0 3px rgba(3, 88, 160, 0.12); }

.pard-attest {
  display: flex; gap: 10px; align-items: flex-start; padding: 14px;
  border: 1px solid var(--pard-line); border-radius: 10px; cursor: pointer; margin-top: 6px;
  transition: border-color 0.15s, background 0.15s;
}
.pard-attest.checked { border-color: #86efac; background: #f0fdf4; }
.pard-attest-text { font-size: 12.5px; color: #475569; line-height: 1.55; }

/* ── Reports history card ──────────────────────────────────────────────────── */
.pard-history-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.pard-history-title { font-size: 15px; font-weight: 700; }
.pard-history-sub { font-size: 12.5px; color: var(--pard-muted); margin-top: 3px; }
.pard-history-stats {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  padding: 14px 0; border-top: 1px solid var(--pard-line); border-bottom: 1px solid var(--pard-line); margin-bottom: 16px;
}
.pard-history-stat { display: flex; align-items: baseline; gap: 6px; font-size: 12.5px; color: var(--pard-muted); }
.pard-history-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Book-call: calendar + slots ───────────────────────────────────────────── */
.pard-form-textarea { min-height: 88px; resize: vertical; line-height: 1.5; }

.pard-cal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 8px; }
.pard-cal-day {
  border: 1px solid var(--pard-line); border-radius: 9px; padding: 10px 4px; text-align: center;
  cursor: pointer; transition: all 0.14s ease; user-select: none;
}
.pard-cal-day:hover:not(.disabled) { border-color: #94b8da; background: #f8fafc; }
.pard-cal-day.disabled { opacity: 0.4; cursor: not-allowed; background: #f8fafc; }
.pard-cal-day.selected { border-color: var(--pard-blue); background: #eaf2fb; }
.pard-cal-day.today .pard-cal-day-name { color: var(--pard-blue); }
.pard-cal-day-name { font-size: 11px; font-weight: 600; color: var(--pard-muted); text-transform: uppercase; }
.pard-cal-day-num { font-size: 20px; font-weight: 800; color: var(--pard-ink); margin: 2px 0; }
.pard-cal-day.selected .pard-cal-day-num { color: var(--pard-blue); }
.pard-cal-day-month { font-size: 11px; color: var(--pard-muted); }

.pard-slot-empty { font-size: 13px; color: var(--pard-muted); padding: 12px 0; }
.pard-slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.pard-slot {
  border: 1px solid var(--pard-line); border-radius: 8px; padding: 9px 4px; text-align: center;
  font-size: 13px; font-weight: 600; color: #334155; cursor: pointer; transition: all 0.14s ease; user-select: none;
}
.pard-slot:hover:not(.disabled) { border-color: #94b8da; background: #f8fafc; }
.pard-slot.disabled { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }
.pard-slot.selected { border-color: var(--pard-blue); background: #eaf2fb; color: var(--pard-blue); }

/* ── Billing / payment ─────────────────────────────────────────────────────── */
.pard-pkg { display: grid; grid-template-columns: 200px 1fr; gap: 24px; }
@media (max-width: 640px) { .pard-pkg { grid-template-columns: 1fr; } }
.pard-pkg-left { border-right: 1px solid var(--pard-line); padding-right: 24px; }
@media (max-width: 640px) { .pard-pkg-left { border-right: none; border-bottom: 1px solid var(--pard-line); padding-bottom: 16px; } }
.pard-pkg-name { font-size: 13px; font-weight: 600; color: var(--pard-muted); }
.pard-pkg-price { font-size: 34px; font-weight: 800; color: var(--pard-ink); letter-spacing: -0.02em; margin-top: 4px; }
.pard-pkg-cur { font-size: 20px; vertical-align: top; margin-right: 2px; color: var(--pard-muted); }
.pard-pkg-period { font-size: 12px; color: var(--pard-muted); }
.pard-pkg-locked { font-size: 11.5px; color: var(--pard-amber); font-weight: 600; margin-top: 10px; }
.pard-pkg-product { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.pard-pkg-features { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.pard-pkg-features li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #475569; line-height: 1.45; }
.pard-pkg-features svg { flex-shrink: 0; margin-top: 1px; }

.pard-pay-tabs { display: inline-flex; gap: 4px; background: #f1f5f9; padding: 4px; border-radius: 9px; margin-bottom: 18px; }
.pard-pay-tab {
  padding: 7px 18px; border: none; background: transparent; border-radius: 7px;
  font-size: 13px; font-weight: 600; color: #64748b; cursor: pointer; transition: all 0.15s;
}
.pard-pay-tab.active { background: #fff; color: var(--pard-ink); box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08); }

.pard-pay-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
@media (max-width: 540px) { .pard-pay-grid-3 { grid-template-columns: 1fr; } }

.pard-summary-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; font-size: 13.5px; color: #334155; }
.pard-summary-row.total { font-size: 17px; font-weight: 800; color: var(--pard-ink); }
.pard-summary-divider { height: 1px; background: var(--pard-line); margin: 6px 0; }
.pard-summary-scope { background: #f8fafc; border: 1px solid var(--pard-line); border-radius: 10px; padding: 14px; margin: 8px 0; }
.pard-summary-scope-label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #94a3b8; margin-bottom: 10px; }
.pard-summary-scope-grid { display: grid; gap: 7px; }
.pard-summary-scope-grid > div { display: flex; justify-content: space-between; font-size: 13px; }
.pard-summary-scope-grid span:first-child { color: var(--pard-muted); }
.pard-summary-scope-grid span:last-child { color: var(--pard-ink); font-weight: 600; }
.pard-trust-signal {
  display: flex; gap: 8px; align-items: center; margin-top: 14px; padding: 10px 12px;
  background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 8px; font-size: 12px; color: #15803d;
}

/* ── Dashboard (Clarity overview) — redesign ───────────────────────────────── */
/* Dashboard cards hold content directly (no .pard-card-body), so they need real padding
   instead of the base .pard-card's 1%. */
.pard-dash-card { padding: 22px 24px; }
.pard-dash-eyebrow { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #9aa7bd; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.pard-dash-eyebrow .meta { color: var(--pard-muted); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 12px; }

/* scope */
.pard-dash-scope { display: flex; gap: 18px; flex-wrap: wrap; align-items: stretch; }
.pard-dash-scope-target { display: flex; align-items: center; gap: 15px; background: linear-gradient(135deg, #eef5fd, #e2eefb); border: 1px solid #d3e4f7; border-radius: 13px; padding: 17px 24px; min-width: 238px; position: relative; overflow: hidden; }
.pard-dash-scope-target::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, rgba(3,88,160,.09), transparent 70%); }
.pard-dash-scope-target .shield { width: 38px; height: 38px; color: var(--pard-blue); flex-shrink: 0; }
.pard-dash-scope-eyebrow { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--pard-blue); font-weight: 800; }
.pard-dash-scope-level { font-size: 27px; font-weight: 800; color: var(--pard-blue-dark); line-height: 1.02; letter-spacing: -.02em; margin-top: 1px; }
.pard-dash-scope-sub { font-size: 12px; color: var(--pard-muted); margin-top: 3px; }
.pard-dash-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 10px; flex: 1; min-width: 280px; }
.pard-dash-tile { background: #f7f9fd; border: 1px solid #eef2f8; border-radius: 11px; padding: 12px 14px; }
.pard-dash-tile-v { font-size: 18px; font-weight: 800; color: var(--pard-ink); line-height: 1.1; letter-spacing: -.01em; }
.pard-dash-tile-k { font-size: 10.5px; color: var(--pard-muted); margin-top: 5px; text-transform: uppercase; letter-spacing: .03em; font-weight: 700; }
.pard-dash-signals { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 17px; padding-top: 15px; border-top: 1px dashed var(--pard-line); }
.pard-dash-sig-label { font-size: 10.5px; color: #9aa7bd; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin-right: 2px; }
.pard-dash-sig { font-size: 11.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: #eff3f9; color: #4a5a72; }
.pard-dash-sig.ok { background: #e7f6ec; color: #0d7a3c; }
.pard-dash-sig.warn { background: #fdf3e0; color: #9a5f06; }

/* readiness */
.pard-dash-ready { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.pard-dash-ready-body { flex: 1; min-width: 280px; }
.pard-dash-ready-h { font-size: 16px; font-weight: 800; letter-spacing: -.01em; color: var(--pard-ink); }
.pard-dash-ready-sub { font-size: 12.5px; color: var(--pard-muted); margin: 3px 0 14px; }
.pard-dash-pbar { display: flex; height: 12px; border-radius: 7px; overflow: hidden; background: #eef2f8; box-shadow: inset 0 0 0 1px rgba(16,28,48,.03); }
.pard-dash-pbar span { display: block; height: 100%; }
.pard-dash-plegend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 11px; }
.pard-dash-pl-item { font-size: 12.5px; color: #33445c; display: inline-flex; align-items: center; gap: 7px; font-weight: 500; }
.pard-dash-pl-item b { font-weight: 800; }
.pard-dash-pl-dot { width: 9px; height: 9px; border-radius: 3px; flex-shrink: 0; }
.pard-dash-ready-foot { display: flex; align-items: center; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.pard-dash-ready-gaps { font-size: 13px; color: var(--pard-muted); }
.pard-dash-ready-gaps b { color: var(--pard-ink); font-weight: 800; }

/* journey stepper */
.pard-dash-stepper { display: flex; gap: 0; position: relative; }
.pard-dash-st { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; min-width: 0; }
.pard-dash-st-bar { position: absolute; top: 13px; left: -50%; width: 100%; height: 2px; background: #dde5f0; z-index: 0; }
.pard-dash-st:first-child .pard-dash-st-bar { display: none; }
.pard-dash-st.done .pard-dash-st-bar, .pard-dash-st.current .pard-dash-st-bar { background: #12a150; }
.pard-dash-st-dot { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; background: #fff; border: 2px solid #cfd9e8; color: #9aa7bd; z-index: 1; position: relative; }
.pard-dash-st.done .pard-dash-st-dot { background: #12a150; border-color: #12a150; color: #fff; }
.pard-dash-st.current .pard-dash-st-dot { background: #fff; border-color: var(--pard-blue); color: var(--pard-blue); box-shadow: 0 0 0 4px rgba(3,88,160,.13); }
.pard-dash-st-lbl { font-size: 11px; color: var(--pard-muted); text-align: center; line-height: 1.3; max-width: 92px; }
.pard-dash-st.current .pard-dash-st-lbl { color: var(--pard-blue); font-weight: 700; }
.pard-dash-st.done .pard-dash-st-lbl { color: #33445c; }
.pard-dash-step-foot { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }

/* families / gaps / recent */
.pard-dash-cols { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
@media (min-width: 880px) { .pard-dash-cols { grid-template-columns: 1fr 1fr; } }
.pard-dash-fam + .pard-dash-fam { margin-top: 14px; }
.pard-dash-fam-top { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; font-size: 13px; }
.pard-dash-fam-code { font-weight: 800; color: var(--pard-blue-dark); font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; background: #eef3fa; padding: 2px 7px; border-radius: 6px; }
.pard-dash-fam-name { color: #33445c; flex: 1; font-weight: 500; }
.pard-dash-fam-count { color: var(--pard-muted); font-weight: 700; font-variant-numeric: tabular-nums; }
.pard-dash-fam-bar { height: 7px; border-radius: 4px; background: #eef2f8; overflow: hidden; }
.pard-dash-fam-bar span { display: block; height: 100%; border-radius: 4px; transition: width .5s ease; }

.pard-dash-gap { display: flex; align-items: stretch; width: 100%; text-align: left; background: #fff; border: 1px solid var(--pard-line); border-radius: 11px; margin-bottom: 9px; overflow: hidden; cursor: pointer; transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease; box-shadow: 0 1px 2px rgba(16,28,48,.05); }
.pard-dash-gap:hover { border-color: #c9d6e8; box-shadow: 0 3px 12px rgba(16,28,48,.09); transform: translateY(-1px); }
.pard-dash-gap-strip { width: 4px; flex-shrink: 0; }
.pard-dash-gap-in { padding: 10px 13px; min-width: 0; display: flex; flex-direction: column; }
.pard-dash-gap-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.pard-dash-gap-ctrl { font-size: 11px; font-weight: 800; color: var(--pard-blue); font-family: ui-monospace, Menlo, monospace; }
.pard-dash-gap-sev { font-size: 9px; font-weight: 800; letter-spacing: .04em; padding: 2px 6px; border-radius: 4px; color: #fff; }
.pard-dash-gap-title { font-size: 13px; color: #33445c; line-height: 1.4; font-weight: 500; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

.pard-dash-recent-row { display: flex; align-items: center; gap: 13px; width: 100%; text-align: left; background: transparent; border: none; border-top: 1px solid #eef2f8; padding: 12px 4px; font-size: 13px; cursor: pointer; transition: background .12s; border-radius: 8px; }
.pard-dash-recent-row:first-child { border-top: none; }
.pard-dash-recent-row:hover { background: #f7f9fd; }
.pard-dash-recent-date { color: var(--pard-ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.pard-dash-recent-status { text-transform: capitalize; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #eef2f8; color: var(--pard-muted); }
.pard-dash-recent-status.completed { background: #e7f6ec; color: #0d7a3c; }
.pard-dash-recent-status.failed { background: #fdeced; color: #b3212f; }
.pard-dash-recent-go { margin-left: auto; color: var(--pard-blue); font-weight: 700; font-size: 12.5px; opacity: .75; }
.pard-dash-recent-row:hover .pard-dash-recent-go { opacity: 1; }

/* ── Skeleton shimmer (progressive dashboard loading) ──────────────────────── */
.pard-skel {
  background: linear-gradient(90deg, #edf1f6 25%, #f7f9fc 37%, #edf1f6 63%);
  background-size: 400% 100%;
  animation: pard-shimmer 1.4s ease infinite;
  border-radius: 8px;
  display: block;
}
@keyframes pard-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pard-skel { animation: none; }
}

/* ══ Billing / checkout UX ═════════════════════════════════════════════════ */

/* PaymentGate "checking access" state (before a gated screen renders) */
.pard-gate-check {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 90px 20px; text-align: center;
}
.pard-gate-check-text { font-size: 13.5px; color: var(--pard-muted); }

/* PaymentGate "locked" panel — explicit, user-driven (no silent redirect) */
.pard-lock-panel { text-align: center; padding: 46px 28px; max-width: 560px; margin: 8px auto 0; }
.pard-lock-panel-icon {
  width: 60px; height: 60px; border-radius: 16px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: #eef4fb; color: #0358a0;
}
.pard-lock-panel-title { font-size: 20px; font-weight: 800; color: var(--pard-ink); margin: 0 0 8px; letter-spacing: -0.01em; }
.pard-lock-panel-text { font-size: 14px; color: var(--pard-muted); line-height: 1.6; max-width: 440px; margin: 0 auto 24px; }
.pard-lock-panel-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.pard-lock-panel-back {
  background: none; border: none; color: var(--pard-muted); font-size: 12.5px;
  cursor: pointer; margin-top: 18px; padding: 4px;
}
.pard-lock-panel-back:hover { color: var(--pard-ink); }

/* "Payment required" banner — shown when a user is redirected here from a gated step */
.pard-gate-banner {
  display: flex; align-items: flex-start; gap: 12px;
  background: #fff7ed; border: 1px solid #fde4c4; border-left: 3px solid #d97706;
  border-radius: 12px; padding: 14px 16px; margin-bottom: 18px;
}
.pard-gate-banner-icon { color: #d97706; flex-shrink: 0; margin-top: 1px; }
.pard-gate-banner-title { font-size: 13.5px; font-weight: 700; color: #92400e; }
.pard-gate-banner-text { font-size: 12.5px; color: #b45309; line-height: 1.5; margin-top: 2px; }

/* Two-column checkout: main (package + payment) + sticky order-summary aside */
.pard-checkout { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
.pard-checkout-main, .pard-checkout-aside { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (min-width: 900px) {
  .pard-checkout { grid-template-columns: minmax(0, 1fr) 350px; }
  .pard-checkout-aside { position: sticky; top: 20px; }
}

/* Payment card — loading skeleton */
.pard-pay-skel { display: flex; flex-direction: column; gap: 12px; padding: 4px 0; }
.pard-pay-skel-note { font-size: 12.5px; color: var(--pard-muted); margin-top: 4px; }

/* Payment card — finalizing / error status blocks */
.pard-pay-status { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 20px; }
.pard-pay-status-title { font-size: 15px; font-weight: 700; color: var(--pard-ink); margin-top: 12px; }
.pard-pay-status-sub { font-size: 13px; color: var(--pard-muted); line-height: 1.55; margin-top: 5px; max-width: 400px; word-break: break-word; }
.pard-pay-status-icon.error {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fef2f2; color: #dc2626; font-weight: 800; font-size: 20px;
}

/* Pay button + reassurance note */
.pard-pay-cta { width: 100%; justify-content: center; margin-top: 18px; }
.pard-pay-cta-note { font-size: 11.5px; color: var(--pard-muted); text-align: center; margin-top: 10px; }
.pard-btn-spinner {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.45); border-top-color: #fff;
  animation: pard-spin .7s linear infinite; display: inline-block;
}

/* Success view */
.pard-pay-success { text-align: center; padding: 40px 28px; }
.pard-pay-success-badge {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: #dcfce7; color: #16a34a;
}
.pard-pay-success-title { font-size: 20px; font-weight: 800; color: var(--pard-ink); margin: 0 0 8px; letter-spacing: -0.01em; }
.pard-pay-success-sub { font-size: 14px; color: var(--pard-muted); line-height: 1.6; max-width: 460px; margin: 0 auto 22px; }
.pard-pay-next { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.pard-pay-next-step { font-size: 12px; font-weight: 600; color: var(--pard-muted); background: #f1f5f9; border-radius: 100px; padding: 5px 12px; }
.pard-pay-next-step.done { color: #16a34a; background: #dcfce7; }
.pard-pay-next-step.now { color: #fff; background: #0358a0; }
.pard-pay-next-arrow { color: #cbd5e1; font-size: 12px; }

/* ── ProgressRing — reusable conic-gradient progress circle ── */
.progress-ring {
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.progress-ring-inner {
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #0f2236;
}

/** @format */

/* Azure Config Modal Styles */
.azure-config-modal {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 24px;
}

.modal-header {
  text-align: center;
  margin-bottom: 28px;
}

.modal-subtitle {
  margin-top: 10px;
  font-size: 14px;
  color: #5e5e5e;
  line-height: 1.6;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.oauth-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 4px;
}

.oauth-blurb {
  margin: 0;
  font-size: 12px;
  color: #5e5e5e;
  line-height: 1.5;
  text-align: center;
}

.oauth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #8a8a8a;

  &::before,
  &::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e6e6e6;
  }

  span {
    white-space: nowrap;
  }
}

.modal-divider {
  margin: 24px 0;
  border: none;
  border-top: 1px solid #e6e6e6;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #5e5e5e;
}

.required {
  color: #db1500;
  margin-left: 4px;
}

.credential-input {
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  padding: 11px 16px;
  font-size: 14px;
  transition: all 0.2s;
  width: 100%;
  background-color: #ffffff;

  &:hover:not(:disabled):not(:focus) {
    border-color: #a0a0a0;
  }

  &:focus {
    border-color: #03559a;
    box-shadow: 0 0 0 3px rgba(3, 85, 154, 0.08);
    outline: none;
  }

  &:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #f5f5f5;
  }
}

.input-with-toggle {
  position: relative;
  display: flex;
  align-items: center;
}

.toggle-password-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #5e5e5e;

  svg {
    display: block;
  }

  &:hover:not(:disabled) {
    background: rgba(3, 85, 154, 0.08);
    color: #03559a;
  }

  &:active:not(:disabled) {
    background: rgba(3, 85, 154, 0.15);
  }

  &:disabled {
    cursor: not-allowed;
    opacity: 0.4;
  }
}

.field-error {
  color: #db1500;
  font-size: 13px;
  margin-top: 4px;
  display: block;
}

.status-indicator {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

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

.spinner {
  display: inline-block;
  width: 48px;
  height: 48px;
  border: 4px solid rgba(3, 85, 154, 0.2);
  border-top-color: #03559a;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.status-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(3, 85, 154, 0.2);
  border-top-color: #03559a;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.info-banner {
  padding: 14px 16px;
  border-radius: 6px;
  font-size: 13px;
  background-color: rgba(3, 85, 154, 0.03);
  border: 1px solid rgba(3, 85, 154, 0.15);

  strong {
    font-weight: 600;
    color: #2d2d2d;
  }

  p {
    margin: 0;
    line-height: 1.6;
    color: #5e5e5e;
  }
}

.modal-footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 0;
}

/* ── Azure Config Modal: height containment + scroll ─────────────────────── */

/* 1. Cap the Kendo dialog box itself */
.azure-config-dialog {
  max-width: 95vw !important;
  max-height: 92vh !important;
  overflow: hidden !important;
}

/* 2. Modal flex layout — header & footer pinned, body scrolls */
.azure-config-modal {
  max-height: 90vh;
  overflow: hidden;

  .modal-header {
    flex-shrink: 0;
  }

  .modal-divider {
    flex-shrink: 0;
    margin: 16px 0;
  }

  .modal-footer {
    flex-shrink: 0;
  }
}

.modal-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  /* Thin scrollbar */
  scrollbar-width: thin;
  scrollbar-color: rgba(3, 85, 154, 0.25) transparent;

  &::-webkit-scrollbar {
    width: 4px;
  }
  &::-webkit-scrollbar-track {
    background: transparent;
  }
  &::-webkit-scrollbar-thumb {
    background: rgba(3, 85, 154, 0.25);
    border-radius: 4px;
  }
}

/* ── Responsive breakpoints ───────────────────────────────────────────────── */

@media (max-width: 640px) {
  .azure-config-dialog {
    width: 95vw !important;
    max-height: 95vh !important;
  }

  .azure-config-modal {
    padding: 16px 14px;
    max-height: 93vh;
  }

  .modal-header {
    margin-bottom: 16px;
  }

  .modal-subtitle {
    font-size: 13px;
    max-width: 100%;
  }

  .modal-body {
    gap: 14px;
  }

  .form-label {
    font-size: 11px;
  }

  .credential-input {
    font-size: 13px;
    padding: 10px 12px;
  }

  .info-banner {
    padding: 10px 12px;
    font-size: 12px;
  }

  /* Stack footer buttons full-width */
  .modal-footer {
    flex-direction: column-reverse;
    gap: 8px;

    button,
    .k-button {
      width: 100% !important;
      justify-content: center;
    }
  }
}

@media (max-width: 400px) {
  .azure-config-modal {
    padding: 12px 10px;
  }

  .modal-header {
    margin-bottom: 12px;
  }
}

/* AI Discovery Card Styles */
.ai-discovery-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ai-discovery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.configure-azure-btn {
  background: linear-gradient(#01203a, #0358a0);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;

  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(3, 85, 154, 0.3);
  }

  &:active {
    transform: translateY(0);
  }

  &:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
  }
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* Tab Navigation Styles */
.tab-navigation {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid #e6e6e6;
  padding-bottom: 0;
  margin-top: 24px;
}

.tab-button {
  padding: 12px 24px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 15px;
  font-weight: 600;
  color: #808080;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  bottom: -2px;

  &:hover {
    color: #03559a;
  }

  &.active {
    color: #03559a;
    border-bottom-color: #03559a;
  }
}

.tab-content {
  padding: 24px 0;
  min-height: 400px;
}

/* Auto Discovery Styles */
.auto-discovery-container,
.ai-analysis-container {
  padding: 24px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.discovery-header,
.analysis-header {
  margin-bottom: 24px;
}

.discovery-actions,
.analysis-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* Force Refresh Toggle */
.force-refresh-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin-left: 16px;
  user-select: none;

  input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
  }

  .toggle-slider {
    position: relative;
    width: 44px;
    height: 24px;
    background-color: #d0d0d0;
    border-radius: 12px;
    transition: all 0.3s ease;

    &::before {
      content: '';
      position: absolute;
      width: 18px;
      height: 18px;
      left: 3px;
      top: 3px;
      background-color: white;
      border-radius: 50%;
      transition: all 0.3s ease;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }
  }

  input[type="checkbox"]:checked+.toggle-slider {
    background-color: #03559a;

    &::before {
      transform: translateX(20px);
    }
  }

  input[type="checkbox"]:disabled+.toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
  }

  .toggle-label {
    font-size: 14px;
    font-weight: 500;
    color: #5e5e5e;
  }

  &:hover .toggle-slider:not(:disabled) {
    background-color: #b0b0b0;
  }

  &:hover input[type="checkbox"]:checked+.toggle-slider {
    background-color: #024a85;
  }
}

.discovery-not-configured {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.info-card {
  max-width: 500px;
  padding: 32px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.scan-result-card,
.analysis-result-card {
  margin-top: 24px;
  padding: 24px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e6e6e6;
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e6e6e6;
}

.result-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;

  .label {
    font-weight: 600;
    color: #5e5e5e;
  }

  .value {
    color: #2d2d2d;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 13px;
  }
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.result-card {
  padding: 20px;
  background: white;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);

  .result-count {
    font-size: 32px;
    font-weight: 700;
    color: #03559a;
    margin-bottom: 8px;
  }

  .result-label {
    font-size: 14px;
    color: #808080;
    font-weight: 500;
  }
}

/* AI Analysis Styles */
.query-input-section {
  margin-bottom: 24px;
}

.sample-queries {
  margin-top: 12px;
}

.sample-query-btn {
  padding: 6px 12px;
  background: #f8f9fa;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  font-size: 12px;
  color: #5e5e5e;
  cursor: pointer;
  transition: all 0.2s;

  &:hover:not(:disabled) {
    background: #03559a;
    color: white;
    border-color: #03559a;
  }

  &:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
}

.result-section {
  margin-top: 24px;
  padding: 20px;
  background: white;
  border-radius: 8px;
}

.insights-list,
.recommendations-list {
  list-style: none;
  padding-left: 0;

  li {
    padding-left: 24px;
    position: relative;

    &:before {
      content: '•';
      position: absolute;
      left: 8px;
      color: #03559a;
      font-weight: 700;
    }
  }
}

.risks-grid {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

/* Floating Chatbot Styles */
.chatbot-float-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(#01203a, #0358a0);
  color: white;
  border: none;
  box-shadow: 0 4px 16px rgba(3, 85, 154, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 1000;

  &:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(3, 85, 154, 0.5);
  }

  &:active {
    transform: scale(0.95);
  }
}

.chatbot-window {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 380px;
  height: 550px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  overflow: hidden;
}

.chatbot-header {
  background: linear-gradient(#01203a, #0358a0);
  color: white;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-content {
  display: flex;
  gap: 12px;
  align-items: center;
}

.bot-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.close-button {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 4px 8px;
  opacity: 0.8;
  transition: opacity 0.2s;

  &:hover {
    opacity: 1;
  }
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f8f9fa;
}

.message {
  display: flex;
  max-width: 80%;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

.user-message {
  align-self: flex-end;

  .message-content {
    background: #03559a;
    color: white;
    padding: 12px 16px;
    border-radius: 16px 16px 4px 16px;
  }
}

.bot-message {
  align-self: flex-start;

  .message-content {
    background: white;
    color: #2d2d2d;
    padding: 12px 16px;
    border-radius: 16px 16px 16px 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }
}

.message-time {
  display: block;
  font-size: 10px;
  opacity: 0.6;
  margin-top: 4px;
}

.typing-indicator {
  display: flex;
  gap: 4px;
  align-items: center;

  span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #03559a;
    animation: typing 1.4s infinite;

    &:nth-child(2) {
      animation-delay: 0.2s;
    }

    &:nth-child(3) {
      animation-delay: 0.4s;
    }
  }
}

@keyframes typing {

  0%,
  60%,
  100% {
    opacity: 0.3;
  }

  30% {
    opacity: 1;
  }
}

.chatbot-input {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #e6e6e6;
  background: white;
  align-items: center;
}

/* Error Message Styles */
.error-message {
  background-color: rgba(219, 21, 0, 0.1);
  color: #db1500;
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: 16px;
  border: 1px solid #db1500;
  font-size: 14px;
}

/* Scanning Indicator */
.scanning-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: rgba(3, 85, 154, 0.05);
  border-radius: 8px;
  margin-top: 16px;
  border: 1px solid rgba(3, 85, 154, 0.2);

  .spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(3, 85, 154, 0.2);
    border-top-color: #03559a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }

  span {
    color: #03559a;
    font-weight: 500;
  }
}

/* Scan Results Container */
.scan-results-container {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Summary Section */
.results-summary-section {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #e6e6e6;
}

.summary-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.summary-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.2s;

  &:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
  }

  .summary-icon {
    font-size: 32px;
  }

  .summary-icon-professional {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

  .summary-content {
    display: flex;
    flex-direction: column;
  }

  .summary-value {
    font-size: 24px;
    font-weight: 700;
    color: #03559a;
  }

  .summary-label {
    font-size: 13px;
    color: #808080;
    font-weight: 500;
    margin-top: 4px;
  }
}

/* Status Section */
.scan-status-section {
  background: white;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e6e6e6;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;

  &:last-child {
    border-bottom: none;
  }

  .status-label {
    font-weight: 600;
    color: #5e5e5e;
    min-width: 120px;
  }

  .status-value {
    color: #2d2d2d;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 13px;
  }
}

.status-badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;

  &.status-completed {
    background: rgba(50, 162, 0, 0.1);
    color: #32a200;
  }

  &.status-partial {
    background: rgba(230, 173, 0, 0.1);
    color: #e6ad00;
  }

  &.status-running {
    background: rgba(3, 85, 154, 0.1);
    color: #03559a;
  }

  &.status-failed {
    background: rgba(219, 21, 0, 0.1);
    color: #db1500;
  }
}

/* Endpoints Section */
.endpoints-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.category-card {
  background: white;
  border-radius: 12px;
  border: 1px solid #e6e6e6;
  overflow: hidden;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: #f8f9fa;
  cursor: pointer;
  transition: background 0.2s;

  &:hover {
    background: #f0f2f5;
  }
}

.category-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.category-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.category-details {
  display: flex;
  flex-direction: column;
}

.category-name {
  font-weight: 700;
  font-size: 16px;
  color: #2d2d2d;
}

.category-meta {
  font-size: 13px;
  color: #808080;
  margin-top: 4px;
}

.category-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
}

.endpoint-count {
  padding: 4px 12px;
  background: #03559a;
  color: white;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.toggle-icon {
  color: #808080;
  transition: transform 0.2s;
  font-size: 12px;

  &.expanded {
    transform: rotate(180deg);
  }
}

.category-content {
  border-top: 1px solid #e6e6e6;
}

.endpoint-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s;

  &:last-child {
    border-bottom: none;
  }

  &:hover {
    background: #fafbfc;
  }

  &.endpoint-error {
    background: rgba(219, 21, 0, 0.03);
  }
}

.endpoint-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.endpoint-name {
  font-weight: 500;
  color: #2d2d2d;
}

.cache-badge {
  padding: 2px 8px;
  background: rgba(3, 85, 154, 0.1);
  color: #03559a;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

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

.endpoint-count-value {
  font-weight: 600;
  color: #03559a;
  font-size: 15px;
}

.endpoint-error-msg {
  font-size: 13px;
  color: #db1500;
  font-weight: 500;
}

.endpoint-status {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;

  &.success {
    background: rgba(50, 162, 0, 0.1);
    color: #32a200;
  }

  &.error {
    background: rgba(219, 21, 0, 0.1);
    color: #db1500;
  }
}

/* Errors Section */
.errors-section {
  background: rgba(219, 21, 0, 0.03);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(219, 21, 0, 0.2);
}

.errors-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.error-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: white;
  border-radius: 8px;
  border-left: 3px solid #db1500;

  .error-endpoint {
    font-weight: 600;
    color: #db1500;
    min-width: 150px;
  }

  .error-message {
    color: #5e5e5e;
    font-size: 13px;
  }
}

/* Responsive Design for New Components */
@media (max-width: 768px) {
  .chatbot-window {
    width: calc(100vw - 32px);
    height: calc(100vh - 100px);
    bottom: 16px;
    right: 16px;
  }

  .tab-button {
    padding: 10px 16px;
    font-size: 14px;
  }

  .auto-discovery-container,
  .ai-analysis-container {
    padding: 16px;
  }

  .results-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .summary-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-header {
    padding: 12px 16px;
  }

  .endpoint-row {
    padding: 12px 16px;
  }

  .status-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;

    .status-label {
      min-width: auto;
    }
  }

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

  .chart-wide {
    grid-column: span 1;
  }
}

/* Discovery Charts Styles */
.discovery-charts {
  margin-top: 24px;
  margin-bottom: 24px;
}

.charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.chart-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e6e6e6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  min-width: 0;
  /* Prevent overflow */
  overflow: hidden;

  &.chart-wide {
    grid-column: span 2;
  }

  /* Kendo Chart responsive container */
  .k-chart {
    width: 100% !important;
  }
}

.chart-container {
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.chart-title {
  font-size: 15px;
  font-weight: 600;
  color: #2d2d2d;
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.chart-summary {
  text-align: center;
  font-size: 13px;
  color: #808080;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #f0f0f0;
}

.charts-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 20px;
  color: #5e5e5e;
  font-size: 14px;
  font-weight: 500;
}

/* Kendo Chart Tooltip Styling */
.k-chart-tooltip {
  background: white !important;
  border: 1px solid #e6e6e6 !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  padding: 8px 12px !important;
  max-width: 200px !important;
  font-size: 13px !important;
  color: #2d2d2d !important;
}

/* Kendo Chart Legend and Axis Text Color Override */
.chart-card {

  .k-chart-legend-text,
  .k-chart text {
    fill: #2d2d2d !important;
  }

  .k-chart-axis-label {
    fill: #2d2d2d !important;
  }
}

/* Responsive breakpoints for charts */
@media (max-width: 1200px) {
  .charts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .chart-card.chart-wide {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .charts-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .chart-card {
    padding: 16px;

    &.chart-wide {
      grid-column: span 1;
    }
  }

  .chart-title {
    font-size: 14px;
    margin-bottom: 12px;
    padding-bottom: 10px;
  }

  .chart-summary {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .charts-grid {
    gap: 12px;
  }

  .chart-card {
    padding: 12px;
    border-radius: 8px;
  }
}

/* Snapshots Section */
.snapshots-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.snapshot-card {
  background: #fafbfc;
  border-radius: 8px;
  border: 1px solid #e6e6e6;
  margin-top: 8px;
  overflow: hidden;
}

.snapshot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
  transition: background 0.2s;

  &:hover {
    background: #f0f2f5;
  }
}

.snapshot-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.snapshot-name {
  font-weight: 600;
  color: #2d2d2d;
  font-size: 14px;
}

.snapshot-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.record-badge {
  padding: 2px 8px;
  background: rgba(3, 85, 154, 0.1);
  color: #03559a;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.time-badge {
  font-size: 11px;
  color: #808080;
}

.snapshot-toggle {
  display: flex;
  align-items: center;
}

.snapshot-content {
  border-top: 1px solid #e6e6e6;
  padding: 16px;
  background: white;
}

.snapshot-metadata {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 6px;

  .meta-label {
    font-size: 11px;
    color: #808080;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .meta-value {
    font-size: 16px;
    font-weight: 700;
    color: #03559a;
    margin-top: 4px;
  }
}

/* Data Preview Styles */
.data-preview {
  margin-top: 16px;
}

.preview-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e6e6e6;

  .stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #2d2d2d;
  }

  .stat-label {
    font-size: 11px;
    color: #808080;
    margin-top: 4px;
    text-transform: uppercase;
  }

  &.success {
    background: rgba(50, 162, 0, 0.05);
    border-color: rgba(50, 162, 0, 0.2);

    .stat-value {
      color: #32a200;
    }
  }

  &.error {
    background: rgba(219, 21, 0, 0.05);
    border-color: rgba(219, 21, 0, 0.2);

    .stat-value {
      color: #db1500;
    }
  }

  &.warning {
    background: rgba(230, 173, 0, 0.05);
    border-color: rgba(230, 173, 0, 0.2);

    .stat-value {
      color: #b38600;
    }
  }
}

.progress-bar-container {
  width: 100%;
  height: 8px;
  background: #e6e6e6;
  border-radius: 4px;
  margin-bottom: 16px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(to right, #03559a, #0677d4);
  border-radius: 4px;
  transition: width 0.3s;
}

/* Scrollable table wrapper with max-height */
.data-table-wrapper {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #e6e6e6;
  border-radius: 8px;

  &::-webkit-scrollbar {
    width: 6px;
  }

  &::-webkit-scrollbar-track {
    background: #f0f0f0;
  }

  &::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border-radius: 3px;

    &:hover {
      background: #a0a0a0;
    }
  }
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;

  thead {
    background: #f8f9fa;
    position: sticky;
    top: 0;
    z-index: 1;

    th {
      padding: 8px 12px;
      text-align: left;
      font-weight: 600;
      color: #5e5e5e;
      text-transform: uppercase;
      font-size: 11px;
      letter-spacing: 0.5px;
      border-bottom: 2px solid #e6e6e6;
      background: #f8f9fa;
    }
  }

  tbody {
    tr {
      &:hover {
        background: #fafbfc;
      }

      &:not(:last-child) {
        border-bottom: 1px solid #f0f0f0;
      }
    }

    td {
      padding: 8px 12px;
      color: #2d2d2d;

      &.mono {
        font-family: 'Consolas', 'Monaco', monospace;
        font-size: 12px;
        color: #5e5e5e;
      }

      &.description-cell {
        max-width: 300px;
        font-size: 12px;
        color: #5e5e5e;
        line-height: 1.4;
      }
    }
  }
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;

  &.success {
    background: rgba(50, 162, 0, 0.1);
    color: #32a200;
  }

  &.error {
    background: rgba(219, 21, 0, 0.1);
    color: #db1500;
  }

  &.warning {
    background: rgba(230, 173, 0, 0.1);
    color: #b38600;
  }
}

.more-records {
  text-align: center;
  padding: 12px;
  background: #f8f9fa;
  border-top: 1px solid #e6e6e6;
  font-size: 12px;
  color: #808080;
  margin-top: 8px;
  border-radius: 0 0 8px 8px;
}

.json-preview {
  background: #1e1e1e;
  border-radius: 8px;
  padding: 16px;
  overflow: auto;
  max-height: 400px;

  &::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }

  &::-webkit-scrollbar-track {
    background: #2d2d2d;
  }

  &::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;

    &:hover {
      background: #777;
    }
  }

  pre {
    margin: 0;
    color: #9cdcfe;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 12px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-all;
  }
}

.no-data-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  color: #808080;

  span {
    font-size: 32px;
    opacity: 0.5;
  }

  p {
    margin-top: 8px;
    font-size: 14px;
  }
}

.errors-note {
  font-size: 13px;
  color: #5e5e5e;
  margin: 8px 0 16px 0;
  line-height: 1.5;
}

/* User-friendly Warnings Section */
.warnings-section {
  background: #fefefe;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
}

.warnings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #e6e6e6;
}

.warnings-title {
  display: flex;
  align-items: center;
  gap: 10px;

  .warnings-icon {
    font-size: 20px;
  }
}

.warnings-count {
  padding: 4px 12px;
  background: #f0f0f0;
  color: #666;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
}

.warnings-info-box {
  padding: 16px 20px;
  background: rgba(3, 85, 154, 0.04);
  border-bottom: 1px solid #e6e6e6;

  p {
    margin: 0;
    font-size: 13px;
    color: #5e5e5e;
    line-height: 1.6;

    &:not(:last-child) {
      margin-bottom: 8px;
    }

    strong {
      color: #2d2d2d;
    }
  }
}

.warnings-list {
  padding: 12px 20px;
}

.warning-item {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  background: #fafafa;
  border-radius: 8px;
  border: 1px solid #ebebeb;

  &:not(:last-child) {
    margin-bottom: 8px;
  }
}

.warning-item-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.warning-item-icon {
  font-size: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.warning-item-name {
  font-weight: 600;
  color: #2d2d2d;
  font-size: 14px;
}

.warning-item-details {
  margin-top: 6px;
  padding-left: 22px;
}

.warning-item-reason {
  font-size: 12px;
  color: #808080;
}

.warnings-help {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: #f8f9fa;
  border-top: 1px solid #e6e6e6;
  font-size: 12px;
  color: #5e5e5e;

  .help-icon {
    font-size: 14px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
  }

  a {
    color: #03559a;
    text-decoration: none;

    &:hover {
      text-decoration: underline;
    }
  }
}

/* Responsive for Snapshots */
@media (max-width: 768px) {
  .snapshot-metadata {
    grid-template-columns: 1fr;
  }

  .preview-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .data-table {
    font-size: 12px;

    thead th,
    tbody td {
      padding: 8px;
    }
  }
}

/* AI Analysis Professional Styles */
.info-card-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.info-card-description {
  margin-top: 16px;
  color: #5e5e5e;
  line-height: 1.6;
  font-size: 14px;
}

.header-subtitle {
  margin-top: 8px;
  color: #5e5e5e;
  line-height: 1.6;
  font-size: 14px;
}

.analysis-ready-card {
  margin-top: 24px;
  padding: 32px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.ready-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  max-width: 600px;
}

.ready-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8f5e9;
  border-radius: 50%;
}

.ready-text {
  flex: 1;
}

.ready-description {
  margin-top: 8px;
  color: #5e5e5e;
  font-size: 14px;
  line-height: 1.6;
}

.analyze-btn {
  min-width: 200px;
}

.analysis-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.feature-card {
  padding: 24px;
  background: white;
  border-radius: 12px;
  border: 1px solid #e6e6e6;
  transition: all 0.2s;

  &:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #03559a;
  }
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f7ff;
  border-radius: 10px;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 15px;
  font-weight: 600;
  color: #2d2d2d;
  margin: 0 0 8px 0;
}

.feature-description {
  font-size: 13px;
  color: #5e5e5e;
  line-height: 1.5;
  margin: 0;
}

// ── Analyzing card ────────────────────────────────────────────────────────────
.analyzing-card {
  padding: 48px 40px;
  background: white;
  border-radius: 16px;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  max-width: 560px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

// Circular spinner with percentage
.analyzing-spinner-ring {
  position: relative;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
}

.analyzing-spinner-ring svg {
  width: 88px;
  height: 88px;
}

.analyzing-ring-pct {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #03559a;
}

// Phase name + current step
.analyzing-status-block {
  text-align: center;
}

.analyzing-phase-name {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0 0 4px;
}

.analyzing-step-name {
  font-size: 13px;
  color: #808080;
  margin: 0;
}

// ── Linear progress bar ───────────────────────────────────────────────────────
.analyzing-progress-container {
  width: 100%;
  height: 6px;
  background: #e6e6e6;
  border-radius: 3px;
  overflow: hidden;
}

.analyzing-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #03559a 0%, #0677d4 50%, #03559a 100%);
  background-size: 200% 100%;
  border-radius: 3px;
  transition: width 0.6s ease-out;
  animation: progressShimmer 2s linear infinite;
}

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

// ── Phase steps (horizontal) ──────────────────────────────────────────────────
.analyzing-phases {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}

.analyzing-phase-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  opacity: 0.35;
  transition: opacity 0.3s;
  position: relative;

  // connector line between steps
  &:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 13px;
    left: calc(50% + 15px);
    right: calc(-50% + 15px);
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
  }

  &.done::after {
    background: #03559a;
  }

  &.active,
  &.done {
    opacity: 1;
  }
}

.analyzing-phase-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e6e6e6;
  border: 2px solid #d0d0d0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  color: #808080;
  z-index: 1;
  position: relative;
}

.analyzing-phase-step.active .analyzing-phase-dot {
  background: #eaf2ff;
  border-color: #03559a;
  color: #03559a;
}

.analyzing-phase-step.done .analyzing-phase-dot {
  background: #03559a;
  border-color: #03559a;
  color: white;
}

.analyzing-phase-dot-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #03559a;
  animation: dotPulse 1.2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.35); opacity: 0.6; }
}

.analyzing-phase-label {
  font-size: 11px;
  font-weight: 500;
  color: #a0a0a0;
  text-align: center;
  white-space: nowrap;
}

.analyzing-phase-step.active .analyzing-phase-label {
  color: #03559a;
  font-weight: 600;
}

.analyzing-phase-step.done .analyzing-phase-label {
  color: #03559a;
}

// ── Hints ─────────────────────────────────────────────────────────────────────
.analyzing-hint {
  font-size: 13px;
  color: #5e5e5e;
  margin: 0;
  text-align: center;
}

.analyzing-hint-subtle {
  font-size: 12px;
  color: #a0a0a0;
  font-style: italic;
  margin: 0;
  text-align: center;
}

.analyzing-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.analysis-header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 16px;
}

.analyzing-spinner-old {
  width: 48px;
  height: 48px;
  border: 3px solid #e6e6e6;
  border-top-color: #03559a;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.analyzing-description {
  color: #5e5e5e;
  font-size: 14px;
  margin: 0;
}

.error-card {
  padding: 48px 32px;
  background: #fff8f8;
  border-radius: 12px;
  border: 1px solid #ffcdd2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.error-icon {
  margin-bottom: 8px;
}

.error-message {
  color: #5e5e5e;
  font-size: 14px;
  max-width: 500px;
  margin: 0;
}

.error-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

/* Responsive Design for AI Analysis */
@media (max-width: 992px) {
  .analysis-features {
    grid-template-columns: 1fr;
  }

  .ready-card-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .analysis-ready-card {
    padding: 24px 16px;
  }

  .error-card,
  .analyzing-card {
    padding: 32px 20px;
  }

  .error-actions {
    flex-direction: column;
    width: 100%;
  }

  .error-actions button {
    width: 100%;
  }
}

/* Gap Analysis Dashboard Styles */
.gap-analysis-dashboard {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gap-analysis-header {
  background: linear-gradient(135deg, #01203a 0%, #03559a 100%);
  padding: 32px 24px;
  border-radius: 12px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;

  .gap-analysis-header-content {
    flex: 1;
    min-width: 200px;
  }

  .gap-analysis-header-actions {
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }

  .header-content {
    color: #ffffff;
  }

  .header-subtitle {
    font-size: 14px;
    opacity: 0.9;
    margin: 8px 0 0 0;
    color: #ffffff;
  }
}

/* Export Menu Styles */
.export-menu-container {
  position: relative;
}

.export-menu-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;

  &:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
  }

  &:active {
    transform: scale(0.98);
  }
}

.export-menu-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border: 1px solid #e6e6e6;
  z-index: 100;
  overflow: hidden;
  animation: dropdownFadeIn 0.2s ease-out;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

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

.export-menu-header {
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #5e5e5e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #e6e6e6;
  background: #f8f9fa;
}

.export-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;

  &:hover:not(:disabled) {
    background: #f0f7ff;
  }

  &:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  &:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
  }
}

.export-menu-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f0f7ff;
  color: #03559a;
  flex-shrink: 0;
}

.export-menu-item-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.export-menu-item-label {
  font-size: 14px;
  font-weight: 500;
  color: #2d2d2d;
}

.export-menu-item-description {
  font-size: 12px;
  color: #808080;
}

.export-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(3, 85, 154, 0.2);
  border-top-color: #03559a;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.summary-section {
  margin-bottom: 8px;
}

.summary-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.filter-section {
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
}

.results-count {
  font-size: 14px;
  color: #5e5e5e;
  font-weight: 500;
}

.gap-cards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gap-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e6e6e6;
  transition: all 0.2s;

  &:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #d0d0d0;
  }
}

.gap-card-header {
  transition: all 0.2s;
  user-select: none;
}

.gap-card-content {
  animation: slideDown 0.3s ease-out;
}

.severity-badge {
  transition: transform 0.2s;

  &:hover {
    transform: scale(1.05);
  }
}

.entity-badge:hover {
  background-color: #d1e9ff !important;
}

.remediation-timeline {
  margin-top: 16px;
}

.no-gaps-card {
  padding: 48px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.no-gaps-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8f5e9;
  border-radius: 50%;
}

.no-gaps-description {
  color: #5e5e5e;
  font-size: 14px;
  margin: 0;
}

.no-results-card {
  padding: 48px 24px;
  text-align: center;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px dashed #d0d0d0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.no-results-icon {
  margin-bottom: 8px;
}

.no-results-title {
  font-size: 14px;
  color: #5e5e5e;
  font-weight: 500;
}

.no-results-subtitle {
  font-size: 12px;
  color: #808080;
}

/* Responsive Design for Gap Analysis */
@media (max-width: 1200px) {
  .summary-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .gap-analysis-header {
    padding: 24px 16px;
  }

  .summary-cards-grid {
    grid-template-columns: 1fr;
  }

  .filter-section {
    padding: 16px;
  }
}

/* Discovery Capabilities Section */
.capabilities-section {
  margin-top: 24px;
  background: white;
  border-radius: 12px;
  border: 1px solid #e6e6e6;
  overflow: hidden;
}

.capabilities-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #e6e6e6;
}

.capabilities-summary {
  font-size: 13px;
  color: #5e5e5e;
  font-weight: 500;
}

.capabilities-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 20px;
  color: #5e5e5e;
  font-size: 14px;
}

.capabilities-content {
  padding: 20px;
}

.capabilities-error {
  padding: 40px 20px;
  text-align: center;
  color: #db1500;
  font-size: 14px;
}

.permission-overview {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.permission-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  border-radius: 10px;

  &.accessible {
    background: rgba(50, 162, 0, 0.08);
    border: 1px solid rgba(50, 162, 0, 0.2);

    .permission-count {
      color: #32a200;
    }
  }

  &.restricted {
    background: rgba(230, 173, 0, 0.08);
    border: 1px solid rgba(230, 173, 0, 0.2);

    .permission-count {
      color: #b38600;
    }
  }
}

.permission-count {
  font-size: 32px;
  font-weight: 700;
}

.permission-label {
  font-size: 12px;
  color: #5e5e5e;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.endpoints-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.capability-category {
  background: #fafbfc;
  border-radius: 10px;
  border: 1px solid #e6e6e6;
  overflow: hidden;
}

.capability-category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #f0f2f5;
  font-weight: 600;
  color: #2d2d2d;
}

.category-access-badge {
  margin-left: auto;
  padding: 4px 10px;
  background: #03559a;
  color: white;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

.capability-endpoints {
  display: flex;
  flex-direction: column;
}

.capability-endpoint {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s;

  &:last-child {
    border-bottom: none;
  }

  &:hover {
    background: #f8f9fa;
  }

  &.accessible {
    .endpoint-status-icon {
      color: #32a200;
    }
  }

  &.restricted {
    background: rgba(230, 173, 0, 0.03);

    .endpoint-status-icon {
      color: #b38600;
    }

    .endpoint-name {
      color: #5e5e5e;
    }
  }
}

.endpoint-status-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;

  svg {
    display: block;
  }
}

.endpoint-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.endpoint-name {
  font-size: 13px;
  font-weight: 500;
  color: #2d2d2d;
}

.endpoint-permissions {
  font-size: 11px;
  color: #808080;
}

/* Responsive for Capabilities */
@media (max-width: 768px) {
  .capabilities-header {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .permission-overview {
    flex-direction: column;
    gap: 12px;
  }

  .capability-category-header {
    flex-wrap: wrap;
  }
}

// ============================================================================
// Floating Help Button (for opening HelpChat)
// ============================================================================

.floating-help-button {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  width: 60px !important;
  height: 60px !important;
  background: linear-gradient(135deg, #0677d4 0%, #03559a 100%) !important;
  border: none !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 16px rgba(3, 85, 154, 0.4) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 9999 !important;
  transition: all 0.3s ease !important;

  &:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(3, 85, 154, 0.5);
  }

  &:active {
    transform: scale(0.95);
  }

  svg {
    width: 28px;
    height: 28px;
  }

  // Notification badge
  .help-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 12px;
    height: 12px;
    background: #dc3545;
    border-radius: 50%;
    border: 2px solid white;
  }

  @media (max-width: 768px) {
    bottom: 16px;
    right: 16px;
    width: 56px;
    height: 56px;

    svg {
      width: 24px;
      height: 24px;
    }
  }
}

/** @format */

// Help Chat Overlay
.help-chat-overlay {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 420px;
  max-width: calc(100vw - 48px);
  height: 600px;
  max-height: calc(100vh - 100px);
  z-index: 1000;
  animation: slideInFromRight 0.3s ease-out;

  &.minimized {
    height: 56px;

    .help-chat-messages,
    .help-chat-input-container {
      display: none;
    }
  }
}

// Main Container
.help-chat-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

// Header
.help-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, #01203a 0%, #03559a 100%);
  color: white;
  flex-shrink: 0;

  .header-left {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .header-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
  }

  .header-title {
    font-size: 16px;
    font-weight: 600;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .header-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;

    &:hover {
      background: rgba(255, 255, 255, 0.25);
      transform: scale(1.05);
    }

    &:active {
      transform: scale(0.95);
    }
  }
}

// Messages Container
.help-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: #f8f9fa;
  display: flex;
  flex-direction: column;
  gap: 16px;

  &::-webkit-scrollbar {
    width: 6px;
  }

  &::-webkit-scrollbar-track {
    background: #f0f0f0;
  }

  &::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border-radius: 3px;

    &:hover {
      background: #a0a0a0;
    }
  }
}

// Empty State
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  flex: 1;

  .empty-icon {
    margin-bottom: 16px;
  }

  h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 8px;
  }

  p {
    font-size: 14px;
    color: #5a5a5a;
    margin-bottom: 24px;
    line-height: 1.6;
  }

  .example-questions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;

    button {
      padding: 12px 16px;
      background: white;
      border: 1px solid #e6e6e6;
      border-radius: 8px;
      font-size: 13px;
      color: #03559a;
      cursor: pointer;
      text-align: left;
      transition: all 0.2s;

      &:hover {
        background: #f0f7ff;
        border-color: #03559a;
        transform: translateX(4px);
      }
    }
  }
}

// Individual Message
.help-chat-message {
  display: flex;
  gap: 12px;
  animation: messageSlideIn 0.2s ease-out;

  &.user {
    flex-direction: row-reverse;

    .message-avatar {
      background: linear-gradient(135deg, #0677d4 0%, #03559a 100%);
    }

    .message-content {
      background: linear-gradient(135deg, #0677d4 0%, #03559a 100%);
      color: white;
      border-radius: 12px 12px 4px 12px;

      p {
        color: white;
      }
    }

    .message-timestamp {
      color: rgba(255, 255, 255, 0.8);
      text-align: right;
    }
  }

  &.assistant {
    .message-avatar {
      background: linear-gradient(135deg, #01203a 0%, #03559a 100%);
    }

    .message-content {
      background: white;
      color: #2d2d2d;
      border: 1px solid #e6e6e6;
      border-radius: 12px 12px 12px 4px;
    }

    .message-timestamp {
      color: #808080;
      text-align: left;
    }
  }
}

.message-avatar {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.message-content {
  max-width: 75%;
  padding: 12px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  word-wrap: break-word;

  p {
    margin: 0;
    line-height: 1.6;
    font-size: 14px;
  }

  .markdown-renderer {
    font-size: 14px;

    p:last-child {
      margin-bottom: 0;
    }
  }
}

.message-timestamp {
  font-size: 11px;
  margin-top: 6px;
  opacity: 0.7;
}

// Typing Indicator
.help-chat-typing-indicator {
  display: flex;
  gap: 4px;
  padding: 4px 0;

  span {
    width: 8px;
    height: 8px;
    background: #808080;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;

    &:nth-child(1) {
      animation-delay: 0s;
    }

    &:nth-child(2) {
      animation-delay: 0.2s;
    }

    &:nth-child(3) {
      animation-delay: 0.4s;
    }
  }
}

// Input Container
.help-chat-input-container {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  background: white;
  border-top: 1px solid #e6e6e6;
  flex-shrink: 0;
}

.help-chat-input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  resize: none;
  max-height: 100px;
  transition: all 0.2s;

  &:focus {
    outline: none;
    border-color: #03559a;
    box-shadow: 0 0 0 3px rgba(3, 85, 154, 0.1);
  }

  &:disabled {
    background: #f8f9fa;
    cursor: not-allowed;
  }

  &::placeholder {
    color: #a0a0a0;
  }
}

.help-chat-send-btn {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #0677d4 0%, #03559a 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(3, 85, 154, 0.3);

  &:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(3, 85, 154, 0.4);
  }

  &:active:not(:disabled) {
    transform: scale(0.95);
  }

  &:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
  }
}

// Animations
@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

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

@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

@keyframes typingBounce {

  0%,
  60%,
  100% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-10px);
  }
}

// Responsive
@media (max-width: 768px) {
  .help-chat-overlay {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    height: calc(100vh - 80px);
  }

  .message-content {
    max-width: 85%;
  }
}

@media (max-width: 480px) {
  .help-chat-header {
    padding: 12px 16px;

    .header-title {
      font-size: 14px;
    }
  }

  .help-chat-messages {
    padding: 16px;
  }

  .message-content {
    max-width: 90%;
    padding: 10px 14px;
    font-size: 13px;
  }

  .help-chat-input-container {
    padding: 12px 16px;
  }
}

/** @format */

// Modal Overlay
.chat-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease-out;
}

// Modal Container
.chat-modal {
  width: 100%;
  max-width: 700px;
  max-height: 80vh;
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  animation: modalSlideIn 0.3s ease-out;
}

// Modal Header
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: linear-gradient(135deg, #01203a 0%, #03559a 100%);
  color: white;
  border-radius: 12px 12px 0 0;
  flex-shrink: 0;

  .header-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
  }

  .header-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
  }

  .header-text {
    flex: 1;
    min-width: 0;

    h2 {
      font-size: 18px;
      font-weight: 600;
      margin: 0 0 4px;
    }

    p {
      font-size: 13px;
      margin: 0;
      opacity: 0.9;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }

  .modal-close-btn {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;

    &:hover {
      background: rgba(255, 255, 255, 0.25);
      transform: scale(1.05);
    }

    &:active {
      transform: scale(0.95);
    }
  }
}

// Messages Container
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  background: #f8f9fa;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 300px;
  max-height: calc(80vh - 200px);

  &::-webkit-scrollbar {
    width: 8px;
  }

  &::-webkit-scrollbar-track {
    background: #f0f0f0;
  }

  &::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border-radius: 4px;

    &:hover {
      background: #a0a0a0;
    }
  }
}

// Individual Message
.message {
  display: flex;
  gap: 12px;
  animation: messageSlideIn 0.3s ease-out;

  &.user {
    flex-direction: row-reverse;

    .message-avatar {
      background: linear-gradient(135deg, #0677d4 0%, #03559a 100%);
    }

    .message-content {
      background: linear-gradient(135deg, #0677d4 0%, #03559a 100%);
      color: white;
      border-radius: 16px 16px 4px 16px;

      p {
        color: white;
      }
    }
  }

  &.assistant {
    .message-avatar {
      background: linear-gradient(135deg, #01203a 0%, #03559a 100%);
    }

    .message-content {
      background: white;
      color: #2d2d2d;
      border: 1px solid #e6e6e6;
      border-radius: 16px 16px 16px 4px;
    }
  }
}

.message-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.message-content {
  max-width: 80%;
  padding: 14px 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  word-wrap: break-word;

  p {
    margin: 0;
    line-height: 1.6;
    font-size: 15px;
  }

  .markdown-renderer {
    font-size: 15px;

    p:last-child {
      margin-bottom: 0;
    }

    // Adjust markdown colors for better readability in modal
    .md-h1,
    .md-h2,
    .md-h3,
    .md-h4 {
      color: inherit;
    }
  }
}

// Typing Indicator
.typing-indicator {
  display: flex;
  gap: 6px;
  padding: 4px 0;

  span {
    width: 10px;
    height: 10px;
    background: #808080;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;

    &:nth-child(1) {
      animation-delay: 0s;
    }

    &:nth-child(2) {
      animation-delay: 0.2s;
    }

    &:nth-child(3) {
      animation-delay: 0.4s;
    }
  }
}

// Input Container
.chat-input-container {
  display: flex;
  gap: 12px;
  padding: 20px 24px;
  background: white;
  border-top: 1px solid #e6e6e6;
  border-radius: 0 0 12px 12px;
  flex-shrink: 0;
}

.chat-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  resize: none;
  max-height: 120px;
  transition: all 0.2s;

  &:focus {
    outline: none;
    border-color: #03559a;
    box-shadow: 0 0 0 3px rgba(3, 85, 154, 0.1);
  }

  &:disabled {
    background: #f8f9fa;
    cursor: not-allowed;
  }

  &::placeholder {
    color: #a0a0a0;
  }
}

.chat-send-btn {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #0677d4 0%, #03559a 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(3, 85, 154, 0.3);

  &:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(3, 85, 154, 0.4);
  }

  &:active:not(:disabled) {
    transform: scale(0.95);
  }

  &:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
  }
}

// Animations
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }

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

@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

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

@keyframes typingBounce {

  0%,
  60%,
  100% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-12px);
  }
}

// Responsive
@media (max-width: 768px) {
  .chat-modal {
    max-width: 100%;
    max-height: 90vh;
    margin: 10px;
  }

  .modal-header {
    padding: 16px 20px;

    .header-text {
      h2 {
        font-size: 16px;
      }

      p {
        font-size: 12px;
      }
    }
  }

  .chat-messages {
    padding: 20px;
    max-height: calc(90vh - 180px);
  }

  .message-content {
    max-width: 85%;
    padding: 12px 16px;
    font-size: 14px;
  }

  .chat-input-container {
    padding: 16px 20px;
  }
}

@media (max-width: 480px) {
  .chat-modal-overlay {
    padding: 10px;
  }

  .chat-modal {
    max-height: 95vh;
  }

  .modal-header {
    padding: 14px 16px;

    .header-icon {
      width: 36px;
      height: 36px;
    }

    .header-text {
      h2 {
        font-size: 15px;
      }

      p {
        font-size: 11px;
      }
    }
  }

  .chat-messages {
    padding: 16px;
  }

  .message-content {
    max-width: 90%;
    padding: 10px 14px;
    font-size: 13px;
  }

  .message-avatar {
    width: 36px;
    height: 36px;
  }
}

/** @format */

.markdown-renderer {
  color: #2d2d2d;
  line-height: 1.6;
  word-wrap: break-word;

  // Headings
  .md-h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 24px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e6e6e6;
    color: #1a1a1a;
  }

  .md-h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 20px 0 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e6e6e6;
    color: #1a1a1a;
  }

  .md-h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 16px 0 10px;
    color: #2d2d2d;
  }

  .md-h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 14px 0 8px;
    color: #2d2d2d;
  }

  .md-h5 {
    font-size: 16px;
    font-weight: 600;
    margin: 12px 0 6px;
    color: #2d2d2d;
  }

  .md-h6 {
    font-size: 14px;
    font-weight: 600;
    margin: 10px 0 6px;
    color: #5a5a5a;
  }

  // Paragraphs
  .md-p {
    margin: 0 0 12px;
    line-height: 1.7;
  }

  // Links
  .md-link {
    color: #03559a;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;

    &:hover {
      color: #0677d4;
      border-bottom-color: #0677d4;
    }
  }

  // Tables
  .md-table-wrapper {
    overflow-x: auto;
    margin: 16px 0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }

  .md-table {
    width: 100%;
    border-collapse: collapse;
    background: white;

    th {
      background: #f8f9fa;
      padding: 12px 16px;
      text-align: left;
      font-weight: 600;
      border-bottom: 2px solid #e6e6e6;
      color: #2d2d2d;
      font-size: 14px;
    }

    td {
      padding: 10px 16px;
      border-bottom: 1px solid #f0f0f0;
      font-size: 14px;
    }

    tr:last-child td {
      border-bottom: none;
    }

    tr:hover {
      background: #f8f9fa;
    }
  }

  // Inline code
  .md-inline-code {
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.9em;
    color: #c7254e;
    border: 1px solid #e6e6e6;
  }

  // Code blocks
  .md-pre {
    background: #1e1e1e;
    border-radius: 8px;
    padding: 16px;
    overflow-x: auto;
    margin: 16px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

    code {
      background: transparent;
      padding: 0;
      border: none;
      color: #e6e6e6;
      font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
      font-size: 14px;
      line-height: 1.5;
    }
  }

  // Blockquotes
  .md-blockquote {
    border-left: 4px solid #03559a;
    padding: 12px 20px;
    margin: 16px 0;
    background: #f8f9fa;
    border-radius: 0 8px 8px 0;
    color: #5a5a5a;
    font-style: italic;

    p:last-child {
      margin-bottom: 0;
    }
  }

  // Lists
  .md-ul,
  .md-ol {
    margin: 12px 0;
    padding-left: 28px;

    .md-li {
      margin: 6px 0;
      line-height: 1.6;
    }
  }

  .md-ul {
    list-style-type: disc;

    ul {
      list-style-type: circle;
      margin-top: 4px;
    }
  }

  .md-ol {
    list-style-type: decimal;

    ol {
      list-style-type: lower-alpha;
      margin-top: 4px;
    }
  }

  // Horizontal rule
  hr {
    border: none;
    border-top: 2px solid #e6e6e6;
    margin: 24px 0;
  }

  // Strong and emphasis
  strong {
    font-weight: 600;
    color: #1a1a1a;
  }

  em {
    font-style: italic;
    color: #5a5a5a;
  }

  // First paragraph after heading should have less margin
  h1+p,
  h2+p,
  h3+p,
  h4+p,
  h5+p,
  h6+p {
    margin-top: 8px;
  }

  // Images
  img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  // Strikethrough (GFM)
  del {
    color: #808080;
  }

  // Task lists (GFM)
  input[type='checkbox'] {
    margin-right: 8px;
    cursor: pointer;
  }

  // Responsive
  @media (max-width: 768px) {
    .md-h1 {
      font-size: 24px;
    }

    .md-h2 {
      font-size: 20px;
    }

    .md-h3 {
      font-size: 18px;
    }

    .md-pre {
      padding: 12px;
      font-size: 13px;
    }

    .md-table {
      font-size: 13px;

      th,
      td {
        padding: 8px 12px;
      }
    }
  }
}

/* Pagination Controls */
.pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-top: 1px solid #e6e6e6;
  margin-top: 8px;
  background: #f8f9fa;
  border-radius: 0 0 8px 8px;
}

.pagination-btn {
  padding: 8px 16px;
  background: white;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #03559a;
  cursor: pointer;
  transition: all 0.2s;

  &:hover:not(:disabled) {
    background: #03559a;
    color: white;
    border-color: #03559a;
  }

  &:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    color: #808080;
  }
}

.pagination-info {
  font-size: 13px;
  color: #5e5e5e;
  font-weight: 500;
}

/* Snapshot Loading State */
.snapshot-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px;
  color: #03559a;
  font-size: 14px;
  font-weight: 500;
}

/* Snapshot Error State */
.snapshot-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  text-align: center;

  p {
    color: #db1500;
    font-size: 14px;
    margin: 0;
  }
}

.retry-btn {
  padding: 8px 20px;
  background: white;
  border: 1px solid #db1500;
  border-radius: 6px;
  color: #db1500;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;

  &:hover {
    background: #db1500;
    color: white;
  }
}

/* Responsive for pagination */
@media (max-width: 768px) {
  .pagination-controls {
    flex-direction: column;
    gap: 10px;
    padding: 12px;
  }

  .pagination-btn {
    width: 100%;
    text-align: center;
  }
}

/* ============================================================================
   Analysis History Sidebar Styles
   ============================================================================ */

.auto-discovery-container.with-sidebar {
  position: relative;
}

.analysis-content-wrapper {
  display: flex;
  gap: 0;
  position: relative;
}

.analysis-main-content {
  flex: 1;
  min-width: 0;
  position: relative;
}

.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 10;
  border-radius: 8px;

  span {
    color: #5a5a5a;
    font-size: 14px;
  }
}

/* Overlay backdrop */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 999;
  animation: fadeIn 0.2s ease-out;
}

.analysis-history-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid #e6e6e6;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }

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

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e6e6e6;
  background: linear-gradient(135deg, #03559a 0%, #024680 100%);

  h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
  }
}

.sidebar-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  padding: 8px;
  cursor: pointer;
  color: #ffffff;
  border-radius: 6px;
  transition: all 0.2s;

  &:hover {
    background: rgba(255, 255, 255, 0.2);
  }
}

.sidebar-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.sidebar-loading,
.sidebar-error,
.sidebar-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  gap: 12px;
}

.sidebar-loading {
  span {
    color: #5a5a5a;
    font-size: 14px;
  }
}

.sidebar-error {
  p {
    color: #ef4444;
    font-size: 14px;
    margin: 0;
  }

  button {
    margin-top: 8px;
    padding: 8px 16px;
    background: #03559a;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;

    &:hover {
      background: #024680;
    }
  }
}

.sidebar-empty {
  p {
    margin: 0;
    color: #5a5a5a;
    font-size: 14px;
    font-weight: 500;
  }

  span {
    color: #808080;
    font-size: 12px;
  }
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.history-item {
  position: relative;
  background: #f8f9fa;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 14px;
  cursor: pointer;
  transition: all 0.2s;

  &:hover {
    border-color: #03559a;
    box-shadow: 0 2px 8px rgba(3, 85, 154, 0.1);

    .history-delete-btn {
      opacity: 1;
    }
  }

  &.active {
    border-color: #03559a;
    background: rgba(3, 85, 154, 0.05);
  }
}

.history-item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}

.history-date-container {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.history-date {
  font-size: 13px;
  font-weight: 500;
  color: #2d2d2d;
}

.history-relative {
  font-size: 11px;
  color: #808080;
}

.history-status {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  color: white;
}

.history-item-details {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.history-model {
  font-size: 11px;
  color: #5a5a5a;
  background: #e6e6e6;
  padding: 2px 8px;
  border-radius: 4px;
}

.history-confidence {
  font-size: 11px;
  color: #22c55e;
  font-weight: 500;
}

.history-item-summary {
  display: flex;
  gap: 12px;
}

.gap-count {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 10px;
  border-radius: 6px;
  min-width: 50px;

  .count {
    font-size: 16px;
    font-weight: 700;
  }

  .label {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 2px;
  }

  &.critical {
    background: rgba(239, 68, 68, 0.1);

    .count {
      color: #dc2626;
    }

    .label {
      color: #ef4444;
    }
  }

  &.high {
    background: rgba(245, 158, 11, 0.1);

    .count {
      color: #d97706;
    }

    .label {
      color: #f59e0b;
    }
  }

  &.medium {
    background: rgba(59, 130, 246, 0.1);

    .count {
      color: #2563eb;
    }

    .label {
      color: #3b82f6;
    }
  }
}

.history-delete-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: #9ca3af;
  border-radius: 4px;
  opacity: 0;
  transition: all 0.2s;

  &:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
  }
}

.sidebar-load-more {
  margin-top: 16px;

  button {
    width: 100%;
    padding: 10px 16px;
    background: #f8f9fa;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: #5a5a5a;
    transition: all 0.2s;

    &:hover:not(:disabled) {
      background: #e6e6e6;
      color: #2d2d2d;
    }

    &:disabled {
      opacity: 0.6;
      cursor: not-allowed;
    }
  }
}

.sidebar-total {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  color: #808080;
}

/* Delete Confirmation Modal */
.delete-confirm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.delete-confirm-modal {
  background: white;
  border-radius: 12px;
  padding: 32px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: scaleIn 0.2s ease-out;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.delete-confirm-icon {
  margin-bottom: 20px;
}

.delete-confirm-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  color: #2d2d2d;
}

.delete-confirm-message {
  margin: 0 0 24px;
  font-size: 14px;
  color: #5a5a5a;
  line-height: 1.5;

  strong {
    color: #2d2d2d;
  }
}

.delete-confirm-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.delete-confirm-cancel,
.delete-confirm-delete {
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;

  &:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }
}

.delete-confirm-cancel {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #374151;

  &:hover:not(:disabled) {
    background: #e5e7eb;
  }
}

.delete-confirm-delete {
  background: #ef4444;
  border: none;
  color: white;

  &:hover:not(:disabled) {
    background: #dc2626;
  }
}

.spinner-small {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive adjustments for sidebar */
@media (max-width: 600px) {
  .analysis-history-sidebar {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .analysis-content-wrapper {
    flex-direction: column;
  }
}

/* =====================
   Entra Setup Guide
   ===================== */

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.entra-guide-modal {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 540px;
  max-height: 80vh;
  font-family: 'Poppins', sans-serif;
  animation: slideInRight 0.25s ease-out;
}

.guide-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #e6e6e6;
  background: linear-gradient(135deg, #f0f6ff 0%, #e8f0fb 100%);
  flex-shrink: 0;

  .guide-header-text {
    display: flex;
    align-items: center;
    gap: 12px;

    h2 {
      margin: 0;
      font-size: 17px;
      font-weight: 700;
      color: #03559a;
    }

    p {
      margin: 4px 0 0;
      font-size: 12px;
      color: #5e5e5e;
    }
  }
}

.guide-close-btn {
  background: none;
  border: none;
  font-size: 17px;
  color: #5e5e5e;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 4px;
  line-height: 1;
  transition: all 0.2s;
  flex-shrink: 0;

  &:hover {
    background: rgba(3, 85, 154, 0.08);
    color: #03559a;
  }
}

.guide-body {
  display: flex;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

/* Left step navigation */
.guide-step-nav {
  width: 195px;
  flex-shrink: 0;
  border-right: 1px solid #e6e6e6;
  overflow-y: auto;
  padding: 10px 0;
  background: #fafbfc;
}

.guide-step-nav-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 9px 14px;
  background: none;
  border: none;
  border-left: 3px solid transparent;
  text-align: left;
  cursor: pointer;
  font-size: 12px;
  color: #5e5e5e;
  font-family: 'Poppins', sans-serif;
  transition: all 0.15s;

  &:hover:not(.active) {
    background: rgba(3, 85, 154, 0.04);
    color: #03559a;
  }

  &.active {
    background: rgba(3, 85, 154, 0.08);
    border-left-color: #03559a;
    color: #03559a;
    font-weight: 600;

    .step-badge {
      background: #03559a;
      color: white;
    }
  }

  &.completed .step-badge {
    background: #2e7d32;
    color: white;
    font-size: 10px;
  }
}

.step-badge {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: #e6e6e6;
  color: #5e5e5e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  transition: all 0.2s;
  margin-top: 1px;
}

.step-nav-title {
  line-height: 1.4;
}

/* Right content pane */
.guide-content-pane {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

.guide-step-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px 16px;
}

.guide-step-header {
  margin-bottom: 14px;
}

.guide-step-number {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #03559a;
  opacity: 0.7;
}

.guide-step-title {
  margin: 5px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: #2d2d2d;
}

/* Screenshot area */
.guide-screenshot-area {
  margin: 14px 0;
  border: 1px solid #e0e4ea;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f7fa;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;

  img {
    width: 100%;
    display: block;
    object-fit: contain;
  }
}

.guide-screenshot-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 32px;
  color: #b0b0b0;
  font-size: 13px;
  text-align: center;

  svg {
    opacity: 0.35;
  }
}

/* Clickable image wrapper + zoom hint */
.guide-screenshot-img-wrap {
  position: relative;
  cursor: zoom-in;
  width: 100%;

  img {
    width: 100%;
    display: block;
    object-fit: contain;
    transition: filter 0.2s;
  }

  &:hover img {
    filter: brightness(0.92);
  }

  &:hover .screenshot-zoom-hint {
    opacity: 1;
  }
}

.screenshot-zoom-hint {
  position: absolute;
  bottom: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

/* Lightbox overlay */
.guide-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  animation: fadeIn 0.18s ease;

  img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
    cursor: default;
  }
}

.guide-lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  font-size: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  z-index: 2001;

  &:hover {
    background: rgba(255, 255, 255, 0.3);
  }
}

/* Multi-screenshot carousel controls */
.screenshot-carousel-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.04);
  border-top: 1px solid #e0e4ea;
  width: 100%;
  justify-content: center;
}

.screenshot-nav-btn {
  background: white;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: #03559a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  padding: 0;

  &:hover:not(:disabled) {
    background: #03559a;
    color: white;
    border-color: #03559a;
  }

  &:disabled {
    opacity: 0.35;
    cursor: not-allowed;
  }
}

.screenshot-counter {
  font-size: 12px;
  color: #5e5e5e;
  font-weight: 600;
  min-width: 36px;
  text-align: center;
}

/* Instructions list */
.guide-instructions-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guide-instruction-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13px;
  color: #3d3d3d;
  line-height: 1.55;

  .instruction-number {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    background: rgba(3, 85, 154, 0.1);
    color: #03559a;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
  }
}

/* Content blocks wrapper */
.guide-content-blocks {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Plain text paragraph */
.guide-text {
  margin: 0 0 6px;
  font-size: 13.5px;
  color: #3d3d3d;
  line-height: 1.55;
}

/* Numbered list */
.guide-ol {
  padding-left: 22px;
  margin: 4px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 7px;

  li {
    font-size: 13.5px;
    color: #3d3d3d;
    line-height: 1.55;
    padding-left: 4px;
  }
}

/* Alphabetical sub-list (a, b, c...) */
.guide-sub-ol {
  list-style-type: lower-alpha;
  padding-left: 22px;
  margin: 6px 0 2px;
  display: flex;
  flex-direction: column;
  gap: 4px;

  li {
    font-size: 13px;
    color: #4d4d4d;
    line-height: 1.5;
    padding-left: 2px;
  }
}

/* Bullet list */
.guide-ul {
  padding-left: 20px;
  margin: 4px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;

  li {
    font-size: 13.5px;
    color: #3d3d3d;
    line-height: 1.55;
    padding-left: 2px;
  }
}

/* Sub-section (Option A / Option B / To Add the Permission) */
.guide-section {
  margin: 8px 0 4px;
  padding: 10px 14px 8px;
  background: rgba(3, 85, 154, 0.03);
  border-left: 3px solid rgba(3, 85, 154, 0.2);
  border-radius: 0 6px 6px 0;
}

.guide-section-title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: #03559a;
}

/* Callout / note */
.guide-callout {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: 6px;
  background: rgba(3, 85, 154, 0.05);
  border: 1px solid rgba(3, 85, 154, 0.18);
  font-size: 12.5px;
  color: #3d4d5e;
  line-height: 1.5;

  svg {
    flex-shrink: 0;
    color: #03559a;
    margin-top: 1px;
  }

  p {
    margin: 0;
  }

  &.guide-callout--warning {
    background: rgba(219, 21, 0, 0.04);
    border-color: rgba(219, 21, 0, 0.2);
    color: #6a1000;

    svg {
      color: #db1500;
    }
  }
}

/* Step navigation footer */
.guide-nav-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border-top: 1px solid #e6e6e6;
  flex-shrink: 0;
  background: white;
}

.guide-progress-dots {
  display: flex;
  gap: 5px;
  align-items: center;

  span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d0d0d0;
    display: inline-block;
    transition: all 0.2s;

    &.active {
      background: #03559a;
      width: 18px;
      border-radius: 4px;
    }

    &.completed {
      background: #2e7d32;
    }
  }
}

/* Tenant action group */
.tenant-action-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.guide-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1.5px solid #0358a0;
  background: white;
  color: #0358a0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;

  &:hover {
    background: #0358a0;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(3, 85, 154, 0.3);
  }
}

/* Trigger link in modal subtitle */
.guide-trigger-link {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
  color: #03559a;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  transition: color 0.15s;

  &:hover {
    color: #024a85;
  }
}

/* Per-field "?" help button */
.field-help-btn {
  margin-left: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid #03559a;
  background: none;
  color: #03559a;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  vertical-align: middle;
  padding: 0;
  transition: all 0.15s;
  flex-shrink: 0;

  &:hover {
    background: #03559a;
    color: white;
  }
}

/* Form label row for label text + help btn alignment */
.form-label-row {
  display: flex;
  align-items: center;
  gap: 2px;
}
/** @format */

/* Standalone legal pages (Privacy Policy & Terms of Service).
   Styled to the Securim app design system (pard- tokens): soft surface,
   white elevated card, Securim blue accents, slate type scale. */

.legal-page {
  --lg-blue: #0358a0;
  --lg-blue-dark: #01203a;
  --lg-ink: #0f172a;
  --lg-muted: #64748b;
  --lg-line: #e2e8f0;
  --lg-bg: #f6f8fb;

  min-height: 100vh;
  background: var(--lg-bg);
  color: var(--lg-ink);
  font-family: inherit;
}

/* Top bar — Securim logo, mirrors the in-app blue header */
.legal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: linear-gradient(90deg, var(--lg-blue-dark), var(--lg-blue));
}
.legal-topbar-brand { display: flex; align-items: center; }
.legal-topbar-logo { height: 28px; width: auto; display: block; }
.legal-topbar-link {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}
.legal-topbar-link:hover { color: #fff; }

/* Centered reading column */
.legal-shell { max-width: 860px; margin: 0 auto; padding: 36px 24px 80px; }

/* App-native card surface holding the document */
.legal-card {
  background: #fff;
  border: 1px solid #d7dde7;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  padding: 40px 44px 36px;
}

.legal-eyebrow {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--lg-blue); margin-bottom: 8px;
}
.legal-title {
  font-size: 26px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--lg-ink); margin: 0 0 8px; line-height: 1.15;
}
.legal-meta {
  font-size: 12.5px; color: #94a3b8;
  padding-bottom: 24px; margin-bottom: 28px; border-bottom: 1px solid var(--lg-line);
}

.legal-section { margin-bottom: 30px; }
.legal-section:last-of-type { margin-bottom: 0; }
.legal-section h2 {
  font-size: 15px; font-weight: 700; color: var(--lg-ink);
  margin: 0 0 12px; padding-left: 11px; border-left: 3px solid var(--lg-blue);
}
.legal-section p { font-size: 13.5px; color: #374151; line-height: 1.75; margin: 0 0 12px; }
.legal-section ul { font-size: 13.5px; color: #374151; line-height: 1.75; margin: 0 0 12px 18px; }
.legal-section li { margin-bottom: 6px; }
.legal-section li::marker { color: var(--lg-blue); }
.legal-section a { color: var(--lg-blue); font-weight: 500; }
.legal-section code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px; background: #f1f5f9; padding: 1px 6px; border-radius: 5px; color: var(--lg-ink);
}

/* Callouts — match pard notice styling */
.legal-highlight { border-radius: 10px; padding: 14px 18px; margin-bottom: 30px; display: flex; gap: 11px; }
.legal-highlight svg { flex-shrink: 0; margin-top: 1px; }
.legal-highlight p { font-size: 13px; line-height: 1.65; margin: 0; }
.legal-highlight.blue { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }
.legal-highlight.blue p { color: #1e3a5f; }
.legal-highlight.amber { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.legal-highlight.amber p { color: #78350f; }
.legal-highlight.amber strong { color: #92400e; }

/* Data table — Securim card-table look */
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 12px; border-radius: 10px; overflow: hidden; }
.data-table th {
  background: #f1f5f9; padding: 10px 14px; text-align: left;
  font-weight: 700; color: var(--lg-ink); border: 1px solid var(--lg-line);
}
.data-table td { padding: 10px 14px; border: 1px solid var(--lg-line); color: #374151; line-height: 1.55; vertical-align: top; }
.data-table tbody tr:nth-child(even) td { background: #fafbfc; }

/* Footer */
.legal-footer {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--lg-line);
  display: flex; gap: 16px; flex-wrap: wrap; align-items: center; justify-content: space-between;
}
.legal-footer-links { display: flex; gap: 18px; }
.legal-footer-links a, .legal-footer-links button {
  font-size: 13px; font-weight: 600; color: var(--lg-muted); text-decoration: none;
  background: none; border: none; padding: 0; cursor: pointer; font-family: inherit;
}
.legal-footer-links a:hover, .legal-footer-links button:hover { color: var(--lg-blue); }
.legal-footer-copy { font-size: 12px; color: #94a3b8; }

@media (max-width: 600px) {
  .legal-card { padding: 28px 22px; }
  .legal-title { font-size: 22px; }
}

/** @format */

.req-for-demo {
  display: flex;
  justify-content: space-between;
  background-size: cover;
  height: auto;
  min-height: 87vh;
}

.company-title {
  font-size: 60px;
  font-family: kadwa;
  color: #01203a;
  margin: 0;
  padding: 0;
  line-height: 60px;
}
.company-sub-title {
  font-size: 28px;
}

.demos-field {
  margin-right: 20px;
}

#start_date_label,
.demo-checkbox-title {
  font-weight: 500;
  font-size: 28px;
  letter-spacing: 0.33px;
  color: #212121;
}

.date-time-demo-field {
  width: 300px;
}

.demo-checkbox {
  margin-right: 6px;
}
.req-for-demo .k-checkbox-label {
  font-weight: 600 !important;
  font-size: 16px !important;
  letter-spacing: 0.27px !important;
}
.req-for-demo .k-form-field {
  margin: 10px 0px;
}
.req-for-demo .k-form .k-form-field > .k-label,
.k-form .k-form-field > kendo-label,
.k-form .k-form-label {
  margin-bottom: 0;
}

.k-checkbox-md {
  width: 20px;
  height: 20px;
  border: 1px solid #01203a;
}
.demo-checkbox {
  margin: 12px 8px 12px 0px;
}
.req-demo-right-container {
  background: #ffffff;
  position: relative;
  padding-top: 40px;
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.15);
  padding-left: 30px;
}
.demo-left-image {
  width: 557px;
  height: 557px;
  margin: auto;
}
.demo-width-110 {
  width: 110%;
}
.demo-width-100 {
  width: 100%;
}
.demo-width-90 {
  width: 90%;
}
.req-demo-left-container {
  align-self: center;
  height: 100%;
}
.request-success-msg {
  text-align: center;
  margin: 30px 10px;
  font-size: 16px;
}
.k-dialog {
  border-radius: 10px;
}
.form-padding {
  padding-left: 60px;
}

@media (max-width: 900px) {
  .req-for-demo {
    display: block;
    background-size: cover;
    height: auto;
    min-height: 87vh;
  }
  .req-demo-left-container {
  }
  .req-demo-right-container {
    padding: 0px;
  }
  .demo-left-image {
    width: 100%;
    height: 100%;
  }
  .demo-width-110 {
    width: 100%;
  }
  .demo-width-90 {
    width: 100%;
  }
  .demo-width-100 {
    width: 100%;
  }
  .form-padding {
    padding-left: auto;
  }
}

#start_date-popup-id .k-datetime-wrap {
  width: 300px;
}
#start_date-popup-id .k-calendar-infinite .k-calendar-view {
  padding-inline: 0px;
  height: 290px;
}

#start_date-popup-id .k-calendar-infinite .k-calendar-header {
  margin-right: 0;
  margin-left: 0;
  padding-top: 0;
}

#start_date-popup-id .k-datetime-calendar-wrap,
.k-datetime-time-wrap {
  flex: 0 0 calc(304px);
}
#start_date-popup-id .k-button-group {
  height: 35px;
}

#start_date-popup-id .k-popup .k-actions,
#start_date-popup-id .k-popup .k-edit-buttons,
#start_date-popup-id .k-popup .k-action-buttons,
#start_date-popup-id .k-popup .k-columnmenu-actions,
#start_date-popup-id .k-popup .k-form-buttons {
  margin-top: 0;
  padding-top: 0;
}

#start_date-popup-id .k-button-solid-base.k-selected,
.k-button-solid-primary {
  border: #01203a;
  background: linear-gradient(to right, rgb(1, 32, 58), rgb(3, 88, 160));
}

/** @format */

/* ── Layout ── */
.signup-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Roboto', sans-serif;
}

/* ── Header ── */
.signup-header {
  background: linear-gradient(to right, #01203a, #0358a0);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 48px;
}

.signup-header-logo {
  width: 110px;
}

.signup-header-login-btn {
  background-color: #ffffff;
  padding: 4px 20px;
  color: #01203a;
  border: none;
  border-radius: 15px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.signup-header-login-btn:hover {
  opacity: 0.85;
}

/* ── Center body ── */
.signup-center {
  flex: 1;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-size: cover;
  background-position: center;
  padding: 32px 48px;
  gap: 32px;
}

.signup-illustration {
  width: 520px;
  height: 520px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ── Form card ── */
.signup-card {
  width: 480px;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
  border-radius: 24px;
  padding: 28px 28px 24px;
  background: #ffffff;
  color: #01203a;
  flex-shrink: 0;
}

.signup-card::-webkit-scrollbar {
  width: 4px;
}
.signup-card::-webkit-scrollbar-thumb {
  background: #0358a0;
  border-radius: 4px;
}

.signup-card-title {
  font-size: 22px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  color: #01203a;
  margin: 0 0 4px 0;
}

.signup-card-subtitle {
  font-size: 13px;
  color: #555;
  margin: 0 0 20px 0;
}

/* ── Form grid ── */
.signup-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}

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

.signup-form-field.full-width {
  grid-column: 1 / -1;
}

.signup-label {
  font-size: 13px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  color: #01203a;
  margin-bottom: 4px;
}

.signup-required {
  color: #db1500;
  margin-left: 2px;
}

.signup-input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(2, 74, 134, 0.3);
  border-radius: 5px;
  font-size: 13px;
  background: rgba(2, 74, 134, 0.07);
  outline: none;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
  color: #01203a;
  transition: border-color 0.2s;
}

.signup-input:focus {
  border-color: #0358a0;
  background: #fff;
}

.signup-input.error {
  border-color: #db1500;
}

.signup-error {
  color: #db1500;
  font-size: 11px;
  margin-top: 2px;
}

/* ── Framework badge ── */
.signup-framework-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(3, 88, 160, 0.1);
  color: #0358a0;
  border: 1px solid #0358a0;
  border-radius: 5px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  margin-top: 4px;
  width: fit-content;
}

/* ── Submit button ── */
.signup-submit-btn {
  margin-top: 20px;
  width: 100%;
  height: 42px;
  background: linear-gradient(to right, #01203a, #0358a0);
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: opacity 0.2s;
}

.signup-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.signup-login-link {
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  color: #555;
}

.signup-login-link span {
  color: #0358a0;
  cursor: pointer;
  font-weight: 600;
  text-decoration: underline;
}

.signup-api-error {
  margin-top: 10px;
  color: #db1500;
  font-size: 12px;
  text-align: center;
}

/* ── Phone input overrides ── */
.signup-page .react-tel-input .form-control {
  width: 100% !important;
  height: 40px !important;
  border: 1px solid rgba(2, 74, 134, 0.3) !important;
  border-radius: 5px !important;
  font-size: 13px !important;
  background: rgba(2, 74, 134, 0.07) !important;
}

/* ── Success screen ── */
.signup-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

.signup-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #e8f5e9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.signup-success-icon svg {
  width: 40px;
  height: 40px;
  stroke: #2e7d32;
}

.signup-success-title {
  font-size: 22px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #01203a;
  margin: 0 0 10px 0;
}

.signup-success-msg {
  font-size: 14px;
  color: #555;
  margin: 0 0 28px 0;
  max-width: 340px;
  line-height: 1.6;
}

.signup-goto-login-btn {
  height: 42px;
  padding: 0 40px;
  background: linear-gradient(to right, #01203a, #0358a0);
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: opacity 0.2s;
}

.signup-goto-login-btn:hover {
  opacity: 0.88;
}

/* ── Footer ── */
.signup-footer {
  background: linear-gradient(to right, #01203a, #0358a0);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 48px;
}

.signup-footer-text {
  color: #ffffff;
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .signup-illustration {
    display: none;
  }

  .signup-center {
    padding: 24px 16px;
    justify-content: center;
  }

  .signup-card {
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
  }

  .signup-form-grid {
    grid-template-columns: 1fr;
  }

  .signup-form-field.full-width {
    grid-column: 1;
  }

  .signup-header {
    padding: 10px 20px;
  }

  .signup-footer {
    padding: 10px 20px;
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
}

/* ── OTP Step ── */
.signup-otp-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 24px 0 16px;
}

.signup-otp-box {
  width: 48px;
  height: 56px;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;

  &:focus {
    border-color: #4f46e5;
  }

  &.error {
    border-color: #ef4444;
  }
}

.signup-resend-link {
  text-align: center;
  font-size: 13px;
  color: #6b7280;
  margin-top: 12px;

  span {
    color: #4f46e5;
    cursor: pointer;
    font-weight: 500;

    &:hover {
      text-decoration: underline;
    }
  }
}

.signup-resend-disabled {
  color: #9ca3af;
  cursor: default;
}

/** @format */

.create-instance-form .k-form-field,
.create-instance-form .k-form-buttons {
  margin: 5px 0px !important;
}

.create-instance-form .k-form .k-form-field > .k-label,
.k-form .k-form-field > kendo-label,
.k-form .k-form-label {
  margin-bottom: 2px !important;
}

.create-instance-form .required-star {
  color: red;
}

.create-instance-dialog .common-title {
  font-size: 20px !important;
  margin-top: 0 !important;
  margin-bottom: 10px;
}

.create-instance-form .create-instance-label {
  font-family: Poppins;
  color: #555555;
  font-size: 14px;
}
.create-instance-form .k-checkbox-label {
  text-transform: uppercase;
  padding-left: 10px;
}

.create-instance-form .k-card-header {
  font-size: 20px;
  font-weight: 600;
}

/** @format */

.projects .k-radio-label {
  text-transform: uppercase;
}

.projectt .k-form-field,
.projectt .k-form-buttons {
  margin: 10px 0px !important;
  width: 50%;
}

.projectt .k-form-field > .k-label,
.projectt .k-form-field > kendo-label,
.projectt .k-form-label {
  margin: 0px !important;
}

/** @format */

.assign-group .k-checkbox-label {
  font-size: 14px !important;
  font-weight: 400;
  letter-spacing: normal;
}

.k-dialog {
  border-radius: 4px !important;
}

/** @format */

.dashboard-drawer .k-breadcrumb-root-link,
.dashboard-drawer .k-breadcrumb-link,
.dashboard-drawer.k-breadcrumb {
  text-decoration: none;
  border: none;
}

/* ── ClarityDrawer — ported from public/par-onboarding/styles.css ── */

.clarity-sidebar {
  width: 240px;
  min-width: 240px;
  background: linear-gradient(25deg, #01203a, #0358a0);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 2px 0 16px rgba(0, 0, 0, 0.25);
  z-index: 10;
  transition: width 0.2s ease, min-width 0.2s ease;
  height: 100%;
}

.clarity-sidebar.collapsed {
  width: 56px;
  min-width: 56px;
}

.clarity-sidebar-logo-area {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.clarity-sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.clarity-sidebar-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #4db8ff, #0358a0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(77, 184, 255, 0.3);
  flex-shrink: 0;
}

.clarity-sidebar-logo-text {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
}

.clarity-sidebar-nav {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.clarity-sidebar-nav::-webkit-scrollbar {
  width: 4px;
}
.clarity-sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

.clarity-nav-section-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
  padding: 10px 20px 4px;
  white-space: nowrap;
  overflow: hidden;
}

.clarity-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s;
  border-left: 3px solid transparent;
  background: none;
  border-top: none;
  border-right: none;
  border-bottom: none;
  width: 100%;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
}

.clarity-nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.clarity-nav-item.active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-left-color: #4db8ff;
  font-weight: 600;
}

.clarity-nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.75;
}

.clarity-nav-item.active .clarity-nav-icon {
  opacity: 1;
}

.clarity-nav-sub-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px 8px 42px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12.5px;
  text-decoration: none;
  transition: all 0.18s;
  border-left: 3px solid transparent;
  cursor: pointer;
  background: none;
  border-top: none;
  border-right: none;
  border-bottom: none;
  width: 100%;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
}

.clarity-nav-sub-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

.clarity-nav-sub-item.active {
  background: rgba(77, 184, 255, 0.2);
  color: #fff;
  border-left-color: #4db8ff;
  font-weight: 600;
}

.clarity-nav-sub-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.clarity-nav-sub-item.active .clarity-nav-sub-dot {
  background: #4db8ff;
}

.clarity-nav-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 8px 16px;
}

.clarity-sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

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

.clarity-sidebar-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  text-transform: uppercase;
}

.clarity-sidebar-user-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.clarity-sidebar-user-name {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.clarity-sidebar-user-role {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Shell layout ── */
.clarity-shell {
  display: flex;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

.clarity-content {
  flex: 1;
  overflow: auto;
  min-width: 0;
}

/* ── PAR progress stepper ── */
.clarity-stepper {
  padding: 4px 16px 10px 22px;
}

.clarity-stepper-meta {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  padding: 2px 0 10px 32px;
  white-space: nowrap;
}

.clarity-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 7px 8px 7px 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12.5px;
  transition: color 0.18s;
}

/* Vertical spine connecting each marker to the one above it. */
.clarity-step::before {
  content: '';
  position: absolute;
  left: 9px;
  top: -7px;
  height: 14px;
  width: 2px;
  background: rgba(255, 255, 255, 0.15);
}
.clarity-step:first-of-type::before {
  display: none;
}

.clarity-step-marker {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}

.clarity-step-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

/* Done */
.clarity-step.done {
  color: rgba(255, 255, 255, 0.82);
}
.clarity-step.done .clarity-step-marker {
  background: #4db8ff;
  border-color: #4db8ff;
  color: #01203a;
}
.clarity-step.done::before {
  background: #4db8ff;
}

/* Current */
.clarity-step.current {
  color: #fff;
  font-weight: 600;
}
.clarity-step.current .clarity-step-marker {
  border-color: #4db8ff;
  color: #4db8ff;
  box-shadow: 0 0 0 3px rgba(77, 184, 255, 0.2);
}

/* Locked */
.clarity-step.locked {
  color: rgba(255, 255, 255, 0.3);
  cursor: not-allowed;
}
.clarity-step.locked .clarity-step-marker {
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.35);
  background: transparent;
}

/* Active — the step whose route is currently open. */
.clarity-step.active .clarity-step-label {
  color: #fff;
  font-weight: 600;
}

.clarity-step:not(.locked):hover .clarity-step-label {
  color: #fff;
}

.clarity-step-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/** @format */

.demo-req .k-form-md .k-form-field,
.demo-req .k-form-md .k-form-buttons {
  margin-top: 0;
}
.demo-req .k-paragraph {
  font-weight: 600;
}

/** @format */
.create-new-assesment .k-external-dropzone {
  max-height: 136px !important;
}
.create-new-assesment .k-dropzone-inner {
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
}

.create-new-assesment .k-upload {
  border-bottom-left-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}

.create-new-assesment .k-label {
  margin-bottom: 4px !important;
  font-family: Poppins !important;
  color: #555555 !important;
  font-size: 14px !important;
}
.create-new-assesment .k-dropzone-hint,
.assesment-hint {
  font-family: Roboto;
  font-size: 13px;
  font-weight: 400;
  text-align: left;
  margin-bottom: 0px;
}

.create-new-assesment .k-svg-icon.k-icon-xxxl {
  width: 38px;
  height: 38px;
}
.create-new-assesment .k-dropzone-inner .k-dropzone-icon {
  margin-bottom: 1rem;
}

.assesment-note,
.create-new-assesment .k-dropzone-inner .k-dropzone-note {
  font-family: Roboto;
  font-size: 10px !important;
  font-weight: 400;
  text-align: left;
}

.create-new-assesment .k-upload .k-dropzone,
.k-upload .k-upload-dropzone {
  padding-inline: 5px;
  padding-block: 5px;
}
.create-new-assesment .k-upload .k-upload-files {
  max-height: 53px;
}

.create-new-assesment .k-upload .k-upload-files .k-file {
  padding: 0.3rem 0.3rem calc(0.3rem + 1px) !important;
}
.create-new-assesment .k-upload .k-upload-files .k-file-name {
  font-size: 12px !important;
}
.create-new-assesment .k-upload .k-file-success .k-file-validation-message {
  font-size: 9px !important;
}

.create-new-assesment .k-upload .k-upload-files .k-file-single {
  padding-bottom: 3px !important;
}

.create-new-assesment .k-svg-icon.k-icon-xxl {
  width: 30px;
  height: 30px;
}

.create-new-assesment .k-dropzone-hint {
  padding-left: 20px;
}
.create-new-assesment .k-button-text {
  font-size: 13px;
}

@keyframes blinkingAndFlashing {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

/** @format */

.risk-management .k-table-th,
.risk-management .k-header,
.control-view .k-table-th,
.control-view .k-header,
.evidence-view .k-table-th,
.evidence-view .k-header {
  background-color: #03559a;
}
.risk-management .k-hierarchy-cell,
.control-view .k-hierarchy-cell,
.evidence-view .k-hierarchy-cell {
  color: #03559a;
}

.create-control-dialog .k-form-md .k-form-field {
  margin-top: 0px;
}

.dropdown-score {
  width: 110px !important;
  height: fit-content !important;
  border-width: 0.1 !important;
  border-color: #bcbcbc !important;
  background-color: white !important;
}

.risk-management .k-floating-label-container > .k-label {
  font-size: 14px !important;
}

.risk_view .title,
.control-view .title,
.evidence-view .title {
  color: #555555;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  flex-wrap: wrap;
}

.risk_view .title .title-value,
.control-view .title-value,
.evidence-view .title-value {
  font-weight: 400;
  padding-left: 5px;
  text-transform: capitalize;
}

.evidence-view .reject-button .k-button-text,
.evidence-view .link-assignment-button .k-button-text {
  display: flex;
  align-items: center;
}

.risk-dialog .k-checkbox-label {
  font-size: 15px !important;
  margin-left: 10px !important;
}

.create-control-dialog .k-form .k-form-field > .k-label,
.create-control-dialog .k-form .k-form-field > kendo-label,
.create-control-dialog .k-form .k-form-label {
  margin-bottom: 1px;
}

.create-new-button .k-button-text {
  display: flex;
  align-items: center;
  gap: 5px;
}
.create-control-dialog div [dir="ltr"] {
  padding-top: 7px;
}

.k-checkbox-label {
  max-width: 80% !important;
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
  white-space: pre-wrap !important;
  word-break: break-all !important;
}

 .loader-3 {
 display: block;
  height: 32px;
  width: 32px;
 }
  .loader-3 span {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    height: 32px;
    width: 32px;
  }
  .loader-3 span::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    height: 32px;
    width: 32px;
    border: 3px solid #fff;
    border-bottom: 3px solid transparent;
    border-radius: 50%;
    -webkit-animation: loader-3-1 1.5s cubic-bezier(0.77, 0, 0.175, 1) infinite;
    animation: loader-3-1 1.5s cubic-bezier(0.77, 0, 0.175, 1) infinite;
  }
  @-webkit-keyframes loader-3-1 {
    0% {
      -webkit-transform: rotate(0deg);
    }
    40% {
      -webkit-transform: rotate(180deg);
    }
    60% {
      -webkit-transform: rotate(180deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
    }
  }
  @keyframes loader-3-1 {
    0% {
      transform: rotate(0deg);
    }
    40% {
      transform: rotate(180deg);
    }
    60% {
      transform: rotate(180deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  .loader-3 span::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    -webkit-animation: loader-3-2 1.5s cubic-bezier(0.77, 0, 0.175, 1) infinite;
    animation: loader-3-2 1.5s cubic-bezier(0.77, 0, 0.175, 1) infinite;
  }
  @-webkit-keyframes loader-3-2 {
    0% {
      -webkit-transform: translate3d(0, -32px, 0) scale(0, 2);
      opacity: 0;
    }
    50% {
      -webkit-transform: translate3d(0, 0, 0) scale(1.25, 1.25);
      opacity: 1;
    }
    100% {
      -webkit-transform: translate3d(0, 8px, 0) scale(0, 0);
      opacity: 0;
    }
  }
  @keyframes loader-3-2 {
    0% {
      transform: translate3d(0, -32px, 0) scale(0, 2);
      opacity: 0;
    }
    50% {
      transform: translate3d(0, 0, 0) scale(1.25, 1.25);
      opacity: 1;
    }
    100% {
      transform: translate3d(0, 8px, 0) scale(0, 0);
      opacity: 0;
    }
  }
/** @format */

.evidence-management .k-table-th,
.evidence-management .k-header,
.control-view .k-table-th,
.control-view .k-header,
.evidence-view .k-table-th,
.evidence-view .k-header {
  background-color: #03559a;
}
.evidence-management .k-hierarchy-cell,
.control-view .k-hierarchy-cell,
.evidence-view .k-hierarchy-cell {
  color: #03559a;
}

.create-Evidence-dialog .k-form-md .k-form-field {
  margin-top: 0px;
}

.dropdown-score {
  width: 110px !important;
  height: fit-content !important;
  border-width: 0.1 !important;
  border-color: #bcbcbc !important;
  background-color: white !important;
}

.evidence-management .k-floating-label-container > .k-label {
  font-size: 14px !important;
}

.risk_view .title,
.control-view .title,
.evidence-view .title,
.course-view .title {
  color: #555555;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  flex-wrap: wrap;
}

.risk_view .title .title-value,
.control-view .title-value,
.evidence-view .title-value {
  font-weight: 400;
  padding-left: 5px;
  text-transform: capitalize;
}
.course-view .title-value {
  font-weight: 400;
  padding-left: 5px;
}
.evidence-view .reject-button .k-button-text,
.evidence-view .link-assignment-button .k-button-text {
  display: flex;
  align-items: center;
}

.risk-dialog .k-checkbox-label {
  font-size: 15px !important;
  margin-left: 10px !important;
}

.create-Evidence-dialog .k-form .k-form-field > .k-label,
.create-Evidence-dialog .k-form .k-form-field > kendo-label,
.create-Evidence-dialog .k-form .k-form-label {
  margin-bottom: 1px;
}

.create-new-button .k-button-text {
  display: flex;
  align-items: center;
  gap: 5px;
}

.create-Evidence-dialog div [dir="ltr"] {
  padding-top: 7px;
}

.evidence-view .k-button-lg {
  line-height: 1;
}

/** @format */
.upload-dialog .k-external-dropzone {
  max-height: 136px !important;
}
.upload-dialog .k-dropzone-inner {
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
}
.upload-dialog .k-label {
  margin-bottom: 4px !important;
  font-family: Poppins !important;
  color: #555555 !important;
  font-size: 14px !important;
}
.upload-dialog .k-dropzone-hint,
.assesment-hint {
  font-family: Roboto;
  font-size: 13px;
  font-weight: 400;
  text-align: left;
  margin-bottom: 0px;
}

.upload-dialog .k-svg-icon.k-icon-xxxl {
  width: 38px;
  height: 38px;
}
.upload-dialog .k-dropzone-inner .k-dropzone-icon {
  margin-bottom: 1rem;
}

.assesment-note,
.upload-dialog .k-dropzone-inner .k-dropzone-note {
  font-family: Roboto;
  font-size: 10px !important;
  font-weight: 400;
  text-align: left;
}

.upload-dialog .k-upload .k-dropzone,
.k-upload .k-upload-dropzone {
  padding-inline: 5px;
  padding-block: 5px;
}
.upload-dialog .k-upload .k-upload-files {
  max-height: 53px;
}

.upload-dialog .k-upload .k-upload-files .k-file {
  padding: 0.3rem 0.3rem calc(0.3rem + 1px) !important;
}
.upload-dialog .k-upload .k-upload-files .k-file-name {
  font-size: 12px !important;
}
.upload-dialog .k-upload .k-file-success .k-file-validation-message {
  font-size: 9px !important;
}

.upload-dialog .k-upload .k-upload-files .k-file-single {
  padding-bottom: 3px !important;
}

.upload-dialog .k-svg-icon.k-icon-xxl {
  width: 30px;
  height: 30px;
}

.upload-dialog .k-dropzone-hint {
  padding-left: 20px;
}
.upload-dialog .k-button-text {
  font-size: 13px;
}

@keyframes blinkingAndFlashing {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

.approve-button {
  background: #ffffff !important;
  border: 1px solid #37b400 !important;
  color: #37b400 !important;
}

.reject-button {
  background: #ffffff !important;
  border: 1px solid #ff0202 !important;
  color: #ff0202 !important;
}

.approved-button {
  background: #37b400 !important;
  border: 1px solid #37b400 !important;
  color: #ffffff !important;
}

.rejected-button {
  background: #ff0202 !important;
  border: 1px solid #ff0202 !important;
  color: #ffffff !important;
}

.approve-button .k-button-text,
.reject-button .k-button-text,
.approved-button .k-button-text,
.rejected-button .k-button-text {
  display: flex;
  align-items: center;
}

.approve-button:hover {
  background: #37b400 !important;
  border: 1px solid #37b400 !important;
  color: #ffffff !important;
}

.reject-button:hover {
  background: #ff0202 !important;
  border: 1px solid #ff0202 !important;
  color: #ffffff !important;
}

.approved-button:hover {
  background: #ffffff !important;
  border: 1px solid #37b400 !important;
  color: #37b400 !important;
}

.rejected-button:hover {
  background: #ffffff !important;
  border: 1px solid #ff0202 !important;
  color: #ff0202 !important;
}

/** @format */

.suggestion-item-list {
  border: solid 1px #dce3e5;
  background-color: #ffffff;
  cursor: text;
  text-align: center;
  width: 200px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  margin: 20px auto;
}

.suggestion-item {
  padding: 10px 15px;
  transition: background-color 0.4s cubic-bezier(0.27, 1.27, 0.48, 0.56);
  color: #333;
  border-bottom: 1px solid #ececec;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item-active {
  background-color: #cce7ff;
  font-weight: bold;
  color: #003366;
}

.suggestion-item:hover {
  background-color: #f0f8ff;
}

.mention-node {
  color: #f76056;
  font-weight: bold;
}

.k-editor {
  display: flex;
  flex-direction: column-reverse;
  height: 100%;
  width: 100%;
  border-radius: 5px;
}

.k-editor-toolbar-wrap {
  order: 1; /* Ensure toolbar is placed at the bottom */
}

.k-editor-content {
  order: 2; /* Ensure content is above the toolbar */
  flex-grow: 1; /* Allow content to take up remaining space */
}

.k-toolbar {
  border-color: #dee2e6;
  color: #212529;
  background-color: #f8f9fa;
  width: 100%;
}

.comment-list-data p {
  margin-block-start: 1px;
  margin-block-end: 1px;
}

/** @format */

.tiptap {
  /* border: 2px solid red; */
}
.mention {
  box-decoration-break: clone;
  padding: 0.1rem 0.3rem;
}

.tiptap .ProseMirror .ProseMirror-focused {
  border: 2px solid green;
}

.ProseMirror {
  display: inline-block;
  padding: 8px;
  font-size: 16px;
  border-radius: 4px;
  box-sizing: border-box;
  outline: none;
  width: 100%;
  min-height: 100px;
  margin: auto;
  height: 100%;
  border: 1px solid #ccc;
}
.ProseMirror p {
  margin-block-start: 1px;
  margin-block-end: 1px;
}
.CommentBox {
  background-color: #e4e7eb;
  padding: 5px;
}

.CommentBox .k-button-solid-base {
  background-color: #ffffff;
  color: #000;
}

.CommentBox .k-button-text {
  padding: 0 5px;
}

/** @format */

.items {
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0px 10px 20px rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.8);
  font-size: 0.9rem;
  overflow: hidden;
  padding: 0.2rem;
  position: relative;
  border: 1px solid blue;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.item {
  background: transparent;
  border-radius: 0px;
  display: block;
  margin: 0;
  padding: 0.2rem 0.4rem;
  text-align: left;
  width: 100%;
  &.is-selected {
    border-color: #000;
  }
}
.mention {
  /* border: 1px solid #000; */
  font-size: 16px;
  color: red;
  font-weight: 500;
}

.item:hover {
  background-color: #f0f0f0;
}

/** @format */

.riskChart,
.AssetsChart,
.PolicyChart {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 10px;
}

.riskChartLegend,
.AssetsChartLegend,
.PolicyChartLegend {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 10px;
}

.riskChartLegendMap,
.AssetsChartLegendMap,
.PolicyChartLegendMap {
  flex-direction: row;
  display: flex;
  gap: 10px;
}

@media (max-width: 1193px) {
  .riskChartLegend,
  .AssetsChartLegend,
  .PolicyChartLegend {
    margin-top: 10px;
    flex-direction: row;
    justify-content: center;
  }
}

/** @format */

.k-external-dropzone {
  height: 175px;
}

.custom .k-dropzone-hint {
  display: none;
}
.framework-screen #start_date-popup-id .k-button-solid-base.k-selected,
.framework-screen .k-button-solid-primary {
  background: #03559a !important;
  border: #03559a !important;
}
.framework-screen .k-button-md {
  padding-inline: 1.4rem;
}

/** @format */

.risk-management .k-table-th,
.risk-management .k-header,
.control-view .k-table-th,
.control-view .k-header,
.evidence-view .k-table-th,
.evidence-view .k-header {
  background-color: #03559a;
}
.risk-management .k-hierarchy-cell,
.control-view .k-hierarchy-cell,
.evidence-view .k-hierarchy-cell {
  color: #03559a;
}

.create-risk-dialog .k-form-md .k-form-field {
  margin-top: 0;
}

.dropdown-score {
  width: 110px !important;
  height: fit-content !important;
  border-width: 0.1 !important;
  border-color: #bcbcbc !important;
  background-color: white !important;
}

.risk-management .k-floating-label-container > .k-label {
  font-size: 14px !important;
}

.risk_view .title,
.control-view .title,
.evidence-view .title {
  color: #555555;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  flex-wrap: wrap;
}

.risk_view .title .title-value,
.control-view .title-value,
.evidence-view .title-value {
  font-weight: 400;
  padding-left: 5px;
  text-transform: capitalize;
}

.evidence-view .reject-button .k-button-text,
.evidence-view .link-assignment-button .k-button-text {
  display: flex;
  align-items: center;
}

.risk-dialog .k-checkbox-label {
  font-size: 15px !important;
  margin-left: 10px !important;
}

.create-new-button .k-button-text {
  display: flex;
  align-items: center;
  gap: 5px;
}
.create-risk-dialog div [dir="ltr"] {
  padding-top: 7px;
}

/** @format */
.upload-dialog .k-external-dropzone {
  max-height: 136px !important;
}
.upload-dialog .k-dropzone-inner {
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
}
.upload-dialog .k-label {
  margin-bottom: 4px !important;
  font-family: Poppins !important;
  color: #555555 !important;
  font-size: 14px !important;
}
.upload-dialog .k-dropzone-hint,
.assesment-hint {
  font-family: Roboto;
  font-size: 13px;
  font-weight: 400;
  text-align: left;
  margin-bottom: 0px;
}

.upload-dialog .k-svg-icon.k-icon-xxxl {
  width: 38px;
  height: 38px;
}
.upload-dialog .k-dropzone-inner .k-dropzone-icon {
  margin-bottom: 1rem;
}

.assesment-note,
.upload-dialog .k-dropzone-inner .k-dropzone-note {
  font-family: Roboto;
  font-size: 10px !important;
  font-weight: 400;
  text-align: left;
}

.upload-dialog .k-upload .k-dropzone,
.k-upload .k-upload-dropzone {
  padding-inline: 5px;
  padding-block: 5px;
}
.upload-dialog .k-upload .k-upload-files {
  max-height: 53px;
}

.upload-dialog .k-upload .k-upload-files .k-file {
  padding: 0.3rem 0.3rem calc(0.3rem + 1px) !important;
}
.upload-dialog .k-upload .k-upload-files .k-file-name {
  font-size: 12px !important;
}
.upload-dialog .k-upload .k-file-success .k-file-validation-message {
  font-size: 9px !important;
}

.upload-dialog .k-upload .k-upload-files .k-file-single {
  padding-bottom: 3px !important;
}

.upload-dialog .k-svg-icon.k-icon-xxl {
  width: 30px;
  height: 30px;
}

.upload-dialog .k-dropzone-hint {
  padding-left: 20px;
}
.upload-dialog .k-button-text {
  font-size: 13px;
}

@keyframes blinkingAndFlashing {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

/** @format */

.profile-settings .k-tabstrip-items-wrapper .k-item:active,
.profile-settings .k-tabstrip-items-wrapper .k-item.k-active,
.profile-settings .k-tabstrip-items-wrapper .k-item.k-selected {
  border-bottom: 3px solid #03559a !important;
}

.profile-settings .k-tabstrip-items-wrapper .k-item:active .k-link,
.profile-settings .k-tabstrip-items-wrapper .k-item.k-active .k-link,
.profile-settings .k-tabstrip-items-wrapper .k-item.k-selected .k-link {
  color: #03559a !important;
  font-weight: 700 !important;
}

.profile-settings .k-tabstrip-items-wrapper .k-link,
.profile-settings .k-tabstrip-items-wrapper .k-link,
.profile-settings .k-tabstrip-items-wrapper .k-link {
  color: #717b8c;
  font-weight: 500;
}
.profile-settings .k-tabstrip-top > .k-tabstrip-items-wrapper .k-item:active,
.profile-settings .k-tabstrip-top > .k-tabstrip-items-wrapper .k-item.k-active {
  border: none !important;
  border-bottom: 3px solid #03559a !important;
}

.profile-settings .k-tabstrip-content,
.profile-settings .k-tabstrip > .k-content {
  border: transparent !important;
  background: transparent !important;
}
.profile-settings .k-tabstrip-top > .k-tabstrip-items-wrapper {
  max-width: max-content !important;
}
.profile-settings .k-animation-container,
.profile-settings .k-animation-container-relative {
  width: 100%;
}
.profile-settings .k-tabstrip {
  border: 1px solid #bcbcbc;
  border-radius: 5px;
  padding: 10px;
  background: transparent;
}

.profile-settings .form-container-settings {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

/** @format */
/** @format */

.control-details .k-tabstrip-items-wrapper .k-item:active,
.control-details .k-tabstrip-items-wrapper .k-item.k-active,
.control-details .k-tabstrip-items-wrapper .k-item.k-selected {
  border-bottom: 3px solid #03559a !important;
}

.control-details .k-tabstrip-items-wrapper .k-item:active .k-link,
.control-details .k-tabstrip-items-wrapper .k-item.k-active .k-link,
.control-details .k-tabstrip-items-wrapper .k-item.k-selected .k-link {
  color: #03559a !important;
  font-weight: 700 !important;
}

.control-details .k-tabstrip-items-wrapper .k-link,
.control-details .k-tabstrip-items-wrapper .k-link,
.control-details .k-tabstrip-items-wrapper .k-link {
  color: #717b8c;
  font-weight: 500;
}
.control-details .k-tabstrip-top > .k-tabstrip-items-wrapper .k-item:active,
.control-details .k-tabstrip-top > .k-tabstrip-items-wrapper .k-item.k-active {
  border: none !important;
  border-bottom: 3px solid #03559a !important;
}

.control-details .k-tabstrip-content,
.control-details .k-tabstrip > .k-content {
  border: transparent !important;
  background: transparent !important;
}
.control-details .k-tabstrip-top > .k-tabstrip-items-wrapper {
  max-width: max-content !important;
}
.control-details .k-animation-container,
.control-details .k-animation-container-relative {
  width: 100%;
}
.control-details .k-tabstrip {
  border: 1px solid #bcbcbc;
  border-radius: 5px;
  padding: 10px;
  background: transparent;
}

.control-details .form-container-settings {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.control-details .k-tabstrip-content {
  height: auto;
  min-height: 400px;
}

.control-details .title {
  color: #555555;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  flex-wrap: wrap;
  margin: 10px 0px;
}

.control-details .title-value {
  font-weight: 400;
  padding-left: 5px;
  text-transform: capitalize;
}

.Import_control_csv .k-button-text {
  display: flex;
  align-items: center;
  gap: 5px;
}

/** @format */

* {
  box-sizing: border-box;
}
.App {
  text-align: center;
}

.App-logo {
  height: 40vmin;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .App-logo {
    animation: App-logo-spin infinite 20s linear;
  }
}

.App-header {
  background-color: #282c34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
}

.App-link {
  color: #61dafb;
}

@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media (min-width: 768px) {
  .left {
    order: 1;
    flex: 0 0 50%;
  }

  .right {
    order: 2;
    flex: 0 0 60%;
  }
}
.csv-main-css {
  color: white;
  text-decoration: none;
  margin-left: 5;
  font-size: 16px;
}

.background-eclipse-Image {
  min-height: 95vh !important;
  background-position: 110% 90% !important;
  background-repeat: no-repeat !important;
}

.negative-status {
  color: #ffffff;
  background: #f42e1a;
  padding: 1px 16px 4px;
  border-radius: 5px;
  width: 100%;
  text-transform: capitalize;
}

.positive-status {
  color: #ffffff;
  background: #3abe00;
  padding: 1px 16px 4px;
  border-radius: 5px;
  width: 100%;
  text-transform: capitalize;
}

.neutral-status {
  color: #ffffff;
  background: #0275d5;
  padding: 1px 16px 4px;
  border-radius: 5px;
  width: 100%;
  text-transform: capitalize;
}

.remove-selected-date {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: red;
  z-index: 100;
}

.auditor-sort-button .k-button-text {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0px 5px;
}
.auditor-sort-button .k-button-text span svg {
  padding-top: 8px;
  font-size: 20px;
}

.total-evidence .k-grid-toolbar {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 20px;
}

