/* ---------- CARD STYLE ---------- */
.patient-card {
  margin-left: 5px;
  margin-right: 15px;
  border-radius: 1rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  position: relative;
  width: 282px;
  padding: 1rem;
  /* height : 275px; */
}

.patient-card.text-dark {
  color: #040D12;
}

.patient-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

/* ---------- BACKGROUND COLORS ---------- */
.bg-red {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.bg-orange {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.bg-yellow {
  background: linear-gradient(135deg, #facc15, #eab308);
}

.bg-green {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

/* ---------- CONTENT ---------- */
.patient-time {
  font-weight: bold;
  font-size: 1.25rem;
}

.patient-header {
  font-size: 0.9rem;
  opacity: 0.9;
}

.emoji {
  font-size: 2rem;
}

/* ---------- FOOTER ---------- */
.patient-footer {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
}

/* ---------- STATUS BADGE ---------- */
.status-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 50px;
  padding: 0.35rem 0.65rem;
  animation: pulse 1.5s infinite;
}

.status-new {
  background-color: #16a34a;
}

/* hijau */
.status-waiting {
  background-color: #f59e0b;
}

/* oranye */
.status-critical {
  background-color: #dc2626;
}

/* merah */

@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }

  100% {
    opacity: 1;
  }
}

/* ---------- SPECIALTY ICON ---------- */
.specialty-icon {
  font-size: 1.1rem;
  margin-right: 0.25rem;
}

/* .table td:nth-child(1),
table th:nth-child(1) {
  background: #ffffff;
  position: sticky;
  left: 0;
  z-index: 5;
  color: white;
}

.table th:nth-child(1) {
  z-index: 6;
}

.table th {
  background-color: #1e3a8a;
  color: white;
  font-size: 14px;
  font-weight: bold;
  position: sticky;
  top: 0;
  z-index: 2;
} */
