.graph {
    max-height: 275px;
    max-width: 275px;
}


.view-bills {
    font-weight: 550;
}

.table-wrapper-scroll-y {
    display: block;

}

.my-custom-scrollbar {
    position: relative;
    height: 320px;
    overflow: auto;
    width: 100%;
    min-height: 41vh !important
}

.my-custom-scrollbar::-webkit-scrollbar {
    width: 3px !important;
    height: 5px !important;
}



.input-sm {
    height: 30px;
}

.input-sm-2 {
    height: 10px;
}

.report-text {
    font-size: 11px;
}

.ledger-text {
    font-size: 12px;
}

.bill-text {
    font-size: 15px;
}

.my-custom-scrollbar-stock {
    position: relative;
    height: 380px;
    overflow: auto;
    width: 100%;
    min-height: 53vh !important
}

.status-container {
    height: 250px;
    overflow-y: scroll;
    padding: 5px;
}

.my-custom-scrollbar-stock::-webkit-scrollbar {
    width: 3px !important;
    height: 5px !important;
}


.my-custom-scrollbar-ledger {
    position: relative;
    height: 450px;
    overflow: auto;
    width: 100%;
    min-height: 65vh !important
}

.my-custom-scrollbar-ledger::-webkit-scrollbar {
    width: 3px !important;
    height: 5px !important;
}


.my-custom-scrollbar-bill2 {
    position: relative;
    height: 300px;
    overflow: auto;
    width: 100%;
    min-height: 50vh !important
}

.my-custom-scrollbar-bill2::-webkit-scrollbar {
    width: 3px !important;
    height: 5px !important;
}

.pos-code {
    font-weight: 750;
    font-size: 16px;
}

.pos-text {
    font-size: 13px;
}


.pos-card:active + .pos-card,
.pos-card:checked + .pos-card,
.pos-card.active,
.pos-card:active,
.pos-card:focus {
    color: #FFF;
    background-color: rgba(0, 204, 189, .5);
}

.pos-card:hover:not(.disabled):not(:disabled) {
    color: #FFF;
    background-color: rgba(0, 204, 189, .5);
}


.pos-card-wrapper-scroll-y {
    display: block;

}

.my-custom-scrollbar-pos-card {
    position: relative;
    height: 400px;
    overflow: auto;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    min-height: 55vh !important
}

.my-custom-scrollbar-pos-card::-webkit-scrollbar {
    width: 3px !important;

}


.my-custom-scrollbar-pos-card::-webkit-scrollbar-track {
    background: transparent;
}

.my-custom-scrollbar-pos-card::-webkit-scrollbar-thumb {
    background: transparent;
}

.my-custom-scrollbar-pos-card::-webkit-scrollbar-thumb:hover {
    background: transparent;
}




.order-list-wrapper-scroll-y {
    display: block;

}

.my-custom-scrollbar-order-list {
    position: relative;
    height: 210px;
    overflow: auto;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    min-height: 30vh !important
}

.my-custom-scrollbar-order-list::-webkit-scrollbar {
    width: 3px !important;

}


.my-custom-scrollbar-order-list::-webkit-scrollbar-track {
    background: transparent;
}

.my-custom-scrollbar-order-list::-webkit-scrollbar-thumb {
    background: transparent;
}

.my-custom-scrollbar-order-list::-webkit-scrollbar-thumb:hover {
    background: transparent;
}




.btn-counter {
    max-height: 30px;
    max-width: 30px;
}


.customer-badge {
    height: 30px;
    width: 30px;
}

.login-cover {
    min-height: 780px;
    max-width: 1200px;
}

.inventory-text {
    font-size: 13px;
}



.match-height > [class*=col] {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-flow: column;
    -ms-flex-flow: column;
    flex-flow: column
}

.match-height > [class*=col] > .card {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto
}

.login-logo {
    width: 60px;
     !important
}


