* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background: #ffffff;
	font-family: "Roboto", sans-serif;
	color: #010101;
	overflow-y: auto;
	font-size: 13px;
}

/* Contenedor del formulario */
form {
	background: white;
	padding: 30px;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	width: 100%;
	max-width: 400px;
	box-sizing: border-box;
	color: #191919;
}

/* Etiquetas de los campos */
form label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
	font-size: 14px;
	color: #333;
}

/* Inputs y Selects */
form input,
form select {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #fff;
	font-size: 14px;
	color: #333;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
	transition: border-color 0.2s, box-shadow 0.2s;
}

/* Inputs y Selects al enfocarse */
form input:focus,
form select:focus {
	border-color: #007aff; /* Azul típico de macOS */
	box-shadow: 0 0 3px rgba(0, 122, 255, 0.5);
	outline: none;
}

/* Botones */
button, .boton {
	display: inline-block;
	padding: 10px 15px;
	margin-top: 1rem;
	border: none;
	border-radius: 8px;
	background: linear-gradient(135deg, #007aff, #005eff);
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	text-align: center;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	transition: background 0.3s, transform 0.1s;
	text-decoration: none;
}

/* Botón al pasar el cursor */
button:hover {
	background: linear-gradient(135deg, #005eff, #003ebf);
}

/* Botón al hacer clic */
button:active {
	transform: scale(0.97);
}
/* Botón deshabilitado */
button:disabled {
	background: linear-gradient(135deg, #b0b0b0, #8f8f8f);
	color: #e0e0e0;
	cursor: not-allowed;
	box-shadow: none;
}


/* Contenedor de cada campo */
form div {
	margin-bottom: 1rem;
}

/* Placeholder estilizado */
form input::placeholder {
	color: #999;
	font-style: italic;
}

/* Botón dentro de un campo dinámico */
form .removeHobby {
	background: #ff3b30;
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 5px 10px;
	font-size: 12px;
	cursor: pointer;
	margin-left: 10px;
	transition: background 0.3s;
}

form .removeHobby:hover {
	background: #d32f2f;
}

/* General */
.centrar {
	margin: 0 auto;
}

/* Títulos */
form h3 {
	margin: 0 0 20px;
	font-weight: 600;
	font-size: 1.25rem;
	color: #333;
}

main {
	max-width: 400px;
	margin: 0 auto;	
	text-align: center;
	padding: 5px;
}

ul {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 14px;
	color: #333;
}

li {
	padding: 1px 12px;
	border-radius: 8px;
	margin-bottom: 4px;
	transition: background-color 0.2s, box-shadow 0.2s;
	cursor: pointer;
}

li:hover {
	background-color: #f5f5f7;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

li:active {
	background-color: #e5e5e5;
}

li.cumplido {
	color: green;
	font-weight: bold;
}


.header{
	background-color: #fff;
	color: #333;
	text-align: center;
	padding: 20px 10px;
	border-bottom: 1px solid #ddd;
	display: flex;
	justify-content: space-evenly;
    align-items: center;
}

.inicio {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	gap: 20px;
	padding: 20px;
}
.card {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 16px;
	padding: 16px;
	border: 1px solid #ddd;
	/* border-radius: 8px; */
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	flex: 1 1 calc(33.33% - 40px); /* Tres columnas con espacio */
	max-width: 500px; /* Máximo 500px por columna */
	min-width: 350px; /* Mínimo 230px por tarjeta */
	background-color: #fff;
	font-family: Arial, sans-serif;
}

.card img {
	width: 72px;
	height: 128px;
	object-fit: cover;
}

.card .info {
	flex: 1;
}

.card .info p {
	margin: 1px;
	font-size: 13px;
	color: #555;
}

.card .info h4 {
	margin: 5px;
	font-size: 13px;
	color: #007bff;
}

.info {
	display: flex;
	flex-direction: column;
}

.info .des {
	font-size: 13px;
	padding: 5px;
	color: #000;
	display: -webkit-box;
	-webkit-line-clamp: 2; /* Limita a 2 líneas */
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	position: relative;
}
.info .des::after {
	content: ""; /* Añade contenido vacío */
	display: inline-block;
	width: 0;
	height: 0;
	line-height: 1.5em; /* Ajusta al tamaño de línea */
	visibility: hidden;
}

.loading {
	position: relative;
	pointer-events: none;
}
.loading:after {
	content: "";
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	width: 15px;
	height: 15px;
	border: 2px solid transparent;
	border-top-color: #fff;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

/* Propiedades generales */
.aviso {
	text-align: left;
	padding: 15px;
	margin: 10px 0;
	border-radius: 5px;
	border: 1px solid transparent;
	font-size: 14px;
}

/* Alerta genérica */
.aviso.alerta {
	background-color: #fffae6;
	color: #856404;
	border-color: #ffeeba;
}

/* Correcto */
.aviso.correcto {
	background-color: #d4edda;
	color: #155724;
	border-color: #c3e6cb;
}

/* Error */
.aviso.error {
	background-color: #f8d7da;
	color: #721c24;
	border-color: #f5c6cb;
}

/* Notificación */
.aviso.notificacion {
	background-color: #d1ecf1;
	color: #0c5460;
	border-color: #bee5eb;
}

.aviso::before {
    content: '';
    display: inline-block;
    margin-right: 10px;
    font-size: 16px;
}

.aviso.alerta::before {
    content: '\26A0'; /* ⚠️ */
}

.aviso.correcto::before {
    content: '\2714'; /* ✔️ */
}

.aviso.error::before {
    content: '\274C'; /* ❌ */
}

.aviso.notificacion::before {
    content: '\2139'; /* ℹ️ */
}

@keyframes spin {
	from {
		transform: translateY(-50%) rotate(0deg);
	}
	to {
		transform: translateY(-50%) rotate(360deg);
	}
}

tag {
	background: green;
	color: white;
	display: inline;
	padding: 3px;
	border-radius: 5px;
	font-size: 12px;
}

@media (max-width: 768px) {
	.inicio {
		flex-direction: column;
		gap: 3px;
		padding: 3px;
	}
	.card {
		flex: 1 1 100%; /* Ocupa toda la fila */
		max-width: 100%;
		gap: 7px;
		padding: 0;
	}
}
.menu {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 20px;
	background-color: #fff;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.menu-logo img {
	height: 60px;
}

.menu-boton {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	width: 30px;
	gap: 5px;
}

.menu-boton span {
	display: block;
	width: 100%;
	height: 3px;
	background: #333;
	transition: transform 0.3s, background 0.3s;
}

.menu-opciones {
	display: none;
	position: absolute;
	top: 60px;
	right: 20px;
	background: #f9f9f9;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	border-radius: 8px;
	padding: 10px;
	z-index: 1000;
}

.menu-opciones a {
	display: block;
	text-decoration: none;
	color: #333;
	padding: 8px 12px;
	border-radius: 5px;
	transition: background 0.3s;
}

.menu-opciones a:hover {
	background: #007bff;
	color: white;
}

.menu-boton.active + .menu-opciones {
	display: block;
}

@media (min-width: 768px) {
	.menu-opciones {
		display: flex;
		position: static;
		background: none;
		box-shadow: none;
		gap: 20px;
		padding: 0;
	}

	.menu-boton {
		display: none;
	}
}

.footer {
	background-color: #f9f9f9;
	color: #333;
	text-align: center;
	padding: 20px 10px;
	border-top: 1px solid #ddd;
}

.footer-contenido {

}

.footer p {
	margin: 0;
	font-size: 14px;
}
.footer img{
	vertical-align: middle;
}

.footer-enlaces {
	margin-top: 10px;
	display: flex;
	justify-content: center;
	gap: 15px;
}

.footer-enlaces a {
	text-decoration: none;
	color: #007bff;
	font-size: 14px;
	transition: color 0.3s;
}

.footer-enlaces a:hover {
	color: #0056b3;
}

@media (min-width: 768px) {
	.footer p {
		font-size: 16px;
	}

	.footer-enlaces a {
		font-size: 16px;
	}
}

.column-2{
	display: flex;
	justify-content: space-around;
	align-items: baseline;
}

.reloj, .usuario{	
	padding: 10px; 
	color: #40f86b; 
	background-color: #333;
	border-radius: 5px;
}

.reloj{
	width: 100px; 
}

.linea {
	padding: 3px;
	border-bottom: 1px solid #b9b9b9;
}

.fijar-abajo{
	position: -webkit-sticky;
	position: sticky;
	bottom: 0;
	width: 100%;
	text-align: center;
	backdrop-filter: blur(3px);
	padding: 5px;
}