.dialog-apuntado {
	background-color: rgba(0, 0, 0, 0.6);
	position: fixed;
	width: 100%;
	height: 100vh;
	top: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 4;
	display: none;
	padding: 1rem;
	backdrop-filter: blur(2px);
	overflow-y: auto;
}

.div-dialog-apuntado {
	background-color: var(--secondary-background);
	position: relative;
	width: 100%;
	max-width: 600px;
	border-radius: 12px;
	padding: 2rem;
	font-family: Century, sans-serif;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	animation: slideIn 0.3s ease;
	max-height: 90vh;
	overflow-y: auto;
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.close {
	color: #595958;
	position: absolute;
	top: 1rem;
	right: 1rem;
	font-size: 28px;
	font-weight: bold;
	z-index: 1;
	cursor: pointer;
	transition: all 0.2s ease;
	line-height: 1;
	background: none;
	border: none;
	padding: 0.25rem;
	width: 2rem;
	height: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.close:hover,
.close:focus {
	color: var(--background-buttons);
	transform: scale(1.2);
}

.div-infoPersona {
	position: relative;
	width: 100%;
	padding: 0 0 1.5rem 0;
	border-bottom: 2px solid #e0e0e0;
	margin-bottom: 1.5rem;
}

.div-infoPersona h1 {
	text-align: left;
	margin: 0 0 0.75rem 0;
	font-size: clamp(1.5em, 5vw, 2em);
	color: #1C1C1C;
	font-weight: 600;
}

.div-infoPersona p {
	text-align: left;
	font-size: clamp(1em, 3vw, 1.1em);
	margin: 0.5rem 0;
	color: #595958;
}

.div-contenedora-tusTurnos {
	position: relative;
	width: 100%;
	padding: 1.5rem;
	border: 1px solid #ddd;
	border-radius: 8px;
	max-height: 40vh;
	overflow-y: auto;
	background-color: #ffffff;
	margin-bottom: 1.5rem;
}

.div-contenedora-tusTurnos h2 {
	text-align: center;
	font-size: clamp(1.3em, 4vw, 1.6em);
	margin: 0 0 1.5rem 0;
	color: #1C1C1C;
	font-weight: 600;
}

.div-tusTurnos {
	position: relative;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.div-miTurno {
	position: relative;
	width: 100%;
	padding: 1rem;
	background-color: var(--primary-background);
	border-radius: 8px;
	border-left: 4px solid var(--background-buttons);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: all 0.2s ease;
}

.div-miTurno:hover {
	box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
	transform: translateY(-2px);
}

.div-miTurno p {
	text-align: center;
	font-size: clamp(0.95em, 2.5vw, 1.1em);
	margin: 0.5rem 0;
	color: #1C1C1C;
}

.div-check-emil {
	position: relative;
	width: 100%;
	margin: 1.5rem 0;
	padding: 1rem 0;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.div-check-emil input[type="checkbox"] {
	width: 20px;
	height: 20px;
	cursor: pointer;
	accent-color: var(--background-buttons);
}

.div-check-emil label {
	cursor: pointer;
	font-size: clamp(1em, 2.5vw, 1.1em);
	color: #1C1C1C;
	margin: 0;
}

.div-enviarInfoEmail {
	position: relative;
	width: 100%;
	margin: 0;
	padding: 1.5rem;
	background-color: #ffffff;
	border-radius: 8px;
	border: 1px solid #e0e0e0;
	font-family: Century, sans-serif;
	display: none;
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		max-height: 0;
	}
	to {
		opacity: 1;
		max-height: 500px;
	}
}

.div-enviarInfoEmail label {
	display: block;
	padding: 0;
	margin: 1rem 0 0.5rem 0;
	font-size: clamp(1em, 2.5vw, 1.1em);
	color: #1C1C1C;
	font-weight: 500;
}

.div-enviarInfoEmail input[type="email"] {
	position: relative;
	width: 100%;
	height: 2.7em;
	padding: 0.7rem;
	margin: 0.5rem 0 0.75rem 0;
	font-size: 1em;
	border: 1px solid #ccc;
	border-radius: 5px;
	transition: all 0.2s ease;
	box-sizing: border-box;
	font-family: Century, sans-serif;
}

.div-enviarInfoEmail input[type="email"]:focus {
	border-color: var(--background-buttons);
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.div-enviarInfoEmail p {
	font-size: 0.85em;
	padding: 0.5rem 0;
	color: #888;
	margin: 0;
	font-style: italic;
}

.div-enviarInfoEmail-contendora-button {
	position: relative;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 1.5rem 0 1rem 0;
}

.div-enviarInfoEmail-contendora-button button {
	position: relative;
	width: 100%;
	max-width: 200px;
	height: 2.5em;
	font-size: clamp(0.95em, 2.5vw, 1.05em);
	font-family: Century, sans-serif;
	font-weight: 600;
	color: white;
	background-color: var(--background-buttons);
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.div-enviarInfoEmail-contendora-button button:hover {
	background-color: var(--background-buttons-hover);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.div-enviarInfoEmail-contendora-button button:active {
	transform: translateY(0);
}

.div-respuestaCorreo {
	position: relative;
	width: 100%;
	padding: 0;
	margin: 0.75rem 0 0 0;
}

.div-respuestaCorreo p {
	text-align: center;
	display: none;
	font-size: 0.95em;
	padding: 0.75rem 1rem;
	border-radius: 5px;
	margin: 0;
	font-weight: 500;
}

.div-respuestaCorreo .succes {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.div-respuestaCorreo .error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* Scrollbar Styles */
.div-contenedora-tusTurnos::-webkit-scrollbar,
.div-dialog-apuntado::-webkit-scrollbar {
	width: 8px;
}

.div-contenedora-tusTurnos::-webkit-scrollbar-track,
.div-dialog-apuntado::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 10px;
}

.div-contenedora-tusTurnos::-webkit-scrollbar-thumb,
.div-dialog-apuntado::-webkit-scrollbar-thumb {
	background: #888;
	border-radius: 10px;
}

.div-contenedora-tusTurnos::-webkit-scrollbar-thumb:hover,
.div-dialog-apuntado::-webkit-scrollbar-thumb:hover {
	background: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
	.div-dialog-apuntado {
		max-width: 90%;
		padding: 1.5rem;
	}

	.div-infoPersona {
		padding: 0 0 1rem 0;
		margin-bottom: 1rem;
	}

	.div-contenedora-tusTurnos {
		padding: 1rem;
		max-height: 50vh;
	}

	.div-enviarInfoEmail {
		padding: 1rem;
	}

	.close {
		top: 0.75rem;
		right: 0.75rem;
		font-size: 24px;
	}
}

@media (max-width: 480px) {
	.dialog-apuntado {
		padding: 0.5rem;
	}

	.div-dialog-apuntado {
		max-width: 100%;
		padding: 1.25rem;
		border-radius: 10px;
		max-height: 95vh;
	}

	.div-infoPersona {
		padding: 0 0 0.75rem 0;
		margin-bottom: 1rem;
	}

	.div-infoPersona h1 {
		margin: 0 0 0.5rem 0;
	}

	.div-contenedora-tusTurnos {
		padding: 1rem;
		max-height: 45vh;
		margin-bottom: 1rem;
	}

	.div-tusTurnos {
		gap: 0.75rem;
	}

	.div-miTurno {
		padding: 0.75rem;
	}

	.div-check-emil {
		margin: 1rem 0;
		padding: 0.5rem 0;
	}

	.div-enviarInfoEmail {
		padding: 1rem;
		margin: 0;
	}

	.div-enviarInfoEmail-contendora-button button {
		width: 100%;
		height: 2.4em;
	}

	.close {
		top: 0.5rem;
		right: 0.5rem;
		font-size: 20px;
	}
}