/*
* demo.css
* File include item demo only specific css only
******************************************************************************/
@keyframes parpadeo {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}
@media (max-width: 768px) {
    .table thead {
        display: none;
    }

    .table tbody tr {
        display: block;
        margin-bottom: 1rem;
        border-radius: 8px;
    }

    .table tbody td {
        display: flex;
        justify-content: space-between;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

        .table tbody td::before {
            content: attr(data-label);
            font-weight: 600;
            color: #666;
        }
}
/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1.25rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 300px;
    position: relative;
  }
  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}


/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1.25rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1.25rem;
}

/*badge servicios*/
/******************************************************************************/
/* Custom badge colors */
.bg-reponedor {
    background-color: #28a745; /* Green for REPONEDOR */
    color: white;
}

.bg-mantenimiento {
    background-color: #ffc107; /* Yellow for MANTENIMIENTO */
    color: black;
}

.bg-puesta0 {
    background-color: #dc3545; /* Red for PUESTA ACERO */
    color: white;
}

/******************************************************************************/
/*LOCKERS*/
/******************************************************************************/
.locker-card {
    min-width: 120px;
    min-height: 150px;
    border-radius: 10px;
    transition: transform 0.2s;
}

    .locker-card:hover {
        transform: scale(1.03);
    }

.locker-icon {
    font-size: 2rem;
    margin: 10px 0;
}

.border-empty {
    border: 2px dashed #6c757d !important;
}

.border-warning {
    border: 2px solid #ffc107 !important;
}

.border-success {
    border: 2px solid #28a745 !important;
}

.border-locked {
    border: 2px solid #343a40 !important;
}
/******************************************************************************/
/*FIN LOCKERS*/
/******************************************************************************/


/******************************/
/* Ajustes para los enlaces de correo electrónico */
.badge.bg-danger {
    background-color: #dc3545 !important;
    color: white;
}

.badge.bg-warning {
    background-color: #ffc107 !important;
    color: black;
}

.badge.bg-info {
    background-color: #17a2b8 !important;
    color: white;
}

.badge.bg-primary {
    background-color: #0d6efd !important;
    color: white;
}

.badge.bg-secondary {
    background-color: #6c757d !important;
    color: white;
}

.badge.bg-dark {
    background-color: #343a40 !important;
    color: white;
}

/* Estilos para los enlaces de correo electrónico */
#devicesnotify a {
    color: #007bff;
    text-decoration: none;
}

    #devicesnotify a:hover {
        text-decoration: underline;
    }

/* Ajustes para los botones dropdown */
.dropdown-menu a.dropdown-item {
    cursor: pointer;
}

    .dropdown-menu a.dropdown-item:hover {
        background-color: #f8f9fa;
    }

/* Responsive Design: Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
    #devicesnotify {
        font-size: 0.9em;
    }

    .badge {
        font-size: 0.8em;
        padding: 0.4em;
    }

    .dropdown-toggle {
        padding: 0.25em 0.5em;
    }
}

.email-column {
    white-space: normal !important; /* Permite el envolvimiento de texto */
    word-wrap: break-word; /* Para compatibilidad con navegadores más antiguos */
    max-width: 100%; /* Asegura que el contenido no exceda el ancho de la columna */
}

    /* Opcional: Estilizar los emails como listas sin viñetas */
    .email-column ul {
        list-style-type: none;
        padding-left: 0;
        margin: 0;
    }

    .email-column li {
        margin-bottom: 5px;
    }

    /* Opcional: Estilizar los enlaces de correo electrónico */
    .email-column a {
        color: #007bff;
        text-decoration: none;
    }

        .email-column a:hover {
            text-decoration: underline;
        }





.dataTables_filter {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.refresh-icon {
    margin-left: 10px;
    cursor: pointer;
    color: #007bff;  Color del icono 
}

    .refresh-icon:hover {
        color: #0056b3;  Color al pasar el mouse 
    }