/**
 * Fishing Reserve — Estilos frontend (wizard).
 */

.fr-booking {
	max-width: 960px;
	margin: 0 auto;
	font-family: inherit;
}

/* ===== Barra de progreso ===== */
.fr-progress {
	display: flex;
	list-style: none;
	margin: 0 0 2em;
	padding: 0;
	border-bottom: 1px solid #e2e8f0;
}

.fr-progress__step {
	display: flex;
	align-items: center;
	gap: 0.5em;
	flex: 1;
	padding-bottom: 0.75em;
	position: relative;
	color: #94a3b8;
	font-size: 0.85em;
	font-weight: 600;
}

.fr-progress__step:not(:last-child)::after {
	content: '';
	flex: 1;
	height: 2px;
	background: #e2e8f0;
	margin-left: 0.5em;
}

.fr-progress__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #e2e8f0;
	color: #64748b;
	font-size: 0.85em;
	flex: 0 0 auto;
}

.fr-progress__step.is-active {
	color: #0f766e;
}

.fr-progress__step.is-active .fr-progress__num {
	background: #0f766e;
	color: #fff;
}

.fr-progress__step.is-done {
	color: #0f766e;
}

.fr-progress__step.is-done .fr-progress__num {
	background: #0f766e;
	color: #fff;
}

.fr-progress__step.is-done:not(:last-child)::after {
	background: #0f766e;
}

/* ===== Pasos ===== */
.fr-booking .fr-step {
	margin-bottom: 2.5em;
}

.fr-booking .fr-step h2 {
	font-size: 1.35em;
	margin: 0 0 1em;
}

.fr-step__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75em;
	margin-top: 1.5em;
	align-items: center;
}

.fr-empty {
	padding: 1.5em;
	background: #f5f7fa;
	border-radius: 8px;
	text-align: center;
}

/* Tarjetas */
.fr-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5em;
}

.fr-card {
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.fr-card:hover {
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
	transform: translateY(-2px);
}

.fr-card.is-selected {
	border-color: #0f766e;
	box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.3);
}

/* Hidden cards must stay hidden even though .fr-card uses display:flex. */
.fr-card[hidden] {
	display: none;
}

.fr-card__media img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

.fr-card__body {
	padding: 1.25em;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.fr-card__title {
	margin: 0 0 0.5em;
	font-size: 1.15em;
}

.fr-card__captain,
.fr-card__capacity {
	margin: 0.15em 0;
	font-size: 0.92em;
}

.fr-card__description {
	margin: 0.6em 0;
	color: #475569;
	font-size: 0.95em;
}

.fr-card__conditions {
	margin: 0.6em 0;
	font-size: 0.85em;
	color: #64748b;
	font-style: italic;
	border-left: 3px solid #e2e8f0;
	padding-left: 0.75em;
}

.fr-card__prices {
	list-style: none;
	margin: 0.8em 0;
	padding: 0;
	font-size: 0.95em;
}

.fr-card__prices li {
	margin: 0.2em 0;
}

.fr-btn {
	display: inline-block;
	padding: 0.6em 1.2em;
	border: none;
	border-radius: 8px;
	background: #0f766e;
	color: #fff;
	font-size: 0.95em;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease;
	text-align: center;
	text-decoration: none;
}

.fr-btn:hover {
	background: #115e59;
	color: #fff;
}

.fr-btn:disabled {
	background: #cbd5e1;
	cursor: not-allowed;
}

.fr-btn--back {
	background: #fff;
	color: #334155;
	border: 1px solid #cbd5e1;
}

.fr-btn--back:hover {
	background: #f1f5f9;
	color: #334155;
}

.fr-btn--change {
	background: #fff;
	color: #334155;
	border: 1px solid #cbd5e1;
}

.fr-btn--change:hover {
	background: #f1f5f9;
	color: #334155;
}

.fr-card .fr-btn {
	margin-top: auto;
}

/* Calendario y horarios */
.fr-selected-package {
	font-weight: 600;
	color: #0f766e;
	margin: 0 0 1em;
}

.fr-schedule__date {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75em;
	align-items: center;
	margin-bottom: 1em;
}

.fr-schedule__date input[type="date"] {
	padding: 0.5em 0.75em;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 1em;
}

.fr-schedule__season {
	font-weight: 600;
	color: #0f766e;
	margin: 0.5em 0;
}

.fr-slots {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75em;
	margin: 0.75em 0;
}

.fr-slot {
	padding: 0.75em 1.25em;
	border: 2px solid #e2e8f0;
	border-radius: 10px;
	background: #fff;
	font-size: 1em;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.fr-slot:hover {
	border-color: #0f766e;
}

.fr-slot.is-selected {
	border-color: #0f766e;
	background: #0f766e;
	color: #fff;
}

.fr-full-day {
	margin: 0.75em 0;
	padding: 0.9em 1.1em;
	border: 1px dashed #0f766e;
	border-radius: 10px;
	background: #f0fdfa;
}

.fr-full-day label {
	display: flex;
	align-items: center;
	gap: 0.5em;
	cursor: pointer;
}

/* Formulario cliente */
.fr-form {
	max-width: 480px;
}

.fr-form p {
	margin: 0 0 1em;
}

.fr-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.3em;
}

.fr-form input {
	width: 100%;
	padding: 0.6em 0.8em;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 1em;
}

.fr-form input:focus {
	outline: none;
	border-color: #0f766e;
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

/* Resumen y pago */
.fr-summary {
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 1.1em 1.25em;
	background: #f8fafc;
	max-width: 480px;
	margin-bottom: 1.25em;
	font-size: 0.95em;
}

.fr-summary p {
	margin: 0.25em 0;
}

.fr-paypal-container {
	max-width: 480px;
	margin-bottom: 0.75em;
}

.fr-paypal-note {
	font-size: 0.85em;
	color: #64748b;
	max-width: 480px;
}

/* Mensajes */
.fr-messages {
	margin-top: 1em;
}

.fr-message {
	padding: 0.9em 1.1em;
	border-radius: 8px;
	margin: 0.5em 0;
}

.fr-message--error {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

.fr-message--success {
	background: #f0fdf4;
	color: #166534;
	border: 1px solid #bbf7d0;
}

/* Responsive */
@media (max-width: 600px) {
	.fr-cards {
		grid-template-columns: 1fr;
	}

	.fr-progress__label {
		display: none;
	}

	.fr-progress__step {
		justify-content: center;
	}

	.fr-step__nav .fr-btn {
		flex: 1;
	}

	.fr-schedule__date {
		flex-direction: column;
		align-items: stretch;
	}

	.fr-schedule__date input[type="date"],
	.fr-schedule__date .fr-btn {
		width: 100%;
	}
}