/* Estilos para el sistema de autenticación */
.auth-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.auth-container {
  background: white;
  padding: 30px;
  border-radius: 10px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.auth-tabs {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.auth-tab {
  padding: 10px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  flex: 1;
  text-align: center;
}

.auth-tab.active {
  border-bottom: 3px solid #4CAF50;
  font-weight: bold;
}

.auth-form h2 {
  margin-top: 0;
  color: #333;
  text-align: center;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

.auth-btn {
  width: 100%;
  padding: 12px;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
}

.auth-btn:hover {
  background: #45a049;
}

.error-message {
  color: red;
  text-align: center;
  margin-top: 10px;
}

.logout-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 8px 15px;
  background: #f44336;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1001;
}

.logout-btn:hover {
  background: #d32f2f;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #fff8dc, #fff0b3); /* fondo cálido colombiano */
  display: flex;
  justify-content: center;
  align-items: start;
  padding: 30px;
  min-height: 100vh;
}

.calendar {
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 20px;
  max-width: 420px;
  width: 100%;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.calendar-header button {
  background-color: #ffcc00;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.calendar-header button:hover {
  background-color: #ffb700;
}

.calendar-header select {
  font-size: 16px;
  padding: 4px 10px;
  border-radius: 5px;
}

.calendar-title {
  text-align: center;
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: bold;
  padding: 8px 0;
  border-bottom: 1px solid #ccc;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-top: 10px;
}

.calendar-days div {
  height: 50px;
  background-color: #f8f8f8;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  transition: background-color 0.3s;
}

.calendar-days div:hover {
  background-color: #ffe066;
  cursor: pointer;
}

.imagen-mes {
  margin-top: 20px;
  text-align: center;
}

.imagen-mes img {
  width: 100%;
  max-height: 180px;
  border-radius: 15px;
  object-fit: cover;
}


.calendar-header button {
  margin: 0 5px;
  padding: 5px 10px;
  background-color: #ffe066;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.calendar-header button:hover {
  background-color: #ff0000;
}


.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  text-align: center;
}

#guardar-nota {
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 8px 16px;
  margin-top: 10px;
  border-radius: 5px;
  cursor: pointer;
}

#guardar-nota:hover {
  background-color: #45a049;
}

.imagen-mes {
  width: 100%;
  max-width: 800px; /* Ajusta esto según el tamaño de tu calendario */
  margin: 20px auto;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

.imagen-mes img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.festivo {
  background-color: #2794dd; /* Azul pastel */
  color: #2794dd;
  font-weight: bold;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

/* 

Hola

*/


/* Estilo para los días normales */
.calendar-days div {
  height: 50px;
  background-color: #f8f8f8;; /* Color azul para los días normales */
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  transition: background-color 0.3s;
}

/* Estilo para los días festivos */
.calendar-days .festivo {
  background: rgba(10, 106, 223, 0.4); /* Morado difuminado para los días festivos */
  color: white; /* Cambiar color de texto a blanco */
  font-weight: bold;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px; /* Asegura que el tamaño sea igual al de los días normales */
  transition: background-color 0.3s;
}

/* Efecto hover para los días festivos */
.calendar-days .festivo:hover {
  background: rgba(230, 13, 13, 0.6); /* Aumentar la opacidad al pasar el ratón */
  cursor: pointer;
}

/* Efecto hover para los días normales */
.calendar-days div:hover {
  background-color: #ffe066; /* Cambiar a un color amarillento cuando se pase el ratón por encima */
  cursor: pointer;
}
.imagen-especial {
  border: 2px solid #FFD700;
  border-radius: 8px;
  margin-top: 5px;
}

#imagen-especial-modal .modal-content {
  max-width: 95vw;
  width: 410px;
  padding: 0;
  background: black; /* Remove white background */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

#imagen-especial-img {
  width: 50%;
  height: 60%;
  max-height: 80vh;
  object-fit: cover; /* Fill the box, cropping if needed */
  border-radius: 10px;
  display: block;
  margin: 0 auto;
  background: black;
}


