/* ***** IMPORTS ***** */
@import "country-marketplace-colors.css";

/* Couleurs personnalisées */
:root {
    --red: #dc5a5a;
    --orange: #e3b058;
    --green: #38a238;
    --grey: #f0f0f0;
    --dark-grey: #d3d3d3;
    --blue: #489cf5;
    --yellow: #f5d548;

    --box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;


    --font-title: 'Candara Light';
}

/* Styles généraux */
body #nav {
    padding: unset;
}

.pointer {
    cursor: pointer;
}

.help {
    cursor: help !important;
}

.flex {
    display: flex;
}

.flex-start {
    display: flex;
    justify-content: flex-start;
}

.flex-center {
    display: flex;
    justify-content: center;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.flex-space-between {
    display: flex;
    justify-content: space-between;
}

.flex-space-evenly {
    display: flex;
    justify-content: space-evenly;
}

.flex-space-around {
    display: flex;
    justify-content: space-around;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-align-center {
    align-items: center;
}

.w30 {
    width: 30%;
}

w50 {
    width: 50%;
}

.w100 {
    width: 100%;
}

.w100px {
    width: 100px;

}

.inline-block {
    display: inline-block;
}

.p2 {
    padding: 2px;
}

.p5 {
    padding: 5px;
}

.m1 {
    margin: 1px;
}

.m2 {
    margin: 2px;
}

.m10 {
    margin: 10px;
}

.badge {
    text-wrap: nowrap;
    padding: 2px 5px;
    border-radius: 2px;
}

.beautiful-border {
    margin: 20px;
    padding: 10px 20px;
    box-shadow: var(--box-shadow);
}

.dotted-border {
    border: 1px dotted var(--dark-grey);
    padding: 10px;
    margin: 10px;
}

/* Styles pour les toasts */
.toast {
    width: 50%;
    margin: 0 auto;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.success {
    border: solid 1px var(--green);
}

.warning {
    border: solid 1px var(--orange);
}

.danger {
    border: solid 1px var(--red);
}

.success-color {
    color: var(--green);
}

.warning-color {
    color: var(--orange);
}

.red, .red-color, .danger-color {
    color: var(--red) !important;
}

.blue-color {
    color: var(--blue);
}

.black-color {
    color: black;
}

.white-color {
    color: white;
}

.purple-color {
    color: purple;
}


/* Styles de fond */
.bg-green {
    background-color: var(--green);
}

.bg-red {
    background-color: var(--red);
}

.bg-orange {
    background-color: var(--orange);
}

.bg-grey {
    background-color: var(--dark-grey);

}

.bg-blue {
    background-color: var(--blue);
    color: white;
}

.bg-yellow {
    background-color: var(--yellow);
    color: white;
}

.bg-black {
    background-color: black;
    color: white;
}


.btn-danger, .btn-red {
    background-color: var(--red);
    color: white;

}

.btn-secondary {
    background-color: var(--grey);
    color: black;

}

.btn-warning {
    background-color: var(--orange);
    color: white;

}

.btn:hover {
    filter: brightness(0.85);

}

.btn-small {
    padding: 5px 10px;
    font-size: 12px;
}

.sub-menu {

    margin: 10px 5px;
    text-align: center;
}

.sub-menu .sub-menu-item {

    margin: 0px 15px;
    padding: 2px 5px;
    text-decoration: none;


}

.custom-badge {
    display: inline-block;
    padding: 2px 5px;
    border-radius: 2px;
    margin: 2px;
}

.custom-badge::first-letter {
    text-transform: uppercase;
}


/* styles pour le loader */
.loader {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 7777;
}

/* Styles de visibilité */
.hide {
    display: none;
}

/* Styles des infoBulles */
.infoBulle {
    color: white !important;
    border: 1px solid white !important;
    border-radius: 5px;
    padding: 5px;
}

.danger-bg-color {
    background-color: #fddbda !important;
}

/* Styles de texte */
.bold, .strong {
    font-weight: bold;
}

.goToBottom {
    border-radius: 50px;
    padding: 10px;
    position: fixed;
    bottom: 10px;
    right: 10px;
    box-shadow: var(--box-shadow);
    cursor: pointer;
}

/* Styles pour les carrés */
span.square {
    width: 10px;
    height: 10px;
    display: inline-block;
    margin-right: 5px;
}

span.circle {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

/* Styles pour les inputs */
div.input {
    display: inline-block;
    margin-right: 10px;
}

.input label {
    margin-right: 10px;
    vertical-align: top;
}

.input select {
    padding: 2px;
}

/* Styles des tooltips */
.tooltiptext {
    visibility: hidden;
    width: 120px;
    color: black;
    background-color: white;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    font-size: 10px;
    font-weight: lighter;
    border: 1px solid black;
    position: absolute; /* Positionne le tooltip */
    z-index: 10;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

/* Styles pour les données tabulaires */
.odd {
    background-color: #efeff1 !important;
}

.dataTables_wrapper {
    margin-top: 20px;
    padding: 2px;
}

.dataTables_wrapper img {
    max-width: 64px;
    max-height: 64px;
    /*border: 1px solid lightgray;*/
    border-radius: 3px;
}

.dataTables_wrapper .even.sellByPonera {
    background-color: #DDFFDD !important;
}

.dataTables_wrapper .odd.sellByPonera {
    background-color: #BBEEBB !important;
}

.dataTables_wrapper .even.sellByPoneraWithoutStock {
    background-color: #DDFFDD !important;
}

.dataTables_wrapper .odd.sellByPoneraWithoutStock {
    background-color: #BFF !important;
}

.dataTables_wrapper .even.knowByPonera {
    background-color: #DDFFDD !important;
}

.dataTables_wrapper .odd.knowByPonera {
    background-color: #FFB !important;
}

.dataTables_wrapper .subtitle {
    background-color: #FFB !important;
}

.dataTables_wrapper .right {
    text-align: right;
}

.dataTables_wrapper .left {
    text-align: left;
}

.dataTables_wrapper td.leftBorder {
    border-left: 1px solid black;
}

.dataTables_wrapper td.rightBorder {
    border-right: 1px solid black;
}


div#product_processing {
    position: fixed !important;
}

/* Styles pour les liens */
span.likeALink {
    color: blue;
    text-decoration: underline;
}

a.removeDecoration {
    text-decoration: none;
    color: inherit;
}

/* Styles pour les éléments spécifiques */
#successAcheteur, #loader {
    display: none;
    position: fixed;
    top: 35%;
    left: 48%;
    z-index: 7777;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0);
    vertical-align: center;
    zoom: 3;
}

.orderClickActionActive {
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-color: red;
}

.linkWithoutDecoration {
    text-decoration: none !important;
}

.see-pdf {
    display: inline-block;
    padding: 2px 12px;
    color: #fff;
    background: #16a085;
    border: none;
    height: 19px;
    margin-left: 5px;
    border-radius: 16px;
    transition: all .2s ease;
}

.see-pdf:hover {
    background: #1abc9c;
    cursor: pointer;
}

.card {
    box-shadow: var(--box-shadow);
    padding: 0 10px;
    margin: 10px 20px;
    border-radius: 5px;

}

.card-header {
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid #181818;
}

.text-center {
    text-align: center;
}
