:root {
  --csc-primary: #431B82;
  --csc-accent: #F7C32E;
  --csc-dark: #230B4A;
  --csc-bg: #F8FAFC;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--csc-bg);
  color: #1e293b;
  margin: 0;
  padding: 0;
}

.app-header {
  background: linear-gradient(90deg, #230B4A 0%, #35126B 55%, #230B4A 100%) !important;
  border-bottom: 3px solid #F7C32E !important;
}

.nav-bar {
  background-color: #230B4A !important;
  border-top: 1px solid #35126B !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08) !important;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #94a3b8;
  background: transparent;
  border: none;
  border-radius: 0;
  transition: color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}

.nav-btn:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
}

.nav-active {
  background-color: #431B82 !important;
  color: #ffffff !important;
  font-weight: 800;
  box-shadow: inset 0 -3px 0 0 #F7C32E !important;
}

.subtab-btn {
  padding: 0.6rem 1rem;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 0.65rem;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.subtab-btn:hover {
  background-color: #f3e8ff;
  color: #431B82;
  border-color: #d8b4fe;
}

.subtab-active {
  background-color: #431B82 !important;
  color: #ffffff !important;
  border-color: #431B82 !important;
  box-shadow: 0 4px 10px rgba(67, 27, 130, 0.18);
}

.portal-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(67, 27, 130, 0.12);
}

.cal-day-btn {
  height: 2.15rem;
  border-radius: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.cal-day-available {
  background-color: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
  cursor: pointer;
}

.cal-day-available:hover {
  background-color: #d1fae5;
  border-color: #34d399;
}

.cal-day-unavailable {
  background-color: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
  text-decoration: line-through;
  cursor: not-allowed;
  opacity: 0.85;
}

.cal-day-selected {
  background-color: #431B82 !important;
  color: #ffffff !important;
  border-color: #230B4A !important;
  box-shadow: 0 2px 6px rgba(67, 27, 130, 0.25);
}

.cal-day-range {
  background-color: #f3e8ff !important;
  color: #431B82 !important;
  border-color: #d8b4fe !important;
}

.lab-slot-chip {
  cursor: pointer;
}

.certificate-sheet {
  background: #ffffff;
  border: 4px solid #431B82;
  border-radius: 1rem;
  padding: 0.6rem;
  box-shadow: 0 12px 28px rgba(35, 11, 74, 0.08);
  box-sizing: border-box;
}

.certificate-inner-frame {
  border: 2.5px solid #F7C32E;
  border-radius: 0.75rem;
  padding: 2rem 3rem 1.75rem;
  background: #ffffff;
  box-sizing: border-box;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}