/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(23, 21, 19, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gold-border);
  height: 68px;
  display: flex;
  align-items: center;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 32px;
  height: 32px;
  position: relative;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--gold-bright);
  letter-spacing: -0.02em;
  line-height: 1;
}

.logo-tagline {
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  list-style: none;
}

.navbar-nav a {
  padding: 8px 14px;
  color: rgba(247, 242, 232, 0.75);
  font-size: 0.87rem;
  font-weight: 400;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--gold-bright);
  background: rgba(201,162,39,0.08);
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  transition: all var(--transition-fast);
  font-family: var(--font-sans);
}

.lang-btn.active {
  background: var(--gold-main);
  color: var(--bg-primary);
  font-weight: 600;
}

.lang-sep {
  color: var(--gold-border);
  user-select: none;
}

.navbar-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.navbar-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--gold-main);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  border: none;
  white-space: nowrap;
  font-family: var(--font-sans);
  line-height: 1;
}

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

.btn-primary {
  background: var(--gold-main);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background: var(--gold-bright);
  color: var(--bg-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(201,162,39,0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--gold-bright);
  border: 1px solid var(--gold-border);
}

.btn-secondary:hover {
  border-color: var(--gold-main);
  background: rgba(201,162,39,0.06);
  color: var(--gold-bright);
}

.btn-ghost {
  background: transparent;
  color: var(--text-ivory);
  border: 1px solid rgba(247,242,232,0.15);
}

.btn-ghost:hover {
  border-color: rgba(247,242,232,0.3);
  background: rgba(255,255,255,0.04);
  color: var(--text-ivory);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.02rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-sm);
}

/* =========================================================
   CARDS
   ========================================================= */
.card {
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  border-color: var(--gold-border-hover);
  box-shadow: var(--shadow-gold);
}

.card-light {
  background: var(--warm-white);
  border: 1px solid rgba(201,162,39,0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  color: var(--text-primary);
}

.card-light h1, .card-light h2, .card-light h3, .card-light h4 {
  color: var(--text-primary);
}

.card-light p { color: var(--text-secondary); }

.card-glass {
  background: rgba(42, 33, 26, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

/* =========================================================
   FORM ELEMENTS
   ========================================================= */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.form-input,
.form-select,
.form-textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,162,39,0.2);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-ivory);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
  font-family: var(--font-devanagari);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold-main);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.1);
  background: rgba(255,255,255,0.06);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23C9A227' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.form-select option {
  background: var(--bg-secondary);
  color: var(--text-ivory);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.75;
  font-size: 1rem;
}

.form-textarea.large {
  min-height: 180px;
  font-size: 1.05rem;
}

/* =========================================================
   MODAL
   ========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform var(--transition-base);
  box-shadow: var(--shadow-deep);
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  gap: var(--space-md);
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-ivory);
  background: rgba(255,255,255,0.06);
}

/* =========================================================
   TIMELINE
   ========================================================= */
.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-main), rgba(201,162,39,0.2));
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.timeline-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -24px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--gold-main);
  box-shadow: 0 0 8px rgba(201,162,39,0.4);
}

.timeline-dot.current {
  background: var(--gold-main);
}

.timeline-date {
  font-size: 0.78rem;
  color: var(--gold-main);
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: 0.03em;
}

.timeline-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-ivory);
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =========================================================
   TOAST NOTIFICATIONS
   ========================================================= */
.toast-container {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.toast {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  max-width: 400px;
  box-shadow: var(--shadow-deep);
  animation: slideInToast 0.3s ease;
  border: 1px solid transparent;
}

@keyframes slideInToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast-success {
  background: rgba(76, 175, 125, 0.15);
  border-color: rgba(76, 175, 125, 0.3);
  color: #6FCF97;
}

.toast-error {
  background: rgba(224, 82, 82, 0.15);
  border-color: rgba(224, 82, 82, 0.3);
  color: #EB5757;
}

.toast-info {
  background: rgba(201,162,39,0.1);
  border-color: var(--gold-border);
  color: var(--gold-bright);
}

/* =========================================================
   STEP CARD (Action Plan)
   ========================================================= */
.step-card {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: border-color var(--transition-base);
}

.step-card:hover {
  border-color: var(--gold-border-hover);
}

.step-card.completed {
  opacity: 0.65;
  border-color: rgba(76, 175, 125, 0.3);
}

.step-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold-border);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
  text-align: right;
  padding-top: 2px;
}

.step-content { flex: 1; }

.step-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-ivory);
  margin-bottom: 6px;
}

.step-detail {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.step-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--gold-border);
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  background: none;
  align-self: flex-start;
  margin-top: 2px;
}

.step-check:hover { border-color: var(--gold-main); }

.step-check.checked {
  background: var(--india-green);
  border-color: var(--india-green);
}

/* =========================================================
   STAT CHIPS
   ========================================================= */
.stat-chip {
  background: var(--bg-dark-brown);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  text-align: center;
}

.stat-chip-value {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--gold-bright);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-chip-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* =========================================================
   SEARCH BAR
   ========================================================= */
.search-bar {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,162,39,0.2);
  border-radius: var(--radius-lg);
  padding: 4px;
  transition: border-color var(--transition-fast);
}

.search-bar:focus-within {
  border-color: var(--gold-main);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.1);
}

.search-bar input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-ivory);
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: var(--font-sans);
}

.search-bar input:focus { outline: none; }
.search-bar input::placeholder { color: var(--text-muted); }

