.container {
    /*background-color:  white;*/
    padding: 15px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.navbar_logo {
    max-height: 40px;
}

.img_produits {
    max-height: 40px;
}

.bg_head {
    background-color: #eee;
    font-weight: bold;
}

.bg_blanc {
    background-color: #fff;
}

.max_h_100 {
    max-height: 100px;
}

.format_txt {
    font-style: italic;
}

.format_bold {
    font-weight: bold;
}

.color_red {
    color: red;
}

:root {
    /* --primary: #321fdb; */
    --primary: #72c1ff;
}

a,
a:hover {
    /* color: #321fdb; */
    color: #72c1ff;
}

.bg-primary {
    /* background-color: #321fdb !important; */
    /* background-color: # :root { --primary: #72c1ff } .modal-primary .modal-header { background-color: #72c1ff } !important; */
    background-color: #72c1ff !important;
}

.modal-primary .modal-header {
    /* background-color: #321fdb; */
    background-color: #72c1ff;
}

/** ----- BOUTON - DEBUT ----- **/
.btn-link {
    /* color: #321fdb; */
    color: #72c1ff;
}

.btn-info {
    /* color: #321fdb; */
    color: #fff !important;
}

.btn-primary {
    /* background-color: #321fdb; */
    /* border-color: #321fdb; */
    background-color: #72c1ff;
    border-color: #72c1ff;
}

.btn-primary:hover,.btn-primary:focus, .btn-primary.focus {
    color: #fff;
    /* background-color: #2a1ab9;
    border-color: #2819ae; */
    background-color: #72c1ff;
    border-color: #72c1ff;
  }

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show>.btn-primary.dropdown-toggle {
    /* background-color: #2819ae; */
    /* border-color: #2517a3; */
    background-color: #007CBE;
    border-color: #007CBE;
}

.btn-primary.disabled,
.btn-primary:disabled {
    /* background-color: #321fdb; */
    /* border-color: #321fdb; */
    background-color: #00BCFE;
    border-color: #00BCFE;
}

/** ----- BOUTON - FIN ----- **/

/** ----- DIVERS - DEBUT ----- **/
.badge-info {
    display: none;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    /* background-color: #321fdb; */
    background-color: #72c1ff;
    padding-right: 10px;
}

.page-link {
    /* color: #321fdb; */
    color: #72c1ff;
}

.page-item.active .page-link {
    /* background-color: #321fdb; */
    /* border-color: #321fdb; */
    background-color: #72c1ff;
    border-color: #72c1ff;
}

.modal-primary .modal-content {
  border-color: #414141;
}

/** ----- DIVERS - FIN ----- **/

/** Spécifique app **/
#catalogue>DIV, .catalogue>DIV {
    text-align: center;
    border-radius: 5px;
    /* border: 2px solid #ffffff; */
}

/* Cards produits avec arrière-plan blanc */
.card-produit {
    background-color: #ffffff;
    border: 1px solid #d8dbe0;
    border-radius: 5px;
    overflow: hidden;
    height: 100%;
    margin-bottom: 15px;
}

.card-produit-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.card-produit-link:hover {
    text-decoration: none;
}

.card-produit-img {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.card-produit-img img {
    max-width: 100%;
    height: 95px;
    object-fit: contain;
}

ZZ.catalogue>DIV:hover {
    border: 2px solid #72c1ff;
}

#catalogue IMG, .catalogue IMG {
    max-width: 100%;
}

#catalogue input, .catalogue input {
    padding: 0.375rem 0.2rem;
    text-align: center;
    color: #72c1ff;
    margin: 0 auto;
    width: 50px;
}

.item {
    position: relative;
    border-radius: 5px;
    border: 2px solid #ffffff;
}

.item .overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5px;
    border-radius: 5px;
    background-color: #00ac5c;
    color: #fff;
    width: 80%;
    margin: 0 auto;
}

.item .overlay_top {
    position: absolute;
    left: 0;
    right: 0;
    top: 5px;
    border-radius: 5px;
    background-color: #72c1ff;
    color: #fff;
    width: 80%;
    margin: 0 auto;
}

ZZ.item:hover,
ZZ.item.selected {
    border: 2px solid #00ac5c;
}

.qte {
    width: 50px;
}

.qte2 {
    width: 200px;
}

.margin_detail {
    margin: 0 0 15px 0;
}

.margin_detail>div {
    padding: 0;
}

.table th,
.table td {
    border-top: 0px solid;
}

html:not([dir="rtl"]) .modal-header .close {
    margin: -0.25rem -1rem -0.25rem auto;
}

.modal-header,
.modal-header .close {
    padding: 0.25rem 1rem;
}

ZZ.modal-footer {
    justify-content: flex-start;
}

h1,
.h1 {
    font-size: 1.8rem;
}

h3,
.h3 {
    font-size: 1.25rem;
}

h4,
.h4 {
    font-size: 1rem;
}