.board-title {
    background-color: #f1f1f1;
    padding: 5px 20px;
}

.flex {
    display: flex;
    flex-direction: row;
}

.scrum-board {
    flex: 1;
    padding: 20px;
}

.scrum-board-processing {
    flex: 1;
    padding: 20px;
    border-right: 1px solid #ddd;
    border-left: 1px solid #ddd;
}




.scrum-task-pending {
    position: relative;
    display: block;
    padding: 10px;
    border: .5px solid #8392ab;
    border-left: 5px solid #8392ab;
    margin-bottom: 10px;
    border-radius: 15px;
    background-color: #fff;
    cursor: all-scroll;
}


.scrum-task-processing {
    position: relative;
    display: block;
    padding: 10px;
    border: .5px solid #faae42;
    border-left: 5px solid #faae42;
    margin-bottom: 10px;
    border-radius: 15px;
    background-color: #fff;
    cursor: all-scroll;
}


.scrum-task-ready {
    position: relative;
    display: block;
    padding: 10px;
    border: .5px solid #2dce89;
    border-left: 5px solid #2dce89;
    margin-bottom: 10px;
    border-radius: 15px;
    background-color: #fff;
    cursor: all-scroll;
}



.scrum-board-column {
    // background-color:blue;
    min-height: 200px;
    padding: 10px;
    height: 100%;
}







.today-task-pending {
    position: relative;
    display: block;
    padding: 5px;
    border: .5px solid #8392ab;
    border-left: 5px solid #8392ab;
    margin-bottom: 5px;
    border-radius: 15px;
    background-color: #fff;
}


.today-task-processing {
    position: relative;
    display: block;
    padding: 5px;
    border: .5px solid #faae42;
    border-left: 5px solid #faae42;
    margin-bottom: 5px;
    border-radius: 15px;
    background-color: #fff;
}


.today-task-ready {
    position: relative;
    display: block;
    padding: 5px;
    border: .5px solid #2dce89;
    border-left: 5px solid #2dce89;
    margin-bottom: 5px;
    border-radius: 15px;
    background-color: #fff;
}

.today-task-delivered {
    position: relative;
    display: block;
    padding: 5px;
    border: .5px solid #0083ff;
    border-left: 5px solid #0083ff;
    margin-bottom: 5px;
    border-radius: 15px;
    background-color: #fff;
}

.today-task-returned {
    position: relative;
    display: block;
    padding: 5px;
    border: .5px solid #f5365c;
    border-left: 5px solid #f5365c;
    margin-bottom: 5px;
    border-radius: 15px;
    background-color: #fff;
}

.input-counter {
    max-width: 80px; !important
}
/* Responsive design for order status screen */
@media (max-width: 768px) {
    .flex {
        flex-direction: column !important;
    }
    
    .scrum-board, 
    .scrum-board-processing {
        width: 100% !important;
        margin-bottom: 20px !important;
        border: none !important;
        flex: none !important;
    }
    
    .scrum-board-processing {
        border-right: none !important;
        border-left: none !important;
    }
    
    .scrum-board-container {
        overflow-x: hidden !important;
    }
    
    /* Reducir padding en móviles */
    .scrum-board,
    .scrum-board-processing {
        padding: 15px 10px !important;
    }
}



