body {
    cursor: url("../../img/paleta.png") 16 16, auto !important;
    -webkit-user-select: none;
    /* Chrome, Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE/Edge viejo */
    user-select: none;
    /* estándar */
}

* {
    cursor: url("../../img/paleta.png") 16 16, auto !important;
}

.letras-ead {
    color: #ad882f;
    font-weight: bold;
    font-size: smaller;
}

.letras-ead2 {
    font: caption;
}

.text-center {
    text-align: center;
    display: block;
}

/* admin.php */
.ead-logo {
    width: 3rem;
}

.app-brand-text.demo {
    font-size: 1.75rem;
    letter-spacing: 25.5px;
    text-transform: uppercase;
    color: #A68932;
}

.text-al-center {
    text-align: center;
}

.btn-success {
    background-color: #21c063 !important;
    border-color: #21c063 !important;
}

.padding-10 {
    padding: 10px;
}

.sombras-letras {
    text-shadow: 3px 3px 10px rgb(119 118 118 / 60%);
}


/* semaforo */
/* Contenedor del semáforo con el poste */
.semaforo-container {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-direction: column-reverse;
    /* Coloca el semáforo arriba y el poste abajo */
}

/* Poste */
.poste {
    width: 20px;
    height: 170px;
    background-color: #555;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-top: 1px;
}

/* Base del semáforo */
.base {
    width: 90px;
    height: 11px;
    background-color: #444;
    border-radius: 0px 0px 12px 12px;
    margin-top: 1px;
}

/* Estilo del semáforo */
.semaforo {
    width: 100px;
    height: 260px;
    background-color: #222;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

/* Estilo de las luces */
.luz-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 20px;
    /* Espacio entre las luces */
}

.luz {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #444;
    opacity: 0.3;
    /* Apagado */
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.5s ease;
    position: relative;
}

/* Colores de las luces */
.luz.azul {
    background-color: rgba(255, 179, 37, 0.81);
}

.luz.naranja {
    background-color: rgba(190, 107, 0, 1);
}

.luz.roja {
    background-color: rgb(255, 27, 11);
}

/* Efectos de encendido */
.luz.encendida {
    opacity: 1;
    transform: scale(1.1);
}

/* Efectos de iluminación para cada color */
.luz.azul.encendida {
    box-shadow: 0 0 20px rgba(255, 179, 37, 0.81);
}

.luz.naranja.encendida {
    box-shadow: 0 0 20px rgba(190, 107, 0, 1);
}

.luz.roja.encendida {
    box-shadow: 0 0 20px rgb(255, 27, 11);
}

/* Estilo del borde y sombra del semáforo */
.semaforo {
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(180deg, #222, #333);
}

/* Añadir un resplandor suave alrededor del semáforo */
.semaforo:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Estilo de los textos flotantes a la derecha del semáforo */
.texto-flotante {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    /* Cambié el color a blanco para mejor contraste */
    opacity: 0;
    transition: opacity 0.3s ease;
    position: fixed;
    margin-left: 350px;
}

/* Hacer visible el texto flotante cuando la luz esté encendida */
.luz.azul.encendida+.texto-azul {
    opacity: 1;
}

.luz.naranja.encendida+.texto-naranja {
    opacity: 1;
}

.luz.roja.encendida+.texto-roja {
    opacity: 1;
}

/* fin semaforo */


.table th {
    text-transform: math-auto;
    font-size: 0.75rem;
    letter-spacing: 1px;
}


.bg-label-primary2 {
    background-color: #ddf4ff !important;
    color: #00aaf7 !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: solid #a57c22 1px !important;
}


.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #696cff7d !important;
    color: white !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    background-color: rgb(255 255 255) !important;
    border: none;
    border-right: 1px solid #aaa;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    color: #999;
    /* cursor: pointer !important; */
    font-size: 1em;
    font-weight: bold;
    padding: 0 4px;
    position: absolute;
    left: 0;
    top: 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #000000 !important;
}

/* .form-control,
.form-select { */
    /* cursor: pointer !important; */
/* } */

.select2-container--default .select2-selection--multiple {
    /* cursor: pointer !important; */
    border: 1px solid #d9dee3 !important;
}


@media (min-width: 1200px) {

    .layout-navbar-fixed body:not(.modal-open) .layout-content-navbar .layout-menu,
    .layout-menu-fixed body:not(.modal-open) .layout-content-navbar .layout-menu,
    .layout-menu-fixed-offcanvas body:not(.modal-open) .layout-content-navbar .layout-menu {
        z-index: 1060 !important;
    }

}

