/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

.patient-section-tab[data-active="true"] {
  background-color: #3254d5;
  color: #ffffff;
  box-shadow: 0 4px 14px -10px rgba(50, 84, 213, 0.85);
}

.patient-section-tab[data-active="false"] {
  color: #475569;
}

.patient-section-tab[data-active="false"]:hover {
  background-color: #f1f5f9;
  color: #0f172a;
}

.app-toast-viewport {
  --toast-radius: 1.15rem;
}

.app-toast {
  position: relative;
  opacity: 0;
  transform: translate3d(0, -0.65rem, 0) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
  will-change: transform, opacity;
}

.app-toast[data-state="visible"] {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.app-toast[data-state="leaving"] {
  opacity: 0;
  transform: translate3d(0, -0.35rem, 0) scale(0.98);
}

.app-toast:hover,
.app-toast:focus-within {
  box-shadow: 0 24px 48px -28px rgba(15, 23, 42, 0.38);
}

.app-toast:hover button,
.app-toast:focus-within button {
  opacity: 1;
}

.app-tooltip {
  position: fixed;
  z-index: 90;
  max-width: 16rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 0.95rem;
  background: rgba(15, 23, 42, 0.96);
  color: #f8fafc;
  padding: 0.55rem 0.75rem;
  font-size: 0.75rem;
  line-height: 1.35;
  box-shadow: 0 18px 40px -24px rgba(15, 23, 42, 0.9);
  pointer-events: none;
  opacity: 0;
  transform: translateY(0.2rem) scale(0.98);
  transition: opacity 140ms ease, transform 140ms ease;
}

.app-tooltip[data-state="visible"] {
  opacity: 1;
  transform: translateY(0) scale(1);
}