﻿* {
  margin: 0;
  padding: 0;
}

body {
  background-image: url(../images/main-cover.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-attachment:fixed;
  background-size: cover;
  height: calc(100vh - 80px);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

h1 {
  color: #333;
  font-size: 2em;
}

h2 {
  color: #333;
  font-size: 1.5em;
}

h3 {
  color: #4d4d4d;
  font-size: 1.25em;
  margin-bottom: 10px;
}


label {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: bold;
  text-align: left;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

input {
  width: 80%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.input-modern {
  width: 95%;
  padding: 12px;
  margin: 0 0 10px 0;
  border: 2px solid #196685;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  font-size: 0.9rem;
  font-weight: bold;
  color: #196685;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  cursor: text;
  outline: none;
}

/* Efecto hover */
.input-modern:hover {
  border-color: #2d98c2;
  background: rgba(255, 255, 255, 1);
}

/* Estilo para el input deshabilitado */
.input-modern:disabled {
  background: rgba(200, 200, 200, 0.5);
  border-color: #b0b0b0;
  color: #808080;
  cursor: not-allowed;
  text-shadow: none;
  box-shadow: none;
}


input.error {
  border-color: red;
  box-shadow: 0 0 8px red;
}

select {
  width: 90%;
  padding: 10px;
  margin: 10px 0 10px 0;
  border: 2px solid #ccc;
  border-radius: 3px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: bold;
}

.select-modern {
  width: 95%;
  padding: 12px;
  margin: 0 0 10px 0;
  border: 2px solid #196685;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  font-size: 0.9rem;
  font-weight: bold;
  color: #196685;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Efecto hover */
.select-modern:hover {
  border-color: #2d98c2;
  background: rgba(255, 255, 255, 1);
}

/* Efecto focus */
.select-modern:focus {
  outline: none;
  border-color: #4caf50;
  box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

/* Estilizando el dropdown */
.select-modern option {
  background: white;
  color: #333;
  font-weight: normal;
  padding: 12px;
}

/* Resaltar opción seleccionada */
.select-modern option:checked {
  background: #196685;
  color: white;
}

blockquote {
  font-family: 'Arial', sans-serif;
  font-size: 1.2rem;
  color: #333;
  border-left: 5px solid #000000c5; /* Línea sólida moderna */
  margin: 20px 0;
  padding: 15px 20px;
  background-color: #0080ff25; /* Fondo claro y profesional */
  border-radius: 8px; /* Esquinas redondeadas */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Sombra suave */
  line-height: 1.6; /* Mejora la legibilidad */
}

blockquote cite {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 900;
  color: #000000c5; /* Mismo color que la línea */
  text-align: right;
  letter-spacing: 0.5px; /* Espaciado entre letras */
}

blockquote:before {
  content: "“";
  color: #000000c5;
  margin-right: 5px;
  vertical-align: top;
  display: inline-block;
}
blockquote:after {
content: "”";
}

/* Blockquote Alerta */
@keyframes glow-bg {
  0% {
    box-shadow: 0 0 8px 3px rgba(178, 34, 34, 0.4); /* Brillo sutil y suave */
  }
  50% {
    box-shadow: 0 0 15px 7px rgba(178, 34, 34, 0.5); /* Brillo más suave pero visible */
  }
  100% {
    box-shadow: 0 0 8px 3px rgba(178, 34, 34, 0.4); /* Vuelve a la sombra suave */
  }
}

blockquote.alerta {
  font-family: 'Arial', sans-serif;
  font-size: 1.2rem;
  color: #661919; /* Rojo oscuro elegante */
  border-left: 5px solid #b22222; /* Rojo más intenso */
  margin: 20px 0;
  padding: 15px 20px;
  background-color: #ffdddd; /* Color base del fondo */
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(178, 34, 34, 0.3); /* Sombra inicial más suave */
  line-height: 1.6;
  position: relative;
  overflow: hidden;
  animation: glow-bg 2s infinite alternate ease-in-out; /* Animación añadida aquí */
}

blockquote.alerta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffdddd;
  border-radius: 8px;
  z-index: -1;
}

blockquote.alerta cite {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 900;
  color: #b22222;
  text-align: right;
  letter-spacing: 0.5px;
}

blockquote.alerta:before {
  content: "⚠ ";
  color: #b22222;
  font-weight: bold;
  margin-right: 5px;
  vertical-align: top;
  display: inline-block;
}

.parrafo-destacado p {
  color: #196685;
  padding: 15px;
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25);
}

.span-destacado {
  font-weight: bold;
  text-shadow: 0px 0px 4px rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.icon {
  margin-bottom: 10px;
  margin-right: 3px;
  margin-left: 15px;
}

.icon-destacado {
  color: #196685; 
  font-size: 24px; 
  text-shadow: 0px 0px 4px rgba(255, 255, 255, 0.5); 
  vertical-align: middle;
  cursor: pointer;
}

.icon-table-red {
  margin-right: 5px;
  color: #851919; 
  font-size: 16px; 
  text-shadow: 0px 0px 4px rgba(255, 255, 255, 0.5); 
  vertical-align: middle;
  cursor: pointer;
}
.icon-table-blue {
  margin-left: 5px;
  color: #236188; 
  font-size: 16px; 
  text-shadow: 0px 0px 4px rgba(255, 255, 255, 0.5); 
  vertical-align: middle;
  cursor: pointer;
}

.icon-close {
  color: rgb(255, 0, 0);
  cursor: pointer; 
  position: absolute; 
  top: 5px; 
  right: 20px;
  font-size: 24px;
  text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5);
  vertical-align: middle;
  cursor: pointer;
}

@keyframes glow {
  0% {
      text-shadow: 0px 0px 4px rgba(255, 255, 255, 0.5);
  }
  50% {
      text-shadow: 0px 0px 10px rgba(255, 255, 255, 1);
      color: #2388b0;
  }
  100% {
    text-shadow: 0px 0px 4px rgba(255, 255, 255, 0.5);
  }
}

.icon-destacado:hover {
  animation: glow 2s ease-in-out infinite;
}

.icon-destacado {
  animation: glow 2s ease-in-out infinite; /* para que se ejecute la animación de .icon-destacado cuando se pasa por sobre el div */
}

.input_icon {
  width: 90%;
  padding: 10px;
  margin: 10px 0 10px 0;
  border: 2px solid #ccc;
  border-radius: 3px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: bold;
}

/* CheckBox interruptor */
.switch input {
  display: none;
}

/* Estilos para el contenedor del interruptor */
.switch {
  display: inline-block;
  position: relative;
  width: 60px; /* Aumenté un poco el tamaño */
  height: 30px;
}

/* Estilos del fondo del interruptor */
.switch label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  font-size: 14px;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  width: 100%;
  height: 100%;
  background: #ff0000;
  border-radius: 15px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.2s;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3), 0 3px 8px rgba(0, 0, 0, 0.2);
}

/* Texto "NO" cuando está apagado */
.switch label::before {
  content: "NO";
  position: absolute;
  right: 10px;
}

/* Estilos del círculo deslizante */
.switch label::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  top: 3px;
  left: 2px;
  transition: transform 0.3s ease, background 0.3s, box-shadow 0.2s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Cambiar el fondo y mover el interruptor cuando está activo */
.switch input:checked + label {
  background: #4caf50;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3), 0 3px 8px rgba(0, 0, 0, 0.3);
}

/* Mover el botón y cambiar el texto */
.switch input:checked + label::after {
  transform: translateX(47px);
}

/* Cambiar el texto a "SÍ" cuando está encendido */
.switch input:checked + label::before {
  content: "YES";
  left: 10px;
}

/* switch deshabilitado */
.switch.disabled label {
  background: #bbb !important; /* Fondo gris */
  color: #666 !important;      /* Texto más apagado */
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.7;                /* Efecto visual de "grisado" */
}

/* Círculo deslizante gris claro */
.switch.disabled label::after {
  background: #e0e0e0;
  box-shadow: none;
}

/* Opcional: desactivar transiciones si está disabled */
.switch.disabled label,
.switch.disabled label::after {
  transition: none;
}

/* CheckBox círculo */

.circle-switch input {
  display: none;
}

/* Contenedor del círculo */
.circle-switch {
  display: inline-block;
  position: relative;
  width: 32px;
  height: 32px;
}

/* Estilo del círculo */
.circle-switch label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #f8d7da;
  border-radius: 50%;
  border: 2px solid #ff0000;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  font-size: 20px;
  font-weight: bold;
  color: transparent; /* Ocultar contenido por defecto */
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.5);
}

