/* Custom styles for BloodDate Web Service */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

/* Custom subtle scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0b0e14;
}

::-webkit-scrollbar-thumb {
  background: #1f2533;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2d3546;
}

/* Status toggler buttons */
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
  border-width: 1px;
  min-width: 120px;
  text-align: center;
}

.status-pill:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

.status-pill:active {
  transform: translateY(0);
}

.status-cumplio {
  background-color: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

.status-no_cumplio {
  background-color: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}

.status-sin_registrar {
  background-color: rgba(100, 116, 139, 0.12);
  color: #94a3b8;
  border-color: rgba(100, 116, 139, 0.25);
}

/* Role badge */
.role-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.7rem;
  font-weight: 600;
}

/* Row hover */
tbody tr {
  transition: background-color 0.15s ease;
}

tbody tr:hover {
  background-color: rgba(31, 37, 51, 0.4);
}
