/***** AGENDAR CITA *****/
#appointment-schedule {
	background: #F4F8FB;
	padding: 50px 0 60px;
}

.schedule-intro {
	color: #343A40;
	line-height: 1.6;
	margin: 15px auto 0;
}

#schedule > div {
	width: 90%;
	max-width: 920px;
	margin: 0 auto;
	color: #343A40;
	font-size: 18px;
}

#schedule > div > label,
#hour-appointment > label {
	display: block;
	font-weight: 600;
	margin-bottom: 10px;
}

#calendar {
	display: flex;
	align-items: center;
	gap: 12px;
	width: fit-content;
	padding: 10px 16px;
	background: #005CA2;
	border: 1px solid #005CA2;
	border-radius: 6px;
}

#calendar img {
	width: 32px;
	filter: brightness(0) invert(1);
}

#date-appointment {
	border: 0;
	background: transparent;
	color: white;
	font: inherit;
	cursor: pointer;
}

#date-appointment::-webkit-calendar-picker-indicator { filter: invert(1); cursor: pointer; }
#hour-appointment { padding-top: 35px; }
#hours { min-height: 48px; }

.available-hour {
	background: #005CA2;
	border: 1px solid #005CA2;
	border-radius: 5px;
	color: white;
	padding: 12px 18px;
	margin: 5px;
	cursor: pointer;
	font-size: 15px;
	transition: background-color .2s, border-color .2s;
}

.available-hour:hover { background: #004A82; border-color: #004A82; }

#background-schedule-appointment-form {
	position: fixed;
	inset: 0;
	background: rgba(38, 50, 56, .82);
	z-index: 100;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

#schedule-appointment-form {
	width: min(440px, 100%);
	max-height: 90vh;
	overflow-y: auto;
	box-sizing: border-box;
	background: white;
	color: #343A40;
	padding: 30px;
	border-top: 5px solid #00A6C7;
	border-radius: 8px;
}

#schedule-appointment-form h2 { color: #005CA2; margin-top: 0; }
#appointment-summary { color: #263238; font-weight: 600; }
#appointment-form label { display: block; margin: 14px 0 6px; font-weight: 600; }
#appointment-form input:not([type="hidden"]), #appointment-form textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #B0BEC5;
	border-radius: 4px;
	padding: 10px;
	font: inherit;
}
#appointment-form input:focus, #appointment-form textarea:focus { outline: 2px solid #00A6C7; border-color: #005CA2; }
.payment-note { background: #F4F8FB; padding: 12px; font-size: 14px; }
.appointment-actions { display: flex; gap: 10px; margin-top: 20px; }
.appointment-actions button { flex: 1; border: 0; border-radius: 4px; padding: 12px; cursor: pointer; font-weight: 600; }
#appointment-button { background: #005CA2; color: white; }
#appointment-button:hover { background: #004A82; }
#appointment-button:disabled { opacity: .6; cursor: wait; }
#cancel-appointment-button { background: #CFD8DC; color: #263238; }
#generate-appointment { display: none; align-items: center; gap: 10px; margin-top: 18px; }
#generate-appointment img { width: 35px; }

@media only screen and (max-width: 599px) {
	#appointment-schedule { padding: 35px 0; }
	#schedule > div { text-align: center; }
	#calendar { margin: 0 auto; }
	#date-appointment { max-width: 190px; font-size: 16px; }
	#hour-appointment { padding-top: 28px; }
	#schedule-appointment-form { padding: 24px 18px; }
	.appointment-actions { flex-direction: column; }
}