@media (max-width:1200px) {

    body,
    * {
        font-size: x-small !important;
    }
}


.layout-navbar-fixed body:not(.modal-open) .layout-content-navbar .layout-navbar,
.layout-menu-fixed body:not(.modal-open) .layout-content-navbar .layout-navbar,
.layout-menu-fixed-offcanvas body:not(.modal-open) .layout-content-navbar .layout-navbar {
    z-index: 1060 !important;
}


div:where(.swal2-container) {
    z-index: 1184 !important;
}

div:where(.swal2-container).swal2-center>.swal2-popup {
    z-index: 19000 !important;
}

.btn-blue {
    color: #fff;
    background-color: #2196F3 !important;
    border-color: #2196F3 !important;
    box-shadow: 0 0.125rem 0.25rem 0 rgba(133, 146, 163, 0.4);
}

.btn-blue:hover {
    color: #21c063;
    background-color: #ffffff !important;
    border-color: #a7a7a7 !important;
    box-shadow: 0 0.125rem 0.25rem 0 rgba(143, 143, 143, 0.4);
}

.text-left {
    text-align: left;
}

.form-check-input:checked,
.form-check-input[type=checkbox]:indeterminate {
    background-color: #21c063 !important;
    border-color: #b0d782 !important;
    box-shadow: 0 2px 11px 0 #607D8B !important;
}

/* .form-switch .form-check-input:focus {
    background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23696cff'/%3e%3c/svg%3e);
    
} */

/* .form-switch .form-check-input:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='rgba%2867, 89, 113, 0.3%29'/%3e%3c/svg%3e");
    border-color: #b0d782  !important;
} */


.daterangepicker .ranges li.active {
    color: #8c5d23 !important;
    background-color: #ab853321 !important;
}

.daterangepicker td.active,
.daterangepicker td.active:hover {
    background-color: #2196F3 !important;
    border-color: transparent;
    color: #fff;
}

/*imprimir codigo de barras*/
/* Estilos generales para la página */

/* Ocultar todo lo que no sea #barcode-list al momento de imprimir */
@media print {
    @page {
        margin: 0;
    }

    body {
        margin: 0;
        padding: 0;
    }

    #barcode-list {
        position: absolute;
        top: 0;
        left: 0;
    }

    body * {
        visibility: hidden;
    }

    #barcode-list,
    #barcode-list * {
        visibility: visible;
    }

    #barcode-list {
        position: absolute;
        left: 0;
        top: 0;
    }

    .print-button {
        display: none;
    }
}

/* Estilos para los códigos de barras */
.barcode-container {
    text-align: center;
    margin-bottom: 10px;
}

svg {
    width: 100%;
    max-width: 220px;
}

.barcode-number {
    font-size: 10px;
    font-family: monospace;
    margin-top: -20px;
    letter-spacing: 2px;
    position: relative;
}





.buy-now .btn-buy-now {
    position: fixed;
    bottom: 3rem;
    right: 1.625rem;
    z-index: 1;
    box-shadow: 0 1px 20px 1px var(--bs-purple);
}


.buy-now .btn-buy-now-excel {
    position: fixed;
    bottom: 3rem;
    right: 1.625rem;
    z-index: 999999;
    box-shadow: 0 1px 20px 1px #8f9691;
}

.buy-now .btn-buy-now-excel:hover {
    box-shadow: none;
}







/* Contenedor principal del input */
.file-input-container {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    max-width: 400px;
    background-color: #fafafa;
    font-family: Arial, sans-serif;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Estilo del botón de selección */
.file-label {
    display: inline-block;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    /* cursor: pointer; */
    transition: background-color 0.3s;
    font-size: 14px;
    margin-bottom: 10px;
}

.file-label i {
    margin-right: 8px;
}

.file-label:hover {
    background-color: #0056b3;
}

/* Ocultar el input real */
.file-input {
    display: none;
}

/* Texto alternativo cuando no hay imagen */
.preview-placeholder {
    margin-top: 15px;
    font-size: 14px;
    color: #777;
}

/* Contenedor de la previsualización */
.preview-container {
    margin-top: 15px;
    position: relative;
    text-align: center;
}

/* Imagen de previsualización */
.preview-image {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Botón para quitar imagen */
.remove-image {
    margin-top: 10px;
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    /* cursor: pointer; */
    font-size: 13px;
    transition: background-color 0.3s;
}

.remove-image i {
    margin-right: 5px;
}

.remove-image:hover {
    background-color: #c82333;
}















/* Imagen dentro del td: miniatura uniforme */
td img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

/* Efecto al pasar el mouse por la imagen */
td img:hover {
    transform: scale(1.05);
}





/* Fondo oscuro del modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

/* Imagen agrandada dentro del modal */
.image-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Botón de cerrar */
.image-modal .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 5rem;
    color: white;
    /* cursor: pointer; */
    font-weight: bold;
}

#imageModal {
    display: none;
    /* otras propiedades */
}