.table_qte tbody td {
    text-align: center;
}

.table-responsive {
    display: table;
}

#catalogue IMG, .catalogue IMG {
    height: 95px;
}

.card-produit .item_titre {
    background-color: #72c1ff;
    color: #fff;
    border-radius: 0;
    margin-top: 0;
    padding: 10px 5px;
    width: 100%;
    display: block;
}

.toast {
    left: 50%;
    position: fixed;
    transform: translate(-50%, 0px);
    z-index: 9999;
}

.alertqte {
    color: #FF0000;
    font-size: x-small;
    height: 2px;
}

#divLoading {
    position: fixed;
    top: 20px;
    left: 50%;
}

.navbar {
    text-align: center;
    margin: auto;
}

#menu {
    padding-right: 0;
}

.dec_btn_an,
.dec_btn_pr,
.dec_btn_pb {
    color: black;
    padding: 1px 10px 2px 8px;
    /*border-radius: 10px;*/
    border-radius: 50%;
    text-transform: capitalize;
}

.dec_btn_an {
    background-color: #FF803C;
}

.dec_btn_pr {
    background-color: #f7e229;
}

.dec_btn_pb {
    background-color: #12E7A7;
}

.table-responsive-accueil {
    display: block;
}

@media (max-width: 575.98px) {
    .btn_detail_gauche {
        width: 100%;
        margin-bottom: 15px;
    }
}

/* Pour bloquer l'écran pendant chargement */
#myOverlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

#myOverlay {
    background: black;
    backdrop-filter: blur(4px);
    opacity: .6;
    z-index: 2;
    display: none;
}

#loadingGIF {
    position: absolute;
    top: 20%;
    left: 42%;
    z-index: 3;
    display: none;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.comStation{
    font-weight: bold;
    color: red;
}

button.btn-primary.btnBac[disabled] {
    background-color: #ccc;
    border-color:#777;
    /* Autres styles que vous voulez appliquer */
}

/* FAU - 2025-02-25 - Voile de chargement */
.loadingOverlay-hidden{
    display: none !important;
}

#loadingOverlay-state {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}
#loadingOverlay-spinner {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 10px solid #ddd;
    border-top-color: #72c1ff;
    animation: loading 1s linear infinite;
}
@keyframes loading {
    to {
        transform: rotate(360deg);
    }
}

/* Sidebar avec fond blanc et textes noirs */
.c-sidebar {
    background-color: #ffffff !important;
}

.c-sidebar-brand {
    background-color: #ffffff !important;
    border-bottom: 1px solid #d8dbe0;
}

.c-sidebar-nav-link,
.c-sidebar-nav-dropdown-toggle {
    color: rgb(79, 93, 115) !important;
}

.c-sidebar-nav-link:hover,
.c-sidebar-nav-dropdown-toggle:hover {
    color: #fff !important;
    background: rgb(114, 193, 255) !important;
}

.c-sidebar-nav-link.active {
    color: #72c1ff !important;
    background: rgba(114, 193, 255, 0.2) !important;
}

.c-sidebar-nav-icon {
    color: rgb(79, 93, 115) !important;
}

.c-sidebar-nav-link:hover .c-sidebar-nav-icon,
.c-sidebar-nav-link.active .c-sidebar-nav-icon {
    color: #fff !important;
}

.c-sidebar-minimizer {
    border-right: 1px solid #d8dbe0 !important;
    background-color: #ffffff !important;
    border-top: 1px solid #d8dbe0 !important;
    color: #000000 !important;
}

.c-sidebar-minimizer:hover {
    background-color: #f0f0f0 !important;
}

.text-muted {
    color: rgb(79, 93, 115) !important
}

.c-footer {
    border-top: none;
}

/* Tooltips CSS pour la sidebar minimisée */
.c-sidebar-minimized .c-sidebar-nav-item {
    position: relative;
}

.c-sidebar-minimized .c-sidebar-nav-item:hover .c-sidebar-nav-link[data-tooltip]::after {
    content: attr(data-tooltip);
    position: fixed;
    left: calc(var(--cui-sidebar-narrow-width, 56px) + 10px);
    padding: 8px 12px;
    background-color: #2c2c34;
    color: #fff;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 1050;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.c-sidebar-minimized .c-sidebar-nav-item:hover .c-sidebar-nav-link[data-tooltip]::before {
    content: '';
    position: fixed;
    left: calc(var(--cui-sidebar-narrow-width, 56px) + 5px);
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-right-color: #2c2c34;
    z-index: 1050;
    pointer-events: none;
}

/* Styles pour la modale de sélection de quai */
#modalEmbTra .quai-item {
    cursor: pointer;
    transition: all 0.2s ease;
}

#modalEmbTra .quai-item:hover {
    background-color: #72c1ff;
    color: white;
}

#modalEmbTra .quai-item h5 {
    font-size: 1.1rem;
    margin: 0;
}
