:root {
	--sidebar-width: 260px;
	--bs-body-font-family: "Inter Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body {
	min-height: 100vh;
}

.sidebar {
	width: var(--sidebar-width);
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	z-index: 1000;
	overflow-y: auto;
}

.sidebar .nav-link {
	border-radius: 6px;
	margin-bottom: 2px;
	opacity: 0.85;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
	opacity: 1;
	background: rgba(255, 255, 255, 0.1);
}

.main-content {
	margin-left: var(--sidebar-width);
	padding: 1.5rem;
}

@media (max-width: 768px) {
	.sidebar {
		transform: translateX(-100%);
		transition: transform 0.3s;
	}
	.sidebar.show {
		transform: translateX(0);
	}
	.main-content {
		margin-left: 0;
	}
}

/* ---- FullCalendar (calendario de citas del panel admin) ---- */
.fc {
	--fc-border-color: #e2e8f0;
	--fc-neutral-bg-color: #f8fafc;
	--fc-page-bg-color: #ffffff;
	--fc-today-bg-color: rgba(79, 70, 229, 0.06);
	--fc-now-indicator-color: #dc2626;
	--fc-event-border-color: transparent;
	--fc-button-bg-color: #ffffff;
	--fc-button-border-color: #e2e8f0;
	--fc-button-text-color: #475569;
	--fc-button-hover-bg-color: #f1f5f9;
	--fc-button-hover-border-color: #cbd5e1;
	--fc-button-active-bg-color: #4f46e5;
	--fc-button-active-border-color: #4f46e5;
	font-size: 0.92rem;
	font-family: "Inter Variable", system-ui, sans-serif;
}
.fc .fc-toolbar-title { letter-spacing: -0.01em; color: #0f172a; }
.fc .fc-toolbar-title::first-letter { text-transform: uppercase; }
.fc .fc-daygrid-dot-event { color: #0f172a; font-weight: 550; }
.fc .fc-daygrid-dot-event:hover { background: #f1f5f9; }
.fc .fc-button {
	border-radius: 8px;
	padding: 0.45rem 0.8rem;
	font-weight: 550;
	box-shadow: none !important;
	text-transform: capitalize;
}
.fc .fc-button-primary:not(:disabled):active,
.fc .fc-button-primary:not(:disabled).fc-button-active { color: #fff; }
.fc .fc-button-group > .fc-button { border-radius: 0; }
.fc .fc-button-group > .fc-button:first-child { border-radius: 8px 0 0 8px; }
.fc .fc-button-group > .fc-button:last-child { border-radius: 0 8px 8px 0; }
.fc .fc-scrollgrid { border-radius: 12px; overflow: hidden; border-color: #e2e8f0; }
.fc .fc-col-header-cell { background: #f8fafc; }
.fc .fc-col-header-cell-cushion {
	padding: 0.6rem 0.25rem;
	font-size: 0.72rem;
	font-weight: 650;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #64748b;
	text-decoration: none;
}
.fc .fc-daygrid-day-number { padding: 0.4rem 0.55rem; color: #334155; font-size: 0.82rem; text-decoration: none; }
.fc .fc-day-today .fc-daygrid-day-number {
	background: #4f46e5;
	color: #fff;
	border-radius: 999px;
	margin: 4px;
	padding: 0.15rem 0.5rem;
	font-weight: 650;
}
.fc .fc-day-other .fc-daygrid-day-number { color: #cbd5e1; }
.fc .fc-event {
	--ev: #4f46e5;
	border: 0 !important;
	border-left: 3px solid var(--ev) !important;
	border-radius: 6px;
	padding: 2px 6px;
	font-size: 0.78rem;
	font-weight: 550;
	background: color-mix(in srgb, var(--ev) 13%, #ffffff) !important;
	color: #0f172a;
	box-shadow: none;
}
.fc .fc-event:hover { background: color-mix(in srgb, var(--ev) 22%, #ffffff) !important; }
.fc .fc-event .fc-event-main { color: inherit; }
.fc .fc-event.estado-cancelada { opacity: 0.6; text-decoration: line-through; }
.fc .fc-daygrid-event { margin: 1px 4px; }
.fc .fc-daygrid-day-frame { min-height: 96px; }
.fc .fc-timegrid-slot-label-cushion,
.fc .fc-timegrid-axis-cushion { font-size: 0.75rem; color: #64748b; }
.fc .fc-popover { border-radius: 12px; border-color: #e2e8f0; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12); overflow: hidden; }
.fc .fc-popover-header { background: #f8fafc; font-weight: 600; }

.fc .fc-event-time { flex-shrink: 0; overflow: visible; margin-right: 4px; font-weight: 650; }
