/* Provider portal styles. Was an inline <style> block in provider.html. */

body {
  font-family: 'Inter', system-ui, sans-serif;
}

/* Sidebar navigation */
.sidebar-item {
  transition: all 0.15s ease;
}
.sidebar-item:hover {
  background: rgba(255, 255, 255, 0.08);
}
.sidebar-item.active {
  background: rgba(255, 255, 255, 0.12);
  border-left: 3px solid #93c5fd;
}

/* Case list rows */
.case-row {
  transition: all 0.15s ease;
  cursor: pointer;
}
.case-row:hover {
  background: #f8fafc;
}
.case-row.selected {
  background: #eff6ff;
  border-left: 3px solid #002062;
}

/* Action buttons */
.action-btn {
  transition: all 0.15s ease;
}
.action-btn:hover {
  transform: translateY(-1px);
}

.badge {
  font-size: 10px;
  letter-spacing: 0.05em;
}
.confidence-bar {
  transition: width 0.6s ease;
}

/* Modals */
.modal-overlay {
  animation: fadeIn 0.2s ease;
}
.modal-content {
  animation: slideUp 0.2s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile + tablet responsive sidebar */
@media (max-width: 1023px) {
  .sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 40;
  }
  .sidebar-panel {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 260px;
    z-index: 50;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  .sidebar-panel.open {
    transform: translateX(0);
    display: flex !important;
  }
}

/* Day-board empty / ambient scene */
.board-scene {
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(220, 227, 240, 0.9), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 70%, rgba(240, 243, 249, 0.95), transparent 50%),
    linear-gradient(165deg, #f8fafc 0%, #eef2f7 100%);
}
.board-scene-inner {
  min-height: 12rem;
}
.board-empty {
  text-align: center;
  padding: 2.5rem 1.5rem 2rem;
}
.board-empty svg {
  margin: 0 auto 1rem;
}
.board-empty h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  color: #1a1d45;
  font-weight: 600;
}
.board-empty p {
  margin: 0.5rem auto 0;
  max-width: 26rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #5b6577;
}
.board-empty .cta {
  display: inline-flex;
  margin-top: 1.25rem;
  padding: 0.625rem 1.1rem;
  border-radius: 0.75rem;
  background: #002062;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}
.board-empty .cta:hover {
  background: #272A63;
}
.board-empty .hint {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: #8a93a6;
}
