.bd-placeholder-img { font-size: 1.125rem; text-anchor: middle; -webkit-user-select: none; -moz-user-select: none; user-select: none; }

.form-check-input { display: block; margin: auto; font-size: 2rem; }

@media (min-width: 768px) {
    .bd-placeholder-img-lg { font-size: 3.5rem; }
}

.nav-scroller { position: relative; z-index: 2; height: 2.75rem; overflow-y: hidden; }
    .nav-scroller .nav { display: flex; flex-wrap: nowrap; padding-bottom: 1rem; margin-top: -1px; overflow-x: auto; text-align: center; white-space: nowrap; -webkit-overflow-scrolling: touch; }

.btn-bd-primary { --bd-violet-bg: #712cf9; --bd-violet-rgb: 112.520718, 44.062154, 249.437846; --bs-btn-font-weight: 600; --bs-btn-color: var(--bs-white); --bs-btn-bg: var(--bd-violet-bg); --bs-btn-border-color: var(--bd-violet-bg); --bs-btn-hover-color: var(--bs-white); --bs-btn-hover-bg: #6528e0; --bs-btn-hover-border-color: #6528e0; --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb); --bs-btn-active-color: var(--bs-btn-hover-color); --bs-btn-active-bg: #5a23c8; --bs-btn-active-border-color: #5a23c8; }

.bd-mode-toggle { z-index: 1500; }
    .bd-mode-toggle .dropdown-menu .active .bi { display: block !important; }

@media (min-width: 768px) {
    .sidebar .offcanvas-lg { position: -webkit-sticky; position: sticky; top: 48px; }
    .navbar-search { display: block; }
}

.sidebar .nav-link { font-size: .875rem; font-weight: 500; }
    .sidebar .nav-link.active { color: #2470dc; }
.sidebar-heading { font-size: .75rem; }

.navbar-brand { padding-top: .75rem; padding-bottom: .75rem; background-color: rgba(0, 0, 0, .25); box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25); }
.navbar .form-control { padding: .75rem 1rem; }
header { background-color: rgb(0, 78, 140); color: white; }

.green { color: greenyellow; }
.red { color: indianred; }

.nav-link, .nav-item { display: inline-block; }
#tools-status { display: inline-block; }

.sidebar { position: fixed; height: 100%; border-right: 1px solid #E2E2E2; }

#menu .nav-link { border: none; background: none; }
    #menu .nav-link.active { text-decoration: underline; }

main { min-height: 300px; }

.tools { }
    .tools .btn .bx { font-size: 1.25rem; vertical-align: text-top; }
    .tools .btn.btn-outline-secondary { color: #198754; background-color: white; }
        .tools .btn.btn-outline-secondary:hover,
        .tools .btn.btn-outline-secondary:hover,
        .tools .btn.btn-outline-secondary:hover { background-color: #ccc; }


.input-validation-error,
.input-validation-error:hover,
.input-validation-error:active,
.input-validation-error:focus { border-color: #dc3545; background-color: #ffbdb0; box-shadow: none; background-color: #ffbdb0; border-color: red; }

    .input-validation-error::placeholder { color: #dc3545; background-color: #ffbdb0; }

.field-validation-error { color: #dc3545; }

input[type=text].numeric { text-align: right; }

.input-libelle { width: 100%; max-width: none; }
.informations-attachment .input-libelle { border: var(--bs-border-width) solid var(--bs-border-color); border-radius: var(--bs-border-radius); padding: .375rem .75rem; }
.informations-attachment i { font-size: 1rem; }
.informations-attachment .bx-info-circle { font-size: 1.5rem; cursor: help; vertical-align: middle; }
.informations-attachment .input-libelle { width: calc(100% - 40px); }
.informations-attachment .btn-warning { color: white; }
.informations-attachment { padding: 5px 10px; border-bottom: 1px solid #e2e2e2; }
    .informations-attachment p { display: inline-block; margin: 0px; margin-top: 10px; }
    .informations-attachment i { display: inline-block; }

#produit-table { }
    #produit-table .vignette { max-height: 50px; border-radius: 5px; }
        #produit-table .vignette.empty { opacity: 0.5; border: 1px solid; padding: 10px; background-color: white; }

    #produit-table .bx.bx-info-circle { color: dodgerblue; font-weight: bold; vertical-align: middle; cursor: help; }

    #produit-table td:nth-child(1),
    #produit-table td:nth-child(3),
    #produit-table td:nth-child(4),
    #produit-table td:nth-child(5),
    #produit-table td:nth-child(6),
    #produit-table td:nth-child(7),
    #produit-table td:nth-child(8),
    #produit-table td:nth-child(9) { text-align: center; }

    #produit-table th:nth-child(1) { width: 7.5% !important; }
    #produit-table th:nth-child(2) { width: 10% !important; text-align: center; }
    #produit-table th:nth-child(3) { width: 20% !important; }
    #produit-table th:nth-child(4) { width: 15% !important; }
    #produit-table th:nth-child(5) { width: 15% !important; }
    #produit-table th:nth-child(6) { width: 10% !important; }
    #produit-table th:nth-child(7) { width: 7.5% !important; }
    #produit-table th:nth-child(8) { width: 7.5% !important; }
    #produit-table th:nth-child(9) { width: 7.5% !important; }

.produit-table { }
    .produit-table .vignette { max-height: 50px; border-radius: 5px; }
        .produit-table .vignette.empty { opacity: 0.5; border: 1px solid; padding: 10px; background-color: white; }

    .produit-table .bx.bx-info-circle { color: dodgerblue; font-weight: bold; vertical-align: middle; cursor: help; }

    .produit-table td:nth-child(1),
    .produit-table td:nth-child(3),
    .produit-table td:nth-child(4),
    .produit-table td:nth-child(5),
    .produit-table td:nth-child(6),
    .produit-table td:nth-child(7),
    .produit-table td:nth-child(8),
    .produit-table td:nth-child(9) { text-align: center; }

    .produit-table th:nth-child(1) { width: 7.5% !important; }
    .produit-table th:nth-child(2) { width: 10% !important; text-align: center; }
    .produit-table th:nth-child(3) { width: 20% !important; }
    .produit-table th:nth-child(4) { width: 15% !important; }
    .produit-table th:nth-child(5) { width: 15% !important; }
    .produit-table th:nth-child(6) { width: 10% !important; }
    .produit-table th:nth-child(7) { width: 7.5% !important; }
    .produit-table th:nth-child(8) { width: 7.5% !important; }
    .produit-table th:nth-child(9) { width: 7.5% !important; }


.card { box-shadow: 0px 0px 15px 1px rgba(0,0,0,0.1); }
    .card .card-header { background-color: rgb(28, 148, 113, 0.5); border: none; color: white; }
        .card .card-header h4 { font-weight: bold; font-size: 1.5rem; margin: 0; }

#site-list table th:nth-child(1) { width: 30%; }
#site-list table th:nth-child(2) { width: 30%; }
#site-list table th:nth-child(3) { width: 30%; }
#site-list table th:nth-child(4) { width: 10%; }
#site-list table td .nav-link { font-size: 1.25rem; }

#client-table th:nth-child(1) { width: 20% !important; }
#client-table th:nth-child(2) { width: 20% !important; }
#client-table th:nth-child(3) { width: 20% !important; }
#client-table th:nth-child(4) { width: 10% !important; }
#client-table th:nth-child(5) { width: 10% !important; }
#client-table th:nth-child(6) { width: 10% !important; }
#client-table th:nth-child(6) { width: 10% !important; }

#settings-index { }
    #settings-index .nav { flex-direction: row; justify-content: start; overflow: initial; }
    #settings-index #settings-index-content { padding: 15px; min-height: 500px; border: 1px solid var(--bs-border-color); border-top: none; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; }

#tva-table { width: 100% !important; }
#type-produit-table { width: 100% !important; }
#type-abonnement-table { width: 100% !important; }
#fournisseur-table { width: 100% !important; }

.page { padding: 10px; padding-top: 0px; }
    .page .tools { background-color: #333; padding: 10px 10px; }
    .page .entete { background-color: #eaebec; color: white; padding: 0px 10px; margin: 0px -10px; color: #363a41; }
        .page .entete small { font-size: 0.7rem; }
        .page .entete h4 { }

#commande-detail .client { background-color: #ddd; padding: 10px; }
    #commande-detail .client h5 { color: #363a41; font-size: 1rem; }
    #commande-detail .client p { font-size: 0.85rem; margin: -5px 0px; }


#commande-table { }
    #commande-table th:nth-child(1) { width: 7.5% !important; }
    #commande-table th:nth-child(2) { width: 12.5% !important; }
    #commande-table th:nth-child(3) { width: 10% !important; }
    #commande-table th:nth-child(4) { width: 10% !important; }
    #commande-table th:nth-child(5) { width: 10% !important; }
    #commande-table th:nth-child(6) { width: 10% !important; }
    #commande-table th:nth-child(7) { width: 10% !important; }
    #commande-table th:nth-child(8) { width: 5% !important; }
    #commande-table th:nth-child(9) { width: 10% !important; }
    #commande-table th:nth-child(10) { width: 5% !important; }

.tag { border: 1px solid; border-radius: 5px; padding: 2.5px 10px; }
    .status-nouvelle, .tag.status-nouvelle { background-color: #d1e7dd; /* Light green */ color: #0f5132; /* Dark green */ border-color: #badbcc; /* Slightly darker green */ }
    .status-enattente, .tag.status-enattente { background-color: #fff3cd; /* Light yellow */ color: #856404; /* Dark yellow */ border-color: #ffecb5; /* Slightly darker yellow */ }
    .status-validee, .tag.status-validee { background-color: #cfe2f3; /* Light blue */ color: #084298; /* Dark blue */ border-color: #9fc5e8; /* Slightly darker blue */ }
    .status-pretepourexpedition, .tag.status-pretepourexpedition { background-color: #d0ebff; /* Light cyan */ color: #0a58ca; /* Dark cyan */ border-color: #a5c6f8; /* Slightly darker cyan */ }
    .status-expediee, .tag.status-expediee { background-color: #d1ecf1; /* Light teal */ color: #0c5460; /* Dark teal */ border-color: #b6e0f0; /* Slightly darker teal */ }
    .status-livree, .tag.status-livree { background-color: #c2e0c6; /* Light green */ color: #155724; /* Dark green */ border-color: #a3d9a1; /* Slightly darker green */ }
    .status-annulee, .tag.status-annulee { background-color: #f8d7da; /* Light red */ color: #721c24; /* Dark red */ border-color: #f5c6cb; /* Slightly darker red */ }
    .status-perdu, .tag.status-perdu { background-color: #f5c6cb; /* Light red */ color: #721c24; /* Dark red */ border-color: #f1b0b7; /* Slightly darker red */ }
    .status-payee, .tag.status-payee { background-color: #d4edda; /* Light green */ color: #155724; /* Dark green */ border-color: #c3e6cb; /* Slightly darker green */ }
    .status-inconnu, .tag.status-inconnu { background-color: #e2e3e5; /* Light gray */ color: #6c757d; /* Dark gray */ border-color: #dae0e5; /* Slightly darker gray */ }

.status-nouvelle:focus, .status-nouvelle:active, .status-nouvelle:hover { background-color: #0f5132 !important; /* Light green */ color: white !important; /* Dark green */ border-color: transparent !important; /* Slightly darker green */ }
.status-enattente:focus, .status-enattente:active, .status-enattente:hover { background-color: #856404 !important; /* Light yellow */ color: white !important; /* Dark yellow */ border-color: transparent !important; /* Slightly darker yellow */ }
.status-validee:focus, .status-validee:active, .status-validee:hover { background-color: #084298 !important; /* Light blue */ color: white !important; /* Dark blue */ border-color: transparent !important; /* Slightly darker blue */ }
.status-pretepourexpedition:focus, .status-pretepourexpedition:active, .status-pretepourexpedition:hover { background-color: #0a58ca !important; /* Light cyan */ color: white !important; /* Dark cyan */ border-color: transparent !important; /* Slightly darker cyan */ }
.status-expediee:focus, .status-expediee:active, .status-expediee:hover { background-color: #0c5460 !important; /* Light teal */ color: white !important; /* Dark teal */ border-color: transparent !important; /* Slightly darker teal */ }
.status-livree:focus, .status-livree:active, .status-livree:hover { background-color: #155724 !important; /* Light green */ color: white !important; /* Dark green */ border-color: transparent !important; /* Slightly darker green */ }
.status-annulee:focus, .status-annulee:active, .status-annulee:hover { background-color: #721c24 !important; /* Light red */ color: white !important; /* Dark red */ border-color: transparent !important; /* Slightly darker red */ }
.status-perdu:focus, .status-perdu:active, .status-perdu:hover { background-color: #721c24 !important; /* Light red */ color: white !important; /* Dark red */ border-color: transparent !important; /* Slightly darker red */ }
.status-payee:focus, .status-payee:active, .status-payee:hover { background-color: #155724 !important; /* Light green */ color: white !important; /* Dark green */ border-color: transparent !important; /* Slightly darker green */ }
.status-inconnu:focus, .status-inconnu:active, .status-inconnu:hover { background-color: #6c757d !important; /* Light gray */ color: white !important; /* Dark gray */ border-color: transparent !important; /* Slightly darker gray */ }


.tag.type-commandestandard { background-color: dodgerblue; /* Light grey */ color: white; /* Dark grey */ border-color: dodgerblue; /* Slightly darker grey */ }
.tag.type-commandeabonnement { background-color: #cce5ff; /* Light blue */ color: #004085; /* Dark blue */ border-color: #b8daff; /* Slightly darker blue */ }
.tag.type-commandecomplementaire { background-color: #d4edda; /* Light green */ color: #155724; /* Dark green */ border-color: #c3e6cb; /* Slightly darker green */ }
.tag.type-inconnu { background-color: #e2e3e5; /* Light gray */ color: #6c757d; /* Dark gray */ border-color: #dae0e5; /* Slightly darker gray */ }

.tag.type-fournisseur, .tag.type-retourfournisseur { background-color: #d0ebff; /* Light cyan */ color: #0a58ca; /* Dark cyan */ border-color: #a5c6f8; /* Slightly darker cyan */ }
.tag.type-annulationcommande, .tag.type-retourclient { background-color: #f8d7da; /* Light red */ color: #721c24; /* Dark red */ border-color: #f5c6cb; /* Slightly darker red */ }
.tag.status-nouvelle { background-color: #cfe2f3; /* Light blue */ color: #084298; /* Dark blue */ border-color: #9fc5e8; /* Slightly darker blue */ }
.tag.status-encours { background-color: #d1e7dd; /* Light green */ color: #0f5132; /* Dark green */ border-color: #badbcc; /* Slightly darker green */ }
.tag.status-terminee { background-color: #d4edda; /* Light green */ color: #155724; /* Dark green */ border-color: #c3e6cb; /* Slightly darker green */ }
.tag.status-annulee { background-color: #f8d7da; /* Light red */ color: #721c24; /* Dark red */ border-color: #f5c6cb; /* Slightly darker red */ }

.titre { font-size: 1.5rem; }
    .titre .id { color: #198754; font-weight: bolder; }
    .titre .createur { color: #198754; font-weight: bolder; }
    .titre .nom-numero { font-weight: bolder; }

#commande-detail .client { }

#commande-detail .produit-card { height: 550px; overflow-y: auto; }
#commande-detail .tab-content { border: 1px solid #dee2e6; border-top: none; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; }
#commande-detail .produit-table { }
    #commande-detail .produit-table img { width: auto; height: 50px; }
    #commande-detail .produit-table th:nth-child(1) { width: 5% !important; }
    #commande-detail .produit-table th:nth-child(2) { width: 30% !important; font-weight: bold; }
    #commande-detail .produit-table th:nth-child(3) { width: 10% !important; }
    #commande-detail .produit-table th:nth-child(4) { width: 15% !important; }
    #commande-detail .produit-table th:nth-child(5) { width: 5% !important; }
    #commande-detail .produit-table th:nth-child(6) { width: 10% !important; }
    #commande-detail .produit-table th:nth-child(7) { width: 10% !important; }
    #commande-detail .produit-table th:nth-child(8) { width: 15% !important; }


    #commande-detail .produit-table td { vertical-align: middle; }
        #commande-detail .produit-table td:nth-child(2) { text-align: left; }
        #commande-detail .produit-table td input[type=text],
        #commande-detail .produit-table td select { font-size: 0.8rem; }
        #commande-detail .produit-table td:nth-child(8) input[type=checkbox] { width: 16px; height: 16px; vertical-align: sub; }
        #commande-detail .produit-table td.actions input[type=text],
        #commande-detail .produit-table td.actions select { width: 100px; display: inline-block; text-align: center; }

#user-table_length { width: 50%; }
#settings-index .dataTables_length { width: 50%; }

.vignette-container img { height: 150px; width: auto; }
.txt-titre { font-size: 1.5rem; }

.validation-summary-errors { color: red; }

.remises-container .remise.title { font-weight: bold; text-align: center; margin-bottom: 15px; }
.update-time { margin-top: -5px; }
.chk-is-remisable { display: block; margin: auto; width: 24px; height: 24px; margin-top: 5px; }

.puht-remise { color: green; }

.body-pd #commande-detail .produit-table td.actions select { width: 50px; }
#commande-detail .nav,
#reception-detail .nav { flex-direction: row; justify-content: start; overflow: initial; }
#reception-detail .produit-card { height: 550px; overflow-y: auto; }

#commande-detail .nav .nav-item .nav-link,
#reception-detail .nav .nav-item .nav-link { font-size: 0.85rem; transition: none; }

.big-checkbox { width: 32px; height: 32px; margin: auto; }

.modal-header { background-color: rgb(28, 148, 113, 0.5); border: none; color: white; }
    .modal-header h5 { font-weight: bold; font-size: 1.5rem; margin: 0; }
    .modal-header .btn-close { color: white; }

.abonnement.actif td { background-color: #198754; color: white; font-weight: bold; }

.user-list .list,
.user-list .detail { min-height: 600px; }



#reception-table { }
    #reception-table th:nth-child(1) { width: 7.5% !important; }
    #reception-table th:nth-child(2) { width: 15% !important; }
    #reception-table th:nth-child(3) { width: 12.5% !important; }
    #reception-table th:nth-child(4) { width: 12.5% !important; }
    #reception-table th:nth-child(5) { width: 10% !important; }
    #reception-table th:nth-child(6) { width: 5% !important; }
    #reception-table th:nth-child(7) { width: 10% !important; }
    #reception-table th:nth-child(8) { width: 12.5% !important; }
    #reception-table th:nth-child(9) { width: 10% !important; }
    #reception-table th:nth-child(10) { width: 5% !important; }

#reception-detail { }
    #reception-detail .produit-table { }
        #reception-detail .produit-table td:nth-child(2) { text-align: left; }
        #reception-detail .produit-table td:nth-child(4) select,
        #reception-detail .produit-table td:nth-child(5) select { text-align: center; }

        #reception-detail .produit-table th:nth-child(1) { width: 10% !important; }
        #reception-detail .produit-table th:nth-child(2) { width: 30% !important; }
        #reception-detail .produit-table th:nth-child(3) { width: 15% !important; }
        #reception-detail .produit-table th:nth-child(4) { width: 15% !important; }
        #reception-detail .produit-table th:nth-child(5) { width: 15% !important; }
        #reception-detail .produit-table th:nth-child(6) { width: 10% !important; }

    #reception-detail .tab-content { border: 1px solid #dee2e6; border-top: none; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; }

.stock-quantite.green { color: green; }
.stock-quantite.red { color: red; }
.stock-search { vertical-align: middle; }

tr.reception td { background-color: lightgreen; }
tr.commande td { background-color: lightsalmon; }
tr.ajoutproduit td { background-color: lightblue; }

.no-tva { color: red; text-decoration: underline; }