/* Responsive design para pantalla de estado de pedidos */
@media (max-width: 768px) {
    .scrum-board-container .flex {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .scrum-board, .scrum-board-processing {
        width: 100% !important;
        margin-bottom: 20px !important;
        padding: 15px 10px !important;
        border: 1px solid #e0e0e0 !important;
        border-radius: 10px !important;
        flex: none !important;
    }
    
    .scrum-board-processing {
        border-right: 1px solid #e0e0e0 !important;
        border-left: 1px solid #e0e0e0 !important;
    }
}

/* Responsive design para vista de detalle de pedido */
@media (max-width: 768px) {
    /* Hacer que las columnas principales se apilen en móviles */
    .row .col-lg-9,
    .row .col-3 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 20px !important;
    }
    
    /* Header responsive - información de la empresa vs datos del pedido */
    .card-header .row .col,
    .card-header .row .col-auto {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 15px !important;
        text-align: left !important;
    }
    
    .card-header .row .col-auto {
        margin-top: 20px !important;
    }
    
    /* Tabla responsive con scroll horizontal */
    .table-responsive {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .table-responsive table {
        min-width: 600px !important;
        font-size: 12px !important;
    }
    
    .table-responsive th,
    .table-responsive td {
        white-space: nowrap !important;
        padding: 8px 4px !important;
    }
    
    /* Avatar más pequeño en móviles */
    .table .avatar {
        width: 30px !important;
        height: 30px !important;
    }
    
    /* Footer responsive */
    .card-footer .row .col-md-8,
    .card-footer .row .col-md-4,
    .card-footer .row .col-md-1,
    .card-footer .row .col-md-11 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 20px !important;
    }
    
    /* Sidebar de pagos */
    .timeline-block {
        margin-bottom: 15px !important;
    }
    
    /* Botones más grandes en móviles */
    .btn, .badge {
        min-height: 40px !important;
        font-size: 14px !important;
    }
    
    /* Textos más legibles en móviles */
    .text-xs {
        font-size: 12px !important;
    }
    
    .text-sm {
        font-size: 13px !important;
    }
}

/* Para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .table-responsive table {
        font-size: 13px !important;
    }
    
    .table-responsive th,
    .table-responsive td {
        padding: 10px 6px !important;
    }
}
    .table-responsive table {
        min-width: 600px !important;
        font-size: 12px !important;
    }
    
    .table-responsive th,
    .table-responsive td {
        white-space: nowrap !important;
        padding: 8px 4px !important;
    }
    
    .table .avatar {
        width: 30px !important;
        height: 30px !important;
    }
    
    .card-footer .row .col-md-8,
    .card-footer .row .col-md-4,
    .card-footer .row .col-md-1,
    .card-footer .row .col-md-11 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 20px !important;
    }
    
    .timeline-block {
        margin-bottom: 15px !important;
    }
    
    .btn, .badge {
        min-height: 40px !important;
        font-size: 14px !important;
    }
    
    .text-xs {
        font-size: 12px !important;
    }
    
    .text-sm {
        font-size: 13px !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .table-responsive table {
        font-size: 13px !important;
    }
    
    .table-responsive th,
    .table-responsive td {
        padding: 10px 6px !important;
    }
}
    
    .btn, .badge {
        min-height: 40px !important;
        font-size: 14px !important;
    }
    
    .text-xs {
        font-size: 12px !important;
    }
    
    .text-sm {
        font-size: 13px !important;
    }
}

/* Corregir alineación de "Facturar a:" en vista desktop */
@media (min-width: 769px) {
    .card-footer .row .col-md-8 {
        padding-right: 30px;
    }
    
    .card-footer .row .col-md-4 {
        padding-left: 15px;
    }
    
    .card-footer .row .col-md-1 {
        padding-right: 5px;
    }
    
    .card-footer .row .col-md-11 {
        padding-left: 10px;
    }
}

/* Corregir alineación de botones en general */
.btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    vertical-align: middle !important;
}

.btn-group {
    display: inline-flex !important;
    align-items: center !important;
}

/* Corregir botones en tablas */
.table .btn {
    margin: 2px !important;
    padding: 6px 12px !important;
    line-height: 1.4 !important;
}

/* Corregir badges */
.badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

/* Corregir dropdown buttons */
.dropdown-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Específico para móviles - sobrescribir solo lo necesario */
@media (max-width: 768px) {
    .btn, .badge {
        min-height: 40px !important;
        font-size: 14px !important;
        /* Mantener las otras propiedades de alineación */
    }
}
