/* Widget de reservas [academia_reservas] — estilo minimalista,
   hereda tipografía y colores del tema (Elementor, Hello, Astra, GeneratePress). */

.ar-widget {
	max-width: 420px;
	margin: 0 auto;
}

.ar-widget .ar-title {
	margin: 0 0 8px;
}

.ar-widget .ar-subtitle {
	margin: 0 0 20px;
	opacity: 0.8;
}

/* Botones */
.ar-btn {
	display: inline-block;
	padding: 12px 28px;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.ar-btn-primary {
	background: #e85a34;
	color: #fff;
}

.ar-btn-primary:hover {
	opacity: 0.85;
}

.ar-btn[disabled] {
	opacity: 0.5;
	cursor: default;
}

/* Título sobre el calendario */
.ar-pick-day {
	margin: 0 0 14px;
	font-size: 18px;
	font-weight: 600;
	text-align: center;
}

/* Calendario */
.ar-calendar {
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 8px;
	padding: 16px;
}

.ar-cal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.ar-cal-month {
	font-weight: 600;
}

.ar-cal-prev,
.ar-cal-next {
	background: none;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 6px;
	width: 32px;
	height: 32px;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

.ar-cal-prev[disabled],
.ar-cal-next[disabled] {
	opacity: 0.3;
	cursor: default;
}

.ar-cal-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
	text-align: center;
}

.ar-cal-wd {
	font-size: 12px;
	font-weight: 600;
	opacity: 0.6;
	padding: 4px 0;
}

.ar-cal-day {
	background: none;
	border: 1px solid transparent;
	border-radius: 6px;
	padding: 8px 0;
	font-size: 14px;
	font-weight: 600;
	color: #90ccaf;
	cursor: pointer;
}

.ar-cal-day:hover:not([disabled]) {
	border-color: #90ccaf;
}

.ar-cal-day[disabled] {
	opacity: 0.3;
	cursor: default;
	text-decoration: line-through;
}

.ar-cal-day.ar-selected {
	background: #e85a34;
	border-color: transparent;
	color: #fff;
}

/* Horas */
.ar-slots {
	margin-top: 20px;
}

.ar-slots-title {
	font-weight: 600;
	margin: 0 0 10px;
}

.ar-slots-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ar-slot {
	border: 1px solid #90ccaf;
	border-radius: 6px;
	background: #90ccaf;
	color: #fff;
	padding: 8px 16px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.ar-slot:hover {
	background: #7dbf9f;
	border-color: #7dbf9f;
}

.ar-slot.ar-selected {
	background: #e85a34;
	border-color: transparent;
	color: #fff;
}

.ar-loading,
.ar-empty {
	opacity: 0.7;
	font-size: 14px;
}

/* Formulario */
.ar-form {
	margin-top: 24px;
}

.ar-summary {
	font-weight: 600;
	margin: 0 0 16px;
}

.ar-field {
	margin: 0 0 14px;
}

.ar-field label {
	display: block;
	font-size: 14px;
	font-weight: 600;
}

.ar-field input {
	display: block;
	width: 100%;
	margin-top: 4px;
	padding: 10px 12px;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 6px;
	font-size: 15px;
	box-sizing: border-box;
}

.ar-field input:focus {
	outline: 2px solid #90ccaf;
	outline-offset: 1px;
}

/* Mensajes */
.ar-message {
	margin-top: 16px;
	padding: 12px 14px;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.05);
	font-size: 14px;
}

.ar-message.ar-error {
	background: #fdecea;
	color: #b32d2e;
}

.ar-success {
	padding: 16px;
	border-radius: 8px;
	background: #edf7ed;
	color: #1e4620;
	font-size: 16px;
	font-weight: 600;
	text-align: center;
}