#imageModal.show {
    display: flex;
    /* otras propiedades */
}



/* Figar el nav para que se pueda mover en la navegación vertical */
nav {
    position: sticky !important;
    top: 0 !important;
}



.bg-label-marino {
    background-color: #03355c38 !important;
    color: #053255 !important;
}


.permisos {
    background: #ffffff;
    border-style: solid;
    border-radius: 1rem;
    border-color: #eaeaea;
    box-shadow: 0 4px 12px rgb(0 0 0 / 27%);
}

/* BETA DE VALORACIÓN DEL TICKET */
/* CONTENEDOR */
.rating-container {
    width: 100%;
  }
  
  /* GRID */
  .star-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    text-align: center;
    align-items: center;
    margin-bottom: 10px;
  }
  
  /* OCULTAR RADIOS */
  .star-grid input {
    display: none;
  }
  
  /* ESTRELLAS */
  .star-grid label {
    font-size: 35px;
    color: #ccc;
    cursor: pointer;
    transition: 0.2s;
  }
  
  /* ========================= */
  /* 🎯 HOVER (IZQ → DER) */
  /* ========================= */
  
  /* 1 */
  #st-1:hover ~ label[for="st-1"],
  #st-1:hover + label {
    color: #e53935;
  }
  
  /* 2 */
  #st-2:hover ~ label[for="st-1"],
  #st-2:hover ~ label[for="st-2"],
  #st-2:hover + label {
    color: #e53935;
  }
  
  /* 3 */
  #st-3:hover ~ label[for="st-1"],
  #st-3:hover ~ label[for="st-2"],
  #st-3:hover ~ label[for="st-3"],
  #st-3:hover + label {
    color: #ff9800;
  }
  
  /* 4 */
  #st-4:hover ~ label[for="st-1"],
  #st-4:hover ~ label[for="st-2"],
  #st-4:hover ~ label[for="st-3"],
  #st-4:hover ~ label[for="st-4"],
  #st-4:hover + label {
    color: #4caf50;
  }
  
  /* 5 */
  #st-5:hover ~ label,
  #st-5:hover + label {
    color: #4caf50;
  }
  
  /* ========================= */
  /* ✅ CHECKED (MISMO COMPORTAMIENTO) */
  /* ========================= */
  
  /* 1 */
  #st-1:checked ~ label[for="st-1"],
  #st-1:checked + label {
    color: #e53935;
  }
  
  /* 2 */
  #st-2:checked ~ label[for="st-1"],
  #st-2:checked ~ label[for="st-2"],
  #st-2:checked + label {
    color: #e53935;
  }
  
  /* 3 */
  #st-3:checked ~ label[for="st-1"],
  #st-3:checked ~ label[for="st-2"],
  #st-3:checked ~ label[for="st-3"],
  #st-3:checked + label {
    color: #ff9800;
  }
  
  /* 4 */
  #st-4:checked ~ label[for="st-1"],
  #st-4:checked ~ label[for="st-2"],
  #st-4:checked ~ label[for="st-3"],
  #st-4:checked ~ label[for="st-4"],
  #st-4:checked + label {
    color: #4caf50;
  }
  
  /* 5 */
  #st-5:checked ~ label,
  #st-5:checked + label {
    color: #4caf50;
  }
  
  /* TEXTOS */
  .lbl {
    grid-row: 2;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
  }
  
  .lbl-1 { grid-column: 1; }
  .lbl-2 { grid-column: 2; }
  .lbl-3 { grid-column: 3; }
  .lbl-4 { grid-column: 4; }
  .lbl-5 { grid-column: 5; }
  
  /* TEXTAREA */
  .full-width {
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box;
  }

  .alert-estandar-reminder-ead {
    background-color: #ffeeba;
    color:rgba(133, 101, 4, 0.7);
    border-radius: 6px;
    margin-bottom: 20px;
  }