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

.sidebar .nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  color: #e5e7eb !important;
  font-weight: 700;
  background: transparent;
  transition: all .18s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.sidebar .nav-item:visited {
  color: #e5e7eb !important;
}
.sidebar .nav-item:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  color: #ffffff !important;
}
.sidebar .nav-item.active {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.16);
  color: #ffffff !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.sidebar .nav-ico {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c7d2fe !important;
}
.sidebar .nav-ico svg { width: 18px; height: 18px; stroke: currentColor; }
.sidebar .nav-item span {
  color: inherit !important;
}

.sidebar {
  display: flex;
  flex-direction: column;
  background: #0f172a;
  border-right: 1px solid #111827;
  padding: 16px 12px;
  gap: 12px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: #eef2ff;
  color: #4338ca;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.card-icon svg { width: 18px; height: 18px; stroke: currentColor; }

.glass {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: white;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.color-chip-input {
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 14px;
  cursor: pointer;
  background: transparent;
  -webkit-appearance: none;
          appearance: none;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}
.color-chip-input::-webkit-color-swatch {
  border: none;
  border-radius: 12px;
}
.color-chip-input::-moz-color-swatch {
  border: none;
  border-radius: 12px;
}

.input-error {
  border-color: #f43f5e !important;
  box-shadow: 0 0 0 1px #f43f5e33;
}

.calendar-day {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
}
.calendar-day .reservas-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  max-height: calc(100% - 18px);
  padding-right: 2px;
  scrollbar-width: thin;
}
.calendar-day .reservas-list::-webkit-scrollbar {
  width: 6px;
}
.calendar-day .reservas-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}
.cal-reserva {
  display: block;
  max-width: 100%;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
