@charset "ISO-8859-1";

/* Overlay cobrindo a página */
.popupReservarServico-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	z-index: 9998;
	display: none;
}

/* Popup centralizada */
.popupReservarServico {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 90%;
	height: 90%;
	padding: 10px 10px 38px 10px;
	border-radius: 14px;
	background-color: white;
	box-shadow: 0 6px 25px rgba(0, 0, 0, 0.35);
	z-index: 9999;
	flex-direction: column;
	align-items: stretch;
	display: none;
	overflow-y: auto;
}

.closeReservarServico {
	float: right;
	font-size: 24px;
	cursor: pointer;
	margin-left: 10px;
}

.dados-reserva {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.form-group label {
	font-weight: 600;
}

.form-group input, .form-group textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-sizing: border-box;
}

.form-group textarea {
	resize: none;
	height: 100%;
	min-height: 210px;
}

.reserva-step {
	display: none;
}

.reserva-step.active {
	display: flex;
	flex-direction: column;
}

.reservar-cliente {
	display: flex;
	flex-direction: column;
}

.reservar-layout {
	display: grid;
	grid-template-columns: 320px minmax(500px, 1fr) 180px;
	gap: 30px;
	align-items: start;
}

.reservar-horas {
	display: flex;
	flex-direction: column;
}

.reservar-horas h3 {
	margin-bottom: 15px;
}

.reserva-step label {
	margin-top: 18px;
	font-weight: 600;
}

.reserva-step input, .reserva-step textarea, .reserva-step select {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 15px;
	font-family: 'Spartan', sans-serif;
	box-sizing: border-box;
	margin: 0px;
}

.reserva-step textarea {
	resize: vertical;
	resize: none;
}

.reserva-step input:focus, .reserva-step select:focus, .reserva-step textarea:focus
	{
	outline: none;
	border-color: black;
	box-shadow: 0 0 0 3px rgba(138, 129, 124, .15);
}

.reservar-calendario {
	display: flex;
	flex-direction: column;
}

.reservar-calendario h2 {
	margin-bottom: 20px;
}

#calendarioReserva {
	max-width: 520px;
	margin: 0 auto;
}

#calendarioReserva .fc-toolbar-title {
	font-size: 18px;
}

#calendarioReserva .fc-button {
	padding: 4px 8px;
	font-size: 13px;
}

#calendarioReserva .fc-daygrid-day-frame {
	min-height: 35px;
}

#calendarioReserva .fc-daygrid-day-events {
	min-height: 5px;
}

#calendarioReserva .fc-daygrid-day-number {
	padding: 2px 5px;
	font-size: 12px;
}

.hour-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}

.hour {
	padding: 12px;
	border-radius: 8px;
	text-align: center;
}

.hour.available {
	background: #dff6dd;
	color: #2e7d32;
}

.hour.unavailable {
	background: #ffe0e0;
	color: #c62828;
}

.hour.blocked {
	background: black;
	color: white;
	cursor: not-allowed;
	opacity: .7;
	display: none;
}

.hour.selected {
	background: #d7d3d2;
	color: #8A817C;
	transform: scale(1.05);
}

.hour.available:hover {
	background: white;
	color: #2e7d32;
	border: 1px solid #2e7d32;
}

.hour.unavailable:hover {
	background: white;
	color: #c62828;
	border: 1px solid #c62828;
}

.hour.selected:hover {
	border: 1px solid #8A817C;
	background: white;
	color: #8A817C;
	transform: scale(1.05);
}

.wizard {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px;
}

.wizard-line {
	height: 2px;
	background: #ddd;
	flex: 1;
	max-width: 120px;
}

.wizard-line.active {
	background: black;
}

.wizard-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	color: #999;
}

.wizard-step span {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #ddd;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 8px;
}

.wizard-step.active {
	color: black;
}

.wizard-step.active span {
	background: black;
	color: white;
}

.bntReserva {
	padding: 15px;
	border: none;
	border-radius: 10px;
	background: black;
	color: white;
	font-size: 16px;
	cursor: pointer;
	margin-top: 20px;
}

.bntReserva:hover {
	background: white;
	color: black;
	border: 1px solid black;
}

.wizard-buttons {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.wizard-buttons-right {
	display: flex;
	gap: 10px;
	margin-left: auto;
}

.dadosReserva {
	margin: 10px 0;
}

.dadosPagementoPreReserva {
	flex-direction: column;
	display: flex;
	background: #ddd;
	padding: 10px;
	border-radius: 10px;
}

.addImagemResumoReserva {
	background: linear-gradient(rgba(255, 255, 255, .80),
		rgba(255, 255, 255, .80)), url('/imagens/imagem-resumo-fundo.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.fc-prev-button, .fc-next-button {
	color: white !important;
	background: black !important;
	border: none !important;
}

.fc-prev-button:hover, .fc-next-button:hover {
	background: white !important;
	color: black !important;
	border: 0.5px solid black !important;
}

@media ( max-width :900px) {
	.reservar-layout {
		grid-template-columns: 1fr;
	}
}

@media ( max-width : 1100px) {
	.reservar-layout {
		grid-template-columns: 1fr;
	}
	.reservar-cliente, .reservar-calendario, .reservar-horas {
		width: 100%;
	}
	.hour-list {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
		gap: 10px;
	}
}

@media ( max-width :900px) {
	.dados-reserva {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.form-group textarea {
		min-height: 150px;
	}
}