/* ==========================================================================
   NOSCASAMOS.MX — Agenda Section Styles
   Used by: sectionAgenda() in agendaUi.php
   ========================================================================== */

/* Stepper */
.ag-stepper {
	display: flex;
	justify-content: center;
	gap: 0;
	margin: 40px auto 30px;
	max-width: 500px;
	position: relative;
}
.ag-stepper::before {
	content: '';
	position: absolute;
	top: 18px;
	left: 15%; right: 15%;
	height: 2px;
	background: var(--rose-light);
}
.ag-step {
	text-align: center;
	position: relative;
	z-index: 2;
	flex: 1;
}
.ag-step-circle {
	width: 38px; height: 38px;
	border-radius: 50%;
	background: var(--white);
	border: 2px solid var(--rose-light);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 8px;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--text-light);
	transition: all 0.3s;
}
.ag-step.active .ag-step-circle {
	background: var(--rose-dark);
	border-color: var(--rose-dark);
	color: var(--white);
}
.ag-step.done .ag-step-circle {
	background: var(--gold);
	border-color: var(--gold);
	color: var(--white);
}
.ag-step-label {
	font-size: 0.7rem;
	color: var(--text-light);
	letter-spacing: 0.5px;
}
.ag-step.active .ag-step-label {
	color: var(--rose-dark);
	font-weight: 500;
}

/* Panel */
.ag-panel {
	background: var(--white);
	border-radius: 20px;
	padding: 45px 35px;
	border: 1px solid rgba(0,0,0,0.04);
	box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}
.ag-panel h2 {
	font-size: 2.2rem;
	text-align: center;
	margin-bottom: 25px;
	color: var(--text);
}

/* Service cards */
.ag-service-card {
	border: 2px solid rgba(0,0,0,0.04);
	border-radius: 20px;
	padding: 35px 25px;
	text-align: center;
	cursor: pointer;
	transition: all 0.4s ease;
	background: var(--white);
	height: 100%;
}
.ag-service-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 40px rgba(166, 128, 124, 0.1);
	border-color: var(--rose-light);
}
.ag-service-card.selected {
	border-color: var(--rose-dark);
	background: var(--champagne-light);
	box-shadow: 0 10px 30px rgba(166, 128, 124, 0.12);
}
.ag-svc-icon {
	width: 64px; height: 64px;
	border-radius: 18px;
	background: linear-gradient(135deg, var(--rose-light), var(--champagne-light));
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 18px;
	font-size: 1.4rem;
	color: var(--rose-dark);
	transition: all 0.4s ease;
}
.ag-service-card:hover .ag-svc-icon {
	transform: scale(1.1) rotate(3deg);
}
.ag-service-card h4 {
	font-family: 'Cormorant Garamond', serif;
	color: var(--text);
	font-size: 1.4rem;
	font-weight: 500;
	margin: 0 0 8px;
}
.ag-service-card p {
	font-size: 0.88rem;
	color: var(--text-light);
	margin: 0;
	font-weight: 300;
	line-height: 1.5;
}

/* Calendar */
.ag-calendar { user-select: none; }
.ag-cal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
}
.ag-cal-header h4 {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.5rem;
	font-weight: 500;
	color: var(--text);
	margin: 0;
}
.ag-cal-btn {
	width: 38px; height: 38px;
	border-radius: 50%;
	border: 1px solid rgba(0,0,0,0.06);
	background: var(--white);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--rose-dark);
	transition: all 0.3s;
	font-size: 0.9rem;
}
.ag-cal-btn:hover {
	background: var(--champagne-light);
	border-color: var(--rose-light);
}
.ag-cal-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
	text-align: center;
}
.ag-cal-day-name {
	font-size: 0.7rem;
	color: var(--text-light);
	padding: 8px 0;
	font-weight: 500;
	letter-spacing: 0.5px;
}
.ag-cal-day {
	padding: 10px 4px;
	border-radius: 12px;
	font-size: 0.9rem;
	cursor: pointer;
	transition: all 0.2s;
	color: var(--text);
}
.ag-cal-day:hover:not(.disabled):not(.empty) {
	background: var(--champagne-light);
}
.ag-cal-day.selected {
	background: var(--rose-dark);
	color: var(--white);
}
.ag-cal-day.today {
	border: 2px solid var(--gold);
}
.ag-cal-day.disabled {
	color: #ccc;
	cursor: default;
}
.ag-cal-day.empty { cursor: default; }

/* Slots */
.ag-slots {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 10px;
}
.ag-slot {
	padding: 14px;
	border-radius: 12px;
	border: 1px solid rgba(0,0,0,0.06);
	text-align: center;
	cursor: pointer;
	font-size: 0.9rem;
	transition: all 0.3s;
	color: var(--text);
	background: var(--white);
}
.ag-slot:hover {
	border-color: var(--rose-light);
	background: var(--champagne-light);
}
.ag-slot.selected {
	border-color: var(--rose-dark);
	background: var(--rose-dark);
	color: var(--white);
}

/* Form */
.ag-form-group { margin-bottom: 20px; }
.ag-form-group label {
	font-size: 0.85rem;
	color: var(--text);
	margin-bottom: 6px;
	display: block;
	font-weight: 400;
}
.ag-form-group input,
.ag-form-group textarea,
.ag-form-group select {
	width: 100%;
	padding: 14px 18px;
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 12px;
	font-family: 'Outfit', sans-serif;
	font-size: 0.95rem;
	color: var(--text);
	background: var(--white);
	outline: none;
	transition: border-color 0.3s;
}
.ag-form-group input:focus,
.ag-form-group textarea:focus,
.ag-form-group select:focus {
	border-color: var(--rose-dark);
}
.ag-form-group input::placeholder,
.ag-form-group textarea::placeholder {
	color: #bbb;
}

/* Buttons */
.btn-back {
	display: inline-block;
	background: transparent;
	color: var(--text-light);
	padding: 14px 28px;
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 50px;
	font-family: 'Outfit', sans-serif;
	font-size: 0.85rem;
	font-weight: 400;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s;
}
.btn-back:hover {
	background: var(--champagne-light);
	color: var(--text);
	border-color: var(--rose-light);
}
.btn-hero:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* Success */
.ag-success-icon {
	width: 80px; height: 80px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--champagne), var(--gold-light));
	color: var(--gold);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	font-size: 2rem;
}
.ag-confirm-box {
	background: var(--champagne-light);
	border-radius: 16px;
	padding: 25px;
	margin: 25px 0;
	text-align: left;
	border: 1px solid rgba(0,0,0,0.04);
}

/* Loading / No slots */
.ag-loading { text-align: center; padding: 40px 0; color: var(--text-light); }
.ag-no-slots { text-align: center; padding: 30px; color: var(--text-light); font-size: 0.95rem; }

/* Responsive */
@media (max-width: 767px) {
	.nc-hero-sm h1 { font-size: 2rem; }
	.ag-panel { padding: 28px 20px; }
	.ag-panel h2 { font-size: 1.8rem; }
	.ag-step-label { font-size: 0.6rem; }
	.ag-slots { grid-template-columns: repeat(2, 1fr); }
}
