/* ===== cita.css ===== */

body, html {
	min-height: 100%;
	margin: 0;
	background-color: #2c3e50;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container-cita {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 20px 10px;
}

.cita-box {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 950px;
	background: white;
	border-radius: 15px;
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	padding: 15px 25px;
}

.cita-header {
	text-align: center;
	padding: 5px 0;
}

.cita-header img {
	height: 90px;
	margin-bottom: 6px;
}

.cita-header h2 {
	font-weight: bold;
	font-size: 1.6rem;
	margin: 0;
}

.cita-header p {
	color: #555;
	font-size: 1rem;
	margin-top: 4px;
	margin-bottom: 14px;
}

.cita-sections {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	padding: 0;
	gap: 10px;
}

.cita-section {
	flex: 1;
	padding: 0.8rem;
	text-align: center;
}

.cita-section h3 {
	font-weight: bold;
	margin-bottom: 10px;
	font-size: 1.1rem;
}

.cita-section p {
	color: #333;
	font-size: 0.95rem;
	margin-top: 8px;
	margin-bottom: 10px;
}

.cita-section img {
	width: 400px;
	height: 200px;
	object-fit: cover;
	border-radius: 10px;
	margin-bottom: 10px;
}

@media (max-width: 768px) {
	.cita-sections {
		flex-direction: column;
		gap: 20px;
	}
	.cita-section img {
		width: 100%;
		height: auto;
	}
}

@media (min-width: 1024px) and (min-height: 700px) {
	.container-cita {
		min-height: 100vh;
		display: flex;
		justify-content: center;
		align-items: center;
	}
}

/* Botón PrimeFaces circular */
.btn-back.ui-button {
	position: fixed;
	bottom: 20px;
	left: 20px;
	width: 60px;
	height: 60px;
	min-width: 60px;
	min-height: 60px;
	background-color: #ffffff !important;
	border: 2px solid #2c3e50 !important;
	color: #2c3e50 !important;
	border-radius: 100% !important;
	padding: 0 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
	z-index: 1000;
}