/* Estilo cuando está activado */
.circle-switch input:checked + label {
  background: #4caf50;
  border-color: #4caf50;
  color: white; /* Hacer visible el tilde */
  box-shadow: 0 0 10px rgba(0, 128, 0, 0.6);
}

/* Icono de tilde */
.circle-switch input:checked + label::before {
  content: "✓";
}

/* BOX */
.box {
  background-color: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  padding: 20px;
  text-align: left;
  max-width: 80%;
  margin: 20px auto;
}

.box-title {
  font-size: 1.8rem;
  color: #196685;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2); 
}

.box-standar {
  font-size: 1.1rem;
  color: #333;
  margin: 8px 0;
  line-height: 1.6;
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.box-title {
  font-size: 1.4rem; 
  font-weight: bold; 
  color: #196685; 
  text-align: center; 
  margin-bottom: 20px; 
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2); 
  padding: 10px 0; 
  border-bottom: 2px solid rgba(0, 0, 0, 0.1); 
}

.box-alert {
  font-size: 1.1rem; 
  color: #d9534f; 
  background-color: rgba(217, 83, 79, 0.15); 
  padding: 15px; 
  border-radius: 8px; 
  line-height: 1.6; 
  text-align: center; 
  font-weight: bold; 
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
  margin-top: 20px;
}


