.app-shell {
  background:
    radial-gradient(circle at top right, rgba(102, 16, 242, 0.12), transparent 25%),
    radial-gradient(circle at top left, rgba(13, 110, 253, 0.14), transparent 24%),
    linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  min-height: 100vh;
  color: #0f172a;
}

.hero-card {
  background: linear-gradient(135deg, #198754 0%, #0d6efd 55%, #6610f2 100%);
  color: #fff;
  border-radius: 1.75rem;
  overflow: hidden;
  position: relative;
}

.hero-card::after {
  content: '';
  position: absolute;
  inset: auto -4rem -4rem auto;
  width: 14rem;
  height: 14rem;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(10px);
  border-radius: 50%;
}

.form-card {
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.06);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
}

.session-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
  overflow: hidden;
}

.session-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.12);
}

.session-card.active {
  outline: 2px solid rgba(13, 110, 253, 0.24);
  box-shadow: 0 1.25rem 2rem rgba(37, 99, 235, 0.12);
}

.status-pill {
  font-size: 0.8rem;
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font-weight: 700;
}

.status-open {
  background: rgba(25, 135, 84, 0.12);
  color: #198754;
}

.status-connecting {
  background: rgba(255, 193, 7, 0.18);
  color: #9a6700;
}

.status-closed {
  background: rgba(220, 53, 69, 0.12);
  color: #dc3545;
}

.stat-tile {
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.88);
  padding: 1.2rem;
  box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.stat-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
  font-size: 1.35rem;
}

.result-panel {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 1rem;
  min-height: 220px;
}

.result-panel pre {
  color: inherit;
  white-space: pre-wrap;
  word-break: break-word;
}

.section-title {
  letter-spacing: 0.02em;
}

.helper-text {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.65;
}

.empty-state {
  border: 2px dashed #cbd5e1;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.7);
}

.nav-pills {
  gap: 0.5rem;
}

.nav-pills .nav-link {
  border-radius: 999px;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-weight: 600;
  padding-inline: 1rem;
}

.nav-pills .nav-link.active {
  background: linear-gradient(135deg, #198754 0%, #0d6efd 100%);
  border-color: transparent;
}

.form-control,
.form-select {
  border-radius: 0.9rem;
  padding: 0.8rem 1rem;
  border-color: #dbe4f0;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(13, 110, 253, 0.45);
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.12);
}

.btn {
  border-radius: 0.9rem;
}

.btn-lg {
  padding-inline: 1.25rem;
}

.modal-content {
  border-radius: 1.35rem;
  box-shadow: 0 2rem 3rem rgba(15, 23, 42, 0.18);
}
