/* ============================== Main ============================================ */
#app_content {
    padding: 50px;
    display: flex;
    justify-content: center;
}

.main-container {
    display: flex;
    height: 100vh;
}

.offcanvas {
    z-index: 2000;
    /* Valor mayor que el modal para que esté por encima */
}



.bg-main-color {
    background-color: #212529 !important;
    color: #ffffff !important;
}

.table_wrapper {
    height: 600px;
    overflow-y: scroll;
}
.fs-7 {
    font-size: 14px;
}

.fs-8 {
    font-size: 12px;
}

.fs-9 {
    font-size: 10px;
}

.gso_row_simple:hover {
    background-color: #cac7c7;
    cursor: pointer;
}

/* ============================== Sidebar ============================================ */

.sidebar {
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    width: 80px;
    background-color: #212529 !important;
    transition: width 0.3s;
}

.sidebar:hover {
    width: 200px;
}

.sidebar .nav-item {
    width: 100%;
}

.sidebar .nav-link {
    color: #ffffff;
    display: flex;
    align-items: center;
    padding: 15px;
}

.sidebar a:hover {
    background-color: #ffffff;
    color: #44546a !important;
}

.sidebar a {
    cursor: pointer;
}

.sidebar .nav-link i {
    font-size: 40px;
    margin-right: 10px;
}

.sidebar .nav-link span {
    font-size: 20px;
    display: none;
    transition: display 0.5s, opacity 0.5s, transform 0.5s;
}

.sidebar img {
    display: none;
    transition: display 0.5s, opacity 0.5s, transform 0.5s;
}

.sidebar:hover img {
    display: inline;
    transform: translateY(0);
}

.sidebar:hover .nav-link span {
    display: inline;
    transform: translateY(0);
}


/* ============================== GSO Table ============================================ */


/* Asegura que la tabla mantenga un tamaño fijo */
#table-gso-sent {
    table-layout: fixed;
    width: 100%;
}

/* Aplica un ancho mínimo a cada columna */
#table-gso-sent td,
#table-gso-sent th {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Define anchos mínimos personalizados si es necesario */
#table-gso-sent td:nth-child(1),
#table-gso-sent th:nth-child(1) {
    min-width: 100px;
    /* GSO# */
}
#table-gso-sent td:nth-child(2),
#table-gso-sent th:nth-child(2) {
    min-width: 100px;
    /* Date Shipped */
}
#table-gso-sent td:nth-child(3),
#table-gso-sent th:nth-child(3) {
    min-width: 100px;
    /* Trailer # */
}

/* Ajusta el tamaño de las celdas de la tabla */
.modal-body-body {
    position: relative;
    width: 100%;
}

.table-fixed {
    width: 95%;
    max-height: 600px; /* Ajusta según tu necesidad */
    overflow-y: auto;
}

.table-fixed-edit {
    width: 95%;
    max-height: 600px; /* Ajusta según tu necesidad */
    overflow-y: auto;
}


.table-fixed thead {
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: #f8f9fa; /* Color de fondo del encabezado */
}

.table-fixed th, .table-fixed td {
    white-space: nowrap;
}
.table-fixed th, .table-fixed td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 8px;
}

/* Ajusta el tamaño de las imágenes en las celdas */
.barcode_cell img {
    max-width: 150px; /* Ajusta según el tamaño deseado */
    max-height: 50px; /* Ajusta según el tamaño deseado */
}

/* Alinea el contenido al centro */
.text-center {
    text-align: center;
}

.modal-backdrop-custom{
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10001;
  }