.box-destacado {
  font-size: 1.1rem; 
  color: #13607e;
  background-color: rgba(83, 150, 180, 0.2);
  padding: 15px; 
  border-radius: 8px; 
  line-height: 1.6; 
  text-align: center; 
  font-weight: bold; 
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
  margin-top: 20px;
  text-shadow: 0px 3px 4px rgba(0, 0, 0, 0.4); 
}

.box-standar span {
  font-weight: bold;
  color: #555;
}

.box img {
  display: block;
  margin: 10px auto 20px auto;
  max-width: 100%;
  border-radius: 10px; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}

/* cards */

.cards-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  max-width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.card > img {
  height: 200px;
  width: auto;
  margin-bottom: 16px;
}

.popup-container {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 20px);
  overflow-y: auto;
  overflow-x: hidden;
}

.no-scroll {
  overflow: hidden;
}

.welcome-message {
  margin-top: 10vh;
  text-align: center;
  text-shadow: 2px 2px 3px rgba(255, 255, 255, 0.6);
}

.container {
  width: 300px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 5px;
  margin-top: 5vh;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.container-iframe {
  width: 80vw;
  margin: 0 auto;
  padding: 20px;
  border-radius: 5px;
  margin-top: 5vh;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.5);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.container-full-width {
  width: 100%;
  margin: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 20px 0;
  margin-top: 5vh;
  background-color: rgba(255, 255, 255, 0.5);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.desvanecido {
  mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.container-background {
  width: 300px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 5px;
  margin-top: 5vh;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.5);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.container-login {
  display: inline-flex;
  white-space: nowrap;
  justify-content: space-between;
  align-items: center;
}

.container-table {
  width: 90vw;
  margin: 20px auto;
  padding: 20px;
  border-radius: 5px;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.5);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
  overflow-x: auto;
}

.container-options {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px;
}

.container-qr img {
display: block;

}

.container-qr {
  margin-top: 20px;
  text-align: center;
}

.container-qr img {
  display: block;
  margin: 0 auto;
}

/* container 2 columnas */

.container-2-columnas {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* Estilos para las columnas */
.container-2-columnas .columna2,
.container-2-columnas .columna1 {
  flex: 1; /* Ambas columnas ocupan 50% */
  /*max-width: 50%;  Máximo 50% del ancho */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Imagen responsiva */
.container-2-columnas .columna2 img {
  max-width: 300px;
  height: auto;
}
/************************/

.create {
  width: 80vw;
  margin: 20px auto;
}

/*********** íconos favoritos **********/
#icon-container, #shortcuts-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.shortcut-wrapper {
margin: 20px;
}

.icon-wrapper, .shortcut-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.icon, .shortcut-icon {
  width: 50px;
  height: 50px;
}
#shortcuts-list {
  list-style-type: none;
  padding: 0;
}

/*********** íconos favoritos **********/

/* TABLAS */
/* table-container se carga en un DIV que envuelva la tabla y permite que la misma tenga scroll sobre eje X */

/* .table-container-scroll {
  max-width: 100%;
  overflow-x: auto;
} */

/* td {
  text-align: left;
  vertical-align: middle;
}

th {
  padding: 10px 0 10px 0;
  font-size: 1.2em;
} */

/*utilizar el table-container para permitir que la tabla scrolee al ancho */
.table-container-scroll {
  width: 100%;
  overflow-x: auto; 
  max-width: 100%;
  position: relative;
  box-shadow: inset 10px 0 10px -10px rgba(0, 0, 0, 0.2), 
              inset -10px 0 10px -10px rgba(0, 0, 0, 0.2);
}

/* tabla centrada sin fondo */


.table-centre {
  width: 100%;
  align-items: auto;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  
}

.table-centre tbody tr {
  transition: all 0.3s ease;
}

.table-centre tbody tr:hover {
  transform: scale(1.02); /* Pequeño efecto de aumento */
}

.table-centre tbody td {
  padding: 1rem;
  font-size: 1rem;
}






.table-style1 {
  width: 80vw;
  border-collapse: collapse;
  margin: 20px;
}

.table-style1.centrada td,
.table-style1.centrada th {
  text-align: center;
}

.table-style1.calendario {
  width: 90%;
}

.table-tab {
  margin: 0 auto;
}

.table-style1 td,
.table-style1 th {
  margin: 5px;
  padding: 8px;
  font-size: 1em;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.table-style2 {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
}

.table-style2 input[type="text"],
.table-style2 input[type="number"] {
  width: 90%;
}

.table-style2 input[type="time"],
.table-style2 input[type="date"] {
  width: 80%;
}

.table-style2 input[type="checkbox"]  {
  width: auto;
}

.table-style2 select {
  width: 90%;
}

/* table-style3 */

.table-style3 {
  width: 100%;
  align-items: auto;
  background-color: rgba(0, 0, 0, 0.1);
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.9);
}

.table-style3 input[type="text"],
.table-style3 input[type="number"] {
  width: 90%;
}

.table-style3 input[type="time"],
.table-style3 input[type="date"] {
  width: 80%;
}

.table-style3 input[type="checkbox"]  {
  width: auto;
}

.table-style3 select {
  width: 90%;
  margin: 10px;
}

/* table-style4 */

.table-style4 {
  width: 100%;
  align-items: auto;
  border-collapse: collapse;
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.table-style4 thead {
  background: linear-gradient(135deg, #6c63ff, #5a55d6);
  color: #ffffff;
}

.table-style4 thead th {
  font-weight: 150;
  font-size: 1rem;
  padding: 5px;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  white-space: nowrap;
}

.table-style4 tbody tr {
  transition: all 0.3s ease;
  cursor: pointer; /* Cambia el cursor a 'pointer' */
}

.table-style4 tbody tr:hover {
  background-color: #f0f3ff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Agrega sombra a la fila */
  transform: scale(1.02); /* Pequeño efecto de aumento */
}

.table-style4 tbody td {
  padding: 1rem;
  font-size: 1rem;
  color: #555555;
  border-bottom: 1px solid #eeeeee;
}

.table-style4 tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.table-style4 tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

/* Reglas adicionales para .table-style4.static */
.table-style4.static tbody tr {
  cursor: default; /* No cambiar el cursor */
  transition: none; /* Sin transición */
}

.table-style4.static tbody tr:hover {
  background-color: inherit; /* No cambiar el fondo */
  box-shadow: none; /* Sin sombra */
  transform: none; /* Sin transformación */
}

.table-style4 tfoot {
  cursor: pointer;
  background: rgba(108, 99, 255, 0.15); /* Color suave con transparencia */
  color: #444444;
  font-weight: bold;
  text-align: center;
  
  /* Sombra más intensa para mayor profundidad */
  box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.2);
  
  /* Borde superior sutil para reforzar la separación */
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.table-style4 tfoot td {
  padding: 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

/* Estilo adicional para el contenido dentro del tfoot */
.table-style4 tfoot td i {
  margin-right: 8px;
  font-size: 1.2rem;
  color: #6c63ff;
}

.table-style4 tfoot td label {
  font-size: 1rem;
  color: #555555;
}

.table-style4.nopointer tbody tr {
  cursor: default; /* Solo desactiva el cursor tipo 'mano' */
}


/* calendar-Table */

/* Estilo base del calendario */
.calendar-style {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Cabecera del calendario (días de la semana) */
.calendar-style thead {
  background: linear-gradient(135deg, #6c63ff, #5a55d6);
  color: #ffffff;
}

.calendar-style thead th {
  font-weight: bold;
  font-size: 1rem;
  padding: 5px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  border-bottom: 2px solid #5a55d6;
}

/* Celdas del calendario */
.calendar-style tbody td {
  width: calc(); /* 7 columnas para los días de la semana */
  height: 60px;
  padding: 5px;
  font-size: 1rem;
  color: #555555;
  background-color: #ffffff;
  border-radius: 12px;
  text-align: left;
  vertical-align: top;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #ddd;
}

/* Destacar celda individualmente en hover */
.calendar-style tbody td:hover {
  background-color: #e0e3ff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
  cursor: pointer;
}

/* Utilizar la clase no-interactivo para los calendarios que no requiera interaccion */
.calendar-style.no-interactivo tbody td:hover {
  background-color: inherit;
  box-shadow: none;
  transform: none;
  cursor: default;
}

/* Forms */

.form-1 {
  width: 90%;
  padding: 10px;
}

.form-1 label {
  font-size: 0.9em;
}

.form-1 hr {
  margin: 10px 0 10px 0;
}

.dni {
  width: 95%; 
}

.form-1 input,
.form-1 select {
  width: 100%; /* Para que ocupen todo el espacio disponible */
}


/* TAB Pestañas */

/* options es para los <ul> */
.options {
  display: flex;
  width: 100%;
  height: 15%;
  list-style: none;
}

.options-newsearch {
  display: flex;
  width: 100%;
  height: 15%;
  list-style: none;
  background-color: rgba(255, 255, 255, 0.4);
}

/* option se utiliza para los <li> */
.option {
  font-weight: 500;
  flex-grow: 1;
  text-align: center;
  line-height: 60px;
  border-radius: 5px 5px 0 0;
  border: solid 1px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.option-active {
  font-weight: 600;
  background-color: rgba(255, 255, 255, 0.4);
  box-shadow: 5px -1px 7px rgba(0, 0, 0, 0.6);
}

.display-none {
  display: none;
}

.display-block {
  display: block;
}

.option-hide {
  max-height: 0;
  width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 1s ease-in-out, opacity 0.5s ease-in-out;
}

.option-show {
  max-height: auto; /* Ajusta según el contenido */
  opacity: 1;
  transition: max-height 1s ease-in-out, opacity 0.5s ease-in-out;
}

.collapsed {
  max-width: 20px !important;
  box-sizing: content-box;
  white-space: nowrap; /* Evita que el texto se ajuste automáticamente */
  overflow: hidden; /* Oculta cualquier contenido que exceda el ancho */
  text-overflow: ellipsis; /* Agrega puntos suspensivos si el texto es demasiado largo */
}

.option-newsearch {
  margin: 20px;
  font-weight: 500;
  flex-grow: 1;
  text-align: center;
  line-height: 40px;
  border-radius: 0;
  border: solid 1px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-weight: 600;
  background-color: rgba(83, 150, 180, 0.4);
}

/* los contents y content son para los <div> */

.contents {
  width: 100%;
}

.content {
  width: 100%;
  height: 100%;
  display: none;
}

.content-active {
  background-color: rgba(255, 255, 255, 0.4);
  display: block;
}

.bold {
  font-weight: 600;
  background-color: rgba(83, 150, 180, 0.4);
}

/* Estilos para la selección de idioma */

.header {
  height: 40px;
  width: 100%;
  position: relative;
  flex-wrap: wrap;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 5px 13px 0 rgba(0, 0, 0, 0.6);
}

.header-alt {
  background-color: rgba(2, 154, 214, 0.3);
  box-shadow: 0 5px 13px 0 rgba(0, 0, 0, 0.6);
  color: white;
  padding: 20px 20px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  height: 60px;
  transition: height 0.5s ease-in-out;
}

.header-alt .title {
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6);
  font-size: 1.2rem;
  transition: font-size 0.5s ease-in-out
}

.title-logo {
  height: 70px;
  transition: height 0.5s ease-in-out
}

.contenedor-lenguaje {
  position: absolute;
  right: 10px;
  top: 10px;
}

/* Estilos para las banderas de los idiomas */
.language-option {
  display: inline-block;
  margin-right: 10px;
  cursor: pointer;
  font-weight: 500;
  text-shadow: 2px 2px 3px rgba(255, 255, 255, 0.6);
}

.language-flag {
  width: 20px;
  height: 14px;
  vertical-align: middle;
  /* margin-right: 0px; */
}

.flag-icon {
  width: 20px;
  height: 14px;
  display: inline-block;
  vertical-align: middle;
}

.map-container {
  position: relative;
  left: auto;
  margin: 15px;
  height: 300px;
  width: auto;
  border-radius: 3px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

/* Botones */

.standar-button {
  width: 300px;
  padding: 10px;
  margin: 10px;
  background-color: #196685;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
  font-weight: bold;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.standar-button:hover {
  background-color: #2d98c2;
}

.button-container {
  background-color: rgba(83, 150, 180, 0.4);
  cursor: pointer;
  border: solid 1px rgba(0, 0, 0, 0.1);
  padding: 15px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.button-container-small {
  margin: 10px auto;
  background-color: rgba(83, 150, 180, 0.4);
  cursor: pointer;
  border: solid 1px rgba(0, 0, 0, 0.1);
  padding: 10px;
  max-width: 80%;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.button-container-small.alt {
  background-color: rgba(254, 95, 138, 0.4);
}

.button-container.alt {
  background-color: rgba(254, 95, 138, 0.4);
}

.button-container-download {
  margin-left: auto;
  margin-right: auto;
  margin-top: 15px;
  margin-bottom: 15px;
  height: 20px;
  width: 200px;
  border-radius: 15px;
  background-color: rgba(83, 150, 180, 0.4);
  cursor: pointer;
  border: solid 1px rgba(0, 0, 0, 0.1);
  padding: 15px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
  transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.button-container-download:hover {
  background-color: rgba(83, 150, 180, 0.4);
  height: 21px;
  width: 202px;
  cursor: pointer;
  border: solid 1px rgba(0, 0, 0, 0.3);
  padding: 15px;
  box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.6);
}

.button-container-small.left {
  margin: 20px 10px 0 0;
  max-width: 10%;
}

.button-container-small.left i {
  margin-right: 8px;
  /*font-size: 1.2em;  ajustá según el tamaño que quieras */
  color: #2c3e50; /* o el color que quieras */
}

.button-container-short {
  margin: 10px auto;
  background-color: rgba(83, 150, 180, 0.4);
  cursor: pointer;
  border: solid 1px rgba(0, 0, 0, 0.1);
  padding: 10px;
  max-width: 30%;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.dropdown-button {
  display: flex;
  align-items: center;
  padding: 5px;
  margin-bottom: 15px;
  margin-top: 15px;
  box-shadow: 0px 10px 15px -15px rgba(0, 0, 0, 0.8);
}

.dropdown-button-alt {
  display: flex;
  margin: 10px 25vw;
  align-items: center;
  padding: 5px;
  box-shadow: 0px 10px 5px -10px rgba(0, 0, 0, 0.9);
}

/* TextArea */
.textarea-container {
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 90%; /* Ajustable según el diseño */
  max-width: 80vw; /* Ancho máximo */
  min-height: 80px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  border: solid 1px rgba(0, 0, 0, 0.1);
  padding: 10px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #333;
  resize: vertical;
  transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.textarea-container:focus {
  background-color: rgba(83, 150, 180, 0.2);
  border: solid 1px rgba(0, 0, 0, 0.3);
  box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.6);
  outline: none;
}

/* Estilos para el spinner */

.overlay-spinner {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75); /* Fondo gris semitransparente */
  z-index: 9998; /* Asegura que esté por encima de todo */
  justify-content: center;
  align-items: center;
}

.spinner {
  display: none;
  width: 80px;
  height: 80px;
  margin: 0 auto;
  border: 8px dotted #ffffffac;
  border-top: 8px dotted #3498dbc2;
  border-radius: 50%;
  animation: spin 2s linear infinite;
  z-index: 9999;
}

.spinner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Asegura que el contenedor tenga la altura de la pantalla */
  width: 100vw;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loading {
  text-align: center;
}

/* Estilos DropDown  */

.dropdown-content {
  display: none; /* Oculto por defecto */
  position: relative;
  width: 93%;
  top: -10px;
  left: 11px;
  border-radius: 0px 0px 20px 0px;
  background-color: white;
  max-height: 200px; /* Añadir scroll si hay demasiados resultados */
  overflow-y: auto; /* Scroll vertical */
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content .option {
  color: black;
  padding: 0;
  margin: 0;
  text-decoration: none;
  font-size: 0.75em;
  display: block;
  cursor: pointer;
}

.dropdown-content .option:hover {
  background-color: #f1f1f1;
  max-height:50px;
}

@keyframes glow-rojo {
  0% {
    text-shadow: 0px 0px 4px rgba(255, 0, 0, 0.4);
  }
  50% {
    text-shadow: 0px 0px 6px rgba(255, 0, 0, 0.6);
  }
  100% {
    text-shadow: 0px 0px 4px rgba(255, 0, 0, 0.4);
  }
}

.fa-trash-can {
  color: #e74c3c;
  transition: color 0.4s ease, transform 0.3s ease;
  animation: glow-rojo 2s ease-in-out infinite; /* ✨ NUEVO efecto rojo propio */
}

/* Cuando pasa el mouse, cambia a un rojo más clarito */
.fa-trash-can:hover {
  color: #ff6b6b; /* Rojo más claro al hover */
  transform: scale(1.2);
}

/* Animación latido rojo (opcional) */
@keyframes latido-rojo {
  0% { color: #e74c3c; transform: scale(1); }
  50% { color: #ff6b6b; transform: scale(1.2); }
  100% { color: #e74c3c; transform: scale(1); }
}

.fa-trash-can.latido {
  animation: latido-rojo 2s infinite;
}

/*----------------------------------*/
/* --------- RESOLUCIONES --------- */
/*----------------------------------*/

/* Resolución 1200 */
@media (max-width: 1200px) {
  .table-style1 td,
  .table-style1 th {
    padding: 5px;
    font-size: 0.8em;
    transition: 0.5s;
  }

  .table-style2 td,
  .table-style2 th {
    padding: 3px;
    font-size: 0.8em;
    transition: 0.5s;
  }

  /* table-style4 */

  .table-style4 tbody td {
    padding: 0.7rem;
    font-size: 0.7rem;
 }

  .table-style4 thead th {
    font-size: 0.7rem;
    font-weight: 100;
    white-space: nowrap; /* Evitar salto de línea en los encabezados */
  }

  .container-table {
    width: 90vw;
    margin: 0 auto;
    border-radius: 0px;
  }

  .dropdown-content {
    width: 93%;
    top: -5px;
    left: 7px;
  }
  
  .dropdown-content .option {
    font-size: 1em;
  }

}

/* Resolucion 768 */
@media (max-width: 768px) {
  .container {
    width: 100vw;
    border-radius: 0px;
    margin: 0 auto;
    padding: 0px;
    margin-top: 5vh;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .container-background {
    width: 100vw;
    border-radius: 0px;
    margin: 0 auto;
    padding: 0;
    margin-top: 5vh;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .container-iframe {
    width: 100vw;
    margin: 0 auto;
    padding: 10px 0;
    border-radius: 0px;
  }
  
  .container-table {
    width: 100vw;
    overflow-x: hidden;
    margin: 0 auto;
    padding: 0;
    border-radius: 0px;
  }

  .button-container-short {
    max-width: 70%;
  }

  .create {
    width: 100vw;
    margin: 0 auto;
    border-radius: 0px;
  }

  .card {
    width: 90vw;
    max-width: 90vw;
    margin-right: 15px;
  }

  .table-style1 {
    width: 90vw;
  }

  .table-style1 td,
  .table-style1 th {
    padding: 5px;
    font-size: 0.7em;
    transition: 0.5s;
  }

  .table-style2 td,
  .table-style2 th {
    padding: 3px;
    font-size: 0.7em;
    transition: 0.5s;
  }

  .table-style2 input {
    margin: 3px;
  }

  .table-style2 input[type="text"],
  .table-style2 input[type="number"] {
  width: 90%;
  padding: 3px;
  }

  .table-style2 input[type="time"],
  .table-style2 input[type="date"] {
    width: 90%;
    padding: 3px;
  }

  .table-style2 select {
    width: 90%;
    padding: 3px;
  }

  .table-style4 {
    border-radius: 0;
  }

  .table-style4 tbody td {
    padding: 0.7rem;
    font-size: 0.7rem;
    color: #555555;
    border-bottom: 1px solid #eeeeee;
    border-radius: 0;
  }

  .calendar-style thead th {
    font-size: 0.75rem; /* Reducir más el tamaño del texto */
    padding: 3px;
  }

  .calendar-style tbody td {
    font-size: 0.75rem;
    height: 40px;
    padding: 3px;
  }

  .hide-on-small {
    display: none;
  }

  .form-1 {
    width: 100vw;
  }
  .standar-button,
  .standar-button[type="submit"] {
    width: 100vw;
    margin: 10px 0 10px 0;
    border-radius: 0;
  }

  .create-account {
    width: 100vw;
  }

  .dropdown-content {
    width: 91%;
    top: -3px;
    left: 5px;
    }
    
  .dropdown-content .option {
    font-size: 1.25em;
  }

  .input-modern {
    width: 95%;
    padding: 8px 4px;
    font-size: 0.7rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .select-modern {
    width: 95%;
    padding: 8px 4px;
    font-size: 0.7rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

}

/* Resolucion 580 */
@media (max-width: 580px) {
  h1 {
    margin: 10px;
    font-size: 1.3em;
  }

  h2 {
    margin: 10px;
    font-size: 1.1em;
  }
  
  h3 {
    margin: 10px;
    font-size: 1em;
  }

  .header-alt {
    height: 40px;
  }

  .header-alt .title {
    font-size: 1rem;
  }

  .title-logo {
    height: 50px;
  }

  .table-style1 td,
  .table-style1 th {
    padding: 2px;
    font-size: 0.6em;
    transition: 0.5s;
  }

  .table-style2 td,
  .table-style2 th {
    padding: 2px;
    font-size: 0.6em;
    transition: 0.5s;
  }

  .table-style2 input[type="text"],
  .table-style2 input[type="number"] {
  width: 90%;
  padding: 2px;
  }

  .table-style2 input[type="time"],
  .table-style2 input[type="date"] {
    width: 90%;
    padding: 2px;
  }

  .table-style2 select {
    width: 90%;
    padding: 2px;
  }

  .calendar-style thead th {
    font-size: 0.7rem;
    letter-spacing: normal;
    font-weight: normal;
    padding: 1px;
  }

  .calendar-style tbody td {
    font-size: 0.7rem;
    font-weight: normal;
    height: 35px;
    padding: 1px;
  }

  .form-1 {
    width: 100vw;
    padding: 0 5px;
  }

  .form-1 label {
    font-size: 0.7em;
  }

  .dropdown-button {
    margin-left: 15px;
    margin-right: 15px;
  }

  /* CheckBox interruptor */

  /* Estilos para el contenedor del interruptor */
  .switch {
    width: 40px;
    height: 22px;
  }

  /* Estilos del fondo del interruptor */
  .switch label {
    font-size: 10px;
  }

  /* Estilos del círculo deslizante */
  .switch label::after {
    width: 16px;
    height: 16px;
  }

  /* Mover el botón y cambiar el texto */
  .switch input:checked + label::after {
    transform: translateX(35px);
  }
}