.search-bar-btn {
  background: var(--gold-main);
  color: var(--bg-primary);
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.88rem;
  transition: background var(--transition-fast);
  font-family: var(--font-sans);
}

.search-bar-btn:hover { background: var(--gold-bright); }

/* =========================================================
   LOADING / EMPTY / ERROR STATES
   ========================================================= */
.state-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
}

.state-icon {
  width: 64px;
  height: 64px;
  color: var(--gold-border);
  margin-bottom: var(--space-lg);
}

.state-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text-ivory);
  margin-bottom: var(--space-sm);
}

.state-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 36ch;
  line-height: 1.7;
}

/* Loading dots */
.loading-dots {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.loading-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-main);
  animation: dotPulse 1.4s ease-in-out infinite both;
}

.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* Processing steps */
.processing-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  text-align: left;
  min-width: 240px;
}

.processing-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition-base);
}

.processing-step.done { color: var(--status-disposed); }
.processing-step.active { color: var(--gold-bright); }

.processing-step-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--gold-border);
  padding: var(--space-3xl) 0 var(--space-xl);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand { }

.footer-logo-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-bright);
  margin-bottom: var(--space-sm);
}

.footer-desc {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 30ch;
  margin-bottom: var(--space-md);
}

.footer-heading {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.87rem;
  color: rgba(247,242,232,0.6);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover { color: var(--gold-bright); }

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--gold-border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-lg);
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 64ch;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  margin-top: 2px;
}

/* India flag accent stripe */
.india-stripe {
  display: flex;
  height: 3px;
  width: 60px;
  margin: var(--space-md) 0;
  border-radius: 2px;
  overflow: hidden;
}

.india-stripe-saffron { flex: 1; background: var(--saffron); }
.india-stripe-white   { flex: 1; background: rgba(255,255,255,0.5); }
.india-stripe-green   { flex: 1; background: var(--india-green); }

/* =========================================================
   QUICK ACTION CARD
   ========================================================= */
.action-card {
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: all var(--transition-base);
  color: var(--text-ivory);
}

.action-card:hover {
  border-color: var(--gold-main);
  background: var(--bg-dark-brown);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: var(--text-ivory);
}

.action-card-icon {
  width: 40px;
  height: 40px;
  color: var(--gold-main);
  margin-bottom: var(--space-sm);
}

.action-card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-ivory);
  margin-bottom: 4px;
}

.action-card-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.action-card-arrow {
  margin-top: auto;
  padding-top: var(--space-sm);
  color: var(--gold-main);
  font-size: 1.1rem;
  transition: transform var(--transition-fast);
}

.action-card:hover .action-card-arrow {
  transform: translateX(4px);
}

/* =========================================================
   JUDGMENT / CASE CARDS
   ========================================================= */
.judgment-card {
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-base);
}

.judgment-card:hover {
  border-color: var(--gold-border-hover);
  box-shadow: var(--shadow-gold);
}

.judgment-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.judgment-card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-ivory);
  line-height: 1.3;
}

.judgment-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.judgment-card-meta-item {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.judgment-card-relevance {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 10px 14px;
  background: rgba(201,162,39,0.05);
  border-left: 2px solid var(--gold-main);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: var(--space-md);
}

.judgment-card-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* =========================================================
   DOCUMENT CARD
   ========================================================= */
.doc-card {
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  transition: border-color var(--transition-base);
}

.doc-card:hover { border-color: var(--gold-border-hover); }

.doc-icon {
  width: 44px;
  height: 44px;
  background: rgba(201,162,39,0.08);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-main);
  flex-shrink: 0;
}

.doc-info { flex: 1; }

.doc-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-ivory);
  margin-bottom: 4px;
}

.doc-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* =========================================================
   DRAG & DROP UPLOAD
   ========================================================= */
.upload-zone {
  border: 2px dashed rgba(201,162,39,0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
  background: rgba(201,162,39,0.02);
}

.upload-zone:hover,
.upload-zone.drag-over {
  border-color: var(--gold-main);
  background: rgba(201,162,39,0.06);
}

.upload-zone-icon {
  width: 56px;
  height: 56px;
  color: var(--gold-antique);
  margin: 0 auto var(--space-md);
}

.upload-zone-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-ivory);
  margin-bottom: var(--space-sm);
}

.upload-zone-hint {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =========================================================
   AI CHAT BUBBLE
   ========================================================= */
.chat-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.chat-bubble {
  max-width: 80%;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.65;
}

.chat-bubble.user {
  background: rgba(201,162,39,0.1);
  border: 1px solid var(--gold-border);
  color: var(--text-ivory);
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.chat-bubble.ai {
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text-ivory);
  border-bottom-left-radius: 4px;
}

.chat-bubble.ai .bubble-label {
  font-size: 0.72rem;
  color: var(--gold-main);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

/* =========================================================
   TABS
   ========================================================= */
.tabs {
  display: flex;
  gap: 2px;
  border-bottom: 1px solid var(--gold-border);
  margin-bottom: var(--space-xl);
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar { display: none; }

.tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 12px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--transition-fast);
  white-space: nowrap;
  font-family: var(--font-sans);
}

.tab-btn:hover { color: var(--text-ivory); }

.tab-btn.active {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-main);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* =========================================================
   RESULT SUMMARY (NyayaPath Result Screen)
   ========================================================= */
.result-header {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-dark-brown) 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
  position: relative;
  overflow: hidden;
}

.result-header::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(201,162,39,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.found-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.found-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(201,162,39,0.06);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-ivory);
}

.found-item-icon { color: var(--gold-main); flex-shrink: 0; }
