.input {
    width: 100%;
    border: none;
    background: white;
    padding: 15px;
    border-bottom: 2px solid rgb(238, 238, 238);
    border-right: 2px solid rgb(238, 238, 238);
    transition: all 0.3s;
    color: rgb(7, 7, 7) !important;
    font-weight: 600;
    font-size: 17px;
    box-shadow: 1px 1px 2px rgb(238, 238, 238);
    margin-bottom: -5px;
    outline: none !important;
}
.input:focus {
    border-bottom: 2px solid rgba(98, 191, 253, 0.644);
    border-right: 2px solid rgba(98, 191, 253, 0.644);
}

.input::placeholder {
    font-size: 14px;
    font-weight: normal;
}

.error__text {
    color: red;
    font-size: 12px;
    padding-left: 10px;
}

.input__select {
    font-size: 17px;
}

.btn-mostaza {
    background-color: #FFC107; /* Color mostaza */
    color: black;
    padding: 10px;
    border-radius: 5px;
    display: inline-block;
    text-decoration: none;
    font-weight: bold;
}
.btn-mostaza:hover {
    background-color: #E0A800; /* Un tono más oscuro al pasar el mouse */
}

.placeholder-bold::placeholder {
    font-weight: bold;
}

.siaut {
    margin-top: 5px;
    position: relative;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0, 123, 255, 0.6);
    animation: glow 1.5s infinite alternate;
}
/* Tablets y pantallas medianas */
@media (max-width: 768px) {
  .siaut {
    font-size: 1.2rem;
  }
}

/* Móviles pequeños */
@media (max-width: 480px) {
  .siaut {
    font-size: 1rem;
  }
}

@keyframes glow {
    from {
        text-shadow: 2px 2px 10px rgba(238, 255, 0, 0.6);
    }
    to {
        text-shadow: 4px 4px 20px rgba(0, 123, 255, 1);
    }
}

/*ESTILOS Bonotes menus */

.btnb {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.btnb:hover {
    transform: scale(4.4);
    opacity: 0.8;
}

@media screen and (max-width: 768px) {
    #encabezadoppal {
        font-size: 1rem; /* reduce tamaño del encabezado */
    }

    form#regPermisos {
        padding: 10px;
        overflow-x: hidden;
    }

    .fl-flex-label {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }

    .input__text,
    .input__select,
    textarea {
        width: 100% !important;
        font-size: 0.9rem;
    }

    table {
        font-size: 12px;
    }

    .btn {
        font-size: 0.9rem;
        padding: 6px 10px;
    }

    /* forzar el contenedor si molesta */
    .pos-fija, #miElemento, .sidebar {
        position: relative !important;
        transform: scale(0.95);
        transform-origin: top left;
    }
}

/* BARRA DE ESTADOS */
ul li:nth-child(3) .activo {
    background: rgb(11, 150, 214) !important;
}

::placeholder {
    color: black !important;
    opacity: 1;
}

.input__text,
.input__select,
textarea {
    color: black;
}


.dias-barra {

    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    justify-content: center;
}

.dia {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: bold;
  color: white;
  box-shadow: 0 0 6px rgba(0,0,0,0.6);
  cursor: default;
  padding: 6px 10px;
    margin: 2px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.dia:hover {
    background: rgba(135, 206, 250, 0.3); /* azul pastel */
    transform: scale(1.05);
    box-shadow: 0px 3px 8px rgba(0,0,0,0.2);
}

/* Hover en barras */
.barra {
    border-radius: 6px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.barra:hover {
    box-shadow: 0px 4px 10px rgba(0,0,0,0.25);
    transform: scale(1.03);
}
/* Tablets */
@media (max-width: 768px) {
  .dia {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }
}

/* Móviles pequeños */
@media (max-width: 480px) {
  .dia {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }
}


.dia.fail { background-color: #e74c3c; } 
.dia.today { background-color: #feca50; color: black; } 
.dia.ok { background-color: #2ecc71; }    
.dia.extra { background-color: #3498db; } 

.grand-contenedor-barra {
  display: flex;
  flex-wrap: wrap;         /* permite que bajen en filas */
  justify-content: center; /* centra las barras horizontalmente */
  gap: 16px;               /* espacio entre barras */
  padding: 10px;
}

.contenedor-barra {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 5vh;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 20px;
}

.contenedor-barra h5.siaut {
    margin-bottom: 4px;
    margin-top: 0;
    font-size: 16px;
    line-height: 1.2;
}

.contenedor-general-barra {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    padding: 15px;
    background: #e76f6f;   
    border-radius: 12px;   
    justify-content: center; 
}

.card {
    border: none;
    border-radius: 12px;
    position: relative;
    box-shadow: 5px 5px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s ease-in-out;
}

/* Sombra de colores pastel (superior + derecha) */
.card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    border-radius: 12px;
   box-shadow: 0.5rem 0.5rem rgba(198, 252, 220, 0.962), -0.5rem -0.5rem #caefb4;
    z-index: -1;
}

/* Hover sobre card */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 16px rgba(0,0,0,0.2);
}

/*Estilos lista medicamentos */
#listaMedicamentos {
    position: absolute;
    z-index: 1000;
    width: 100%;
}
#listaMedicamentos .list-group-item {
    cursor: pointer;
}
/*Estilos responsividad carros de paro */
.barra-carro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; 
    gap: 10px;
}

@media (max-width: 768px) {
    .barra-carro {
        flex-direction: column;   
        align-items: flex-start;  
    }

    .barra-carro h5 {
        width: 100%;              
        text-align: left;
    }

    .barra-carro a {
        width: 100%;             
    }
}

