:root {
  --docdock-primary: #1f6db2;
  --docdock-sidebar: #0f172a;
}

body {
  background: #f8fafc;
}

.app-topbar {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  margin-left: var(--sidenav-width);
}

.app-topbar .topbar-menu {
  min-height: var(--topbar-height);
  padding: 0 18px;
}

.sidebar {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #dbeafe;
  border-right: 1px solid #1f2937;
}

.sidebar .sidebar-inner {
  overflow-y: auto;
  height: 100%;
}

.nav-title {
  display: block;
  margin: 14px 0 8px;
  color: #93c5fd;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sidebar .nav-link {
  color: #e2e8f0;
  border-radius: 10px;
  margin-bottom: 6px;
  padding: 10px 12px;
}

.sidebar .nav-link.active,
.sidebar .nav-link:hover {
  color: #fff;
  background: rgba(59, 130, 246, 0.3);
}

.stat-card {
  border: 0;
}

.stat-card .value {
  font-size: 1.7rem;
  font-weight: 700;
}

.section-card {
  border: 0;
}

.calendar-item {
  border: 1px dashed #e2e8f0;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 10px;
}

.calendar-item:last-child {
  margin-bottom: 0;
}

.calendar-search-wrap {
  min-width: 280px;
}

#calendar-appointment .fc-toolbar {
  flex-wrap: wrap;
  gap: 10px;
}

#calendar-appointment .fc-button-primary {
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #334155;
  box-shadow: none;
}

#calendar-appointment .fc-button-primary:hover,
#calendar-appointment .fc-button-primary:focus,
#calendar-appointment .fc-button-primary:active {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e3a8a;
}

#calendar-appointment .fc-button-active {
  background: #1f6db2 !important;
  border-color: #1f6db2 !important;
  color: #fff !important;
}

#calendar-appointment .fc-day-today {
  background: #eef6ff !important;
}

#calendar-appointment .fc-event {
  border: 0;
}

#calendar-appointment .calendar-face-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.calendar-face {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  background: #1f6db2;
  color: #fff;
  border: 2px solid #fff;
  cursor:pointer;
}

.calendar-face-sm {
  width: 24px;
  height: 24px;
  font-size: 10px;
}

.calendar-face-lg {
  width: 38px;
  height: 38px;
  font-size: 13px;
}

#calendar-appointment .show-more {
  font-size: 12px;
  color: #1f6db2;
  text-decoration: none;
}

.calendar-day-popover .popover-body {
  min-width: 320px;
  max-width: 360px;
}

.calendar-popover-item {
  border-radius: 8px;
}

.calendar-popover-item:hover {
  background: #eff6ff !important;
}

.calendar-popover-active {
  outline: 2px solid #bfdbfe;
  outline-offset: -2px;
}

@media (max-width: 991.98px) {
  .app-topbar {
    margin-left: 0;
  }

  .app-topbar .topbar-menu {
    padding: 10px 12px;
    min-height: auto;
  }

  .calendar-day-popover .popover-body {
    min-width: 260px;
  }
}
