body {
	background-color: #f5f5f5;
}

.app-main {
	padding-top: 20px;
	padding-bottom: 40px;
	min-height: 480px;
}

.app-main-auth {
	padding-top: 60px;
}

.login-panel {
	margin-top: 20px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-header {
	margin-top: 0;
	border-bottom: 1px solid #e5e5e5;
}

#app-alerts {
	margin-bottom: 15px;
	position: fixed;
	top: 70px;
	right: 20px;
	left: 20px;
	z-index: 2000;
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
	pointer-events: none;
}

#app-alerts .app-toast {
	pointer-events: auto;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn.is-loading {
	pointer-events: none;
	opacity: 0.75;
}

.navbar-brand {
	font-weight: 600;
}

.modal-lg {
	width: 900px;
}

#form-horario .form-control {
	margin-bottom: 5px;
}

.table > tbody > tr > td {
	vertical-align: middle;
}

.agenda-semana-titulo {
	margin: 10px 0 20px;
	font-weight: 600;
}

.agenda-semana-grid {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	overflow-x: auto;
	padding-bottom: 10px;
}

.agenda-dia {
	flex: 1 0 130px;
	min-height: 220px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	display: flex;
	flex-direction: column;
}

.agenda-dia-hoy {
	border-color: #337ab7;
	box-shadow: 0 0 0 1px #337ab7;
}

.agenda-dia-header {
	padding: 8px 10px;
	border-bottom: 1px solid #eee;
	background: #fafafa;
	text-align: center;
}

.agenda-dia-header strong {
	display: block;
	font-size: 13px;
}

.agenda-dia-header span {
	font-size: 20px;
	line-height: 1.2;
}

.agenda-dia-body {
	padding: 8px;
	flex: 1;
	overflow-y: auto;
}

.agenda-dia-vacio {
	color: #999;
	font-size: 12px;
	text-align: center;
	margin-top: 20px;
}

.agenda-evento {
	border-left: 3px solid #6b7280;
	background: #f9f9f9;
	border-radius: 0 3px 3px 0;
	padding: 6px 8px;
	margin-bottom: 8px;
	font-size: 12px;
}

.agenda-evento-hora {
	font-weight: 600;
	margin-bottom: 2px;
}

.agenda-evento-titulo {
	margin-bottom: 2px;
}

.agenda-evento-meta {
	color: #777;
	font-size: 11px;
}

@media (max-width: 768px) {
	.agenda-dia {
		flex-basis: 140px;
	}
}

.dashboard-hero {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	padding: 24px 28px;
	margin-bottom: 20px;
}

.dashboard-hero h2 {
	margin-top: 0;
	margin-bottom: 8px;
}

.dashboard-kpis {
	margin-bottom: 10px;
}

.dashboard-kpi {
	margin-bottom: 20px;
	text-align: center;
}

.dashboard-kpi .panel-body {
	padding: 18px 12px;
}

.dashboard-kpi-value {
	font-size: 32px;
	font-weight: 700;
	line-height: 1.1;
}

.dashboard-kpi-label {
	font-size: 13px;
	color: #555;
	margin-top: 6px;
}

.dashboard-kpi-hint {
	font-size: 11px;
	color: #999;
	margin-top: 4px;
}

.dashboard-panel {
	margin-bottom: 20px;
}

.dashboard-panel-body {
	padding: 0;
}

.dashboard-panel .panel-heading {
	overflow: hidden;
}

.dashboard-panel .panel-heading .small {
	line-height: 20px;
}

.dashboard-table {
	margin-bottom: 0;
}

.dashboard-table > thead > tr > th {
	border-bottom-width: 1px;
	font-size: 12px;
	text-transform: uppercase;
	color: #777;
}

.dashboard-empty {
	padding: 24px 15px;
	margin: 0;
}

.dashboard-acciones {
	margin-bottom: 10px;
}

.dashboard-accion {
	margin-bottom: 20px;
}

.dashboard-accion-titulo {
	margin-top: 0;
	margin-bottom: 8px;
	font-size: 16px;
}

.dashboard-resumen-extra {
	padding: 14px 20px;
	color: #666;
}

.dashboard-resumen-item strong {
	color: #333;
}

.btn-whatsapp {
	background-color: #25D366;
	border-color: #1da851;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
	background-color: #1da851;
	border-color: #128C7E;
	color: #fff;
}
