@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

*{ /* Creo las variables de los colores que voy a usar */
	scroll-behavior: smooth;
	--main_color: #C6C3BC;
	--smoky_black: #0D0A0B;
	--charcoal: #454955;
	--green_ryb: #72B01D;
	--sap_green: #3F7D20;
}

.hijo {
    margin: 20px;
}

.alert-container {
    margin-bottom: 20px;
}

.alert {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.alert button.close {
    color: inherit;
}

.add-patient-btn,
.download-data-btn {
    margin-bottom: 20px;
}

.table-container {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
}

.filter input {
    width: 100%;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table tr:nth-child(even) {
    background-color: #f2f2f2; /* Color de fondo para filas pares */
}
.table tr:nth-child(odd) {
    background-color: #ffffff; /* Color de fondo para filas impares */
}

.table td, .table th {
    border: 1px solid #dddddd;
    padding: 8px;
    text-align: left;
}

.table th {
    background-color: #f2f2f2;
    color: #000000;
}

.table td {
    color: #212529;
    border-color: #dee2e6;
}

.icon-column {
    width: 40px; /* Ajusta el ancho de las columnas de los íconos */
}

.edit-icon {
    color: yellow; /* Cambia el color del ícono de edición a amarillo */
}

.delete-icon {
    color: red; /* Cambia el color del ícono de eliminación a rojo */
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination a {
    margin: 0 5px;
    color: #333;
    text-decoration: none;
    font-size: 20px;
}

.pagination a:hover {
    color: #007bff;
}

.btn {
    border-radius: 5px;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
}

td {
    height: 100%;
    vertical-align: middle; /* Asegura que el contenido del td esté centrado verticalmente */
}

.agenda-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    text-decoration: none;
    color: inherit;
}




@keyframes custom-beat-fade {
    0% {
      transform: scale(1);
      opacity: 0.6;
    }
    50% {
      transform: scale(1.1);
      opacity: 0.9;
    }
    100% {
      transform: scale(1);
      opacity: 0.6;
    }
}

.icon-beat {
font-size: 1.5rem;
opacity: 0.6;
transition: opacity 0.3s ease;
}

.icon-beat:hover {
opacity: 1;
animation: custom-beat-fade 1s infinite;
}

@keyframes custom-zoom {
    from {
      transform: scale(1);
    }
    to {
      transform: scale(1.2);
    }
  }
  
.icon-zoom:hover {
    animation: custom-zoom 0.5s ease-in-out forwards;
}

@keyframes custom-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.icon-rotate {
    display: inline-block;
    transition: transform 0.3s ease;
}
  
.icon-rotate:hover {
    animation: custom-rotate 0.5s linear;
    animation-fill-mode: forwards;
}

@keyframes custom-shake {
    0% {
      transform: translateX(0) rotate(0deg);
    }
    25% {
      transform: translateX(-5px) rotate(-2deg);
    }
    50% {
      transform: translateX(5px) rotate(2deg);
    }
    75% {
      transform: translateX(-5px) rotate(-2deg);
    }
    100% {
      transform: translateX(0) rotate(0deg);
    }
}
  
.icon-shake {
    display: inline-block; /* Asegura que la animación funcione correctamente */
    transition: transform 0.3s ease; /* Suaviza el inicio de la animación */
}
  
.icon-shake:hover {
    animation: custom-shake 0.6s ease;
}