﻿
#container {
    vertical-align: top;
    text-align: left;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    background: url(polina.jpg) no-repeat;
    background-size: cover;
}

#videoElement {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    background: url(polina.jpg) no-repeat;
    background-size: cover;
}

#controlsElement {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    background: url(polina.jpg) no-repeat;
    background-size: cover;
}

#controlsElement2 {
    position: center;
    right: 0;
    bottom: 0;
    left: 0.5px;
    background: url(polina.jpg) no-repeat;
    background-size: cover;
}

#fauxfooter {
    text-align: center;
    background: #2d2e3e;
    position: fixed;
    bottom: 0;
    width: 100%;
    padding-top: 2px;
    height: 100%;
    overflow-y: scroll;
}

#fauxfooter2 {
    text-align: center;
    background: #ffffff;
    position: fixed;
    bottom: 0;
    width: 100%;
    padding-top: 2px;
    height: 100%;
}

#fauxfooter3 {
    text-align: center;
    background: #ffffff;
    position: fixed;
    bottom: 0;
    width: 100%;
    padding-top: 2px;
    height: 100%;
}

#notifalerte {
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    padding-top: 2px;
    height: 100%;
}

footer {
    text-align: center;
    background: #2d2e3e;
    position: fixed;
    bottom: 0;
    width: 100%;
    padding-top: 2px;
    height: 40%;
}

footer {
    text-align: center;
    background: #2d2e3e;
    position: fixed;
    bottom: 0;
    width: 100%;
    padding-top: 2px;
    height: 50%;
}

video {
    background: black url(img/loader.gif) center center no-repeat;
}


/* The close button */
.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

    /* When moving the mouse over the close button */
    .closebtn:hover {
        color: black;
    }

.scrollable-panel {
    height: 300px; /* Hauteur fixe */
    overflow-y: auto; /* Activer la barre de défilement verticale en cas de dépassement de la hauteur */
}

.resultRowHeader {
    background-color: #2d2e3e;
    line-height: 20px;
    margin: 0px;
    width: 100%;
    text-align: center;
    color: #FFFFFF;
    font-size: 12px;
}

.headerFixed {
    position: absolute;
    background-color: #2d2e3e;
    line-height: 20px;
    margin: 0px;
    text-align: center;
    color: #FFFFFF;
    font-size: 12px;
}

.resultRowHeaderFixed {
    background-color: #5F9EA0;
    line-height: 20px;
    margin: 0px;
    width: 100%;
    text-align: center;
    color: #FFFFFF;
    font-size: 12px;
    position: relative;
    top: expression(this.parentNode.parentNode.parentNode.scrollTop-1);
}

.resultRowFooterFixed {
    border: black 0px none;
    background-color: #4682B4;
    border-bottom: #8888AA 1px solid;
    height: 22px;
    vertical-align: central;
    font-size: 11px;
    color: #FFFFFF;
    position: relative;
    bottom: expression(getScrollBottom(this.parentNode.parentNode.parentNode.parentNode));
}

.resultRowHeader2 {
    background-color: #5F9EA0;
    line-height: 20px;
    margin: 0px;
    width: 100%;
    text-align: center;
    color: #FFFFFF;
    font-size: 12px;
}

    .resultRowHeader2 a {
        text-align: center;
        color: #FFFFFF;
        text-decoration: none;
    }

.resultRowOddCenter2 td:hover {
    background-color: black;
    color: white;
}

.resultRowFooter2 td {
    border: 1px solid #8888AA;
    height: 18px;
    background-color: #99aa88;
    font-size: 11px;
    color: white;
    text-align: center;
}

.resultRowOddCenter2 td {
    border: black 0px none;
    background-color: #bfcbd6;
    border-bottom: #8888AA 1px solid;
    height: 18px;
    font-size: 11px;
}

.suiviProdResultRow2 {
    border: black 0px none;
    background-color: #2d2e3e;
    border-bottom: #8888AA 1px solid;
    height: 22px;
    vertical-align: central;
    font-size: 12px;
    color: #FFFFFF;
}

.resultRowEvenCenter td {
    border: black 0px none;
    border-bottom: #8888AA 1px solid;
    height: 18px;
    font-size: 11px;
}

.resultRowFooter td {
    border: black 0px none;
    background-color: #4682B4;
    border-bottom: #8888AA 1px solid;
    height: 22px;
    vertical-align: central;
    font-size: 14px;
    color: #FFFFFF;
}

.resultRowHeader a {
    text-align: center;
    color: #FFFFFF;
}

.resultRowEven td {
    border: black 0px none;
    border-bottom: #8888AA 1px solid;
    height: 18px;
    font-size: 11px;
    text-align: left;
}

.resultRowOdd td {
    border: black 0px none;
    background-color: #E4E4E4;
    border-bottom: #8888AA 1px solid;
    height: 18px;
    font-size: 11px;
    text-align: left;
}

.resultRowEdit td {
    border: black 0px none;
    background-color: Yellow;
    border-bottom: #8888AA 1px solid;
    height: 18px;
    font-size: 11px;
    text-align: left;
}

.resultRowDetailEven td {
    border: black 0px none;
    border-bottom: #8888AA 1px solid;
    height: 18px;
    font-size: 11px;
}

.resultRowDetailOdd td {
    border: black 0px none;
    background-color: #E4E4E4;
    border-bottom: #8888AA 1px solid;
    height: 18px;
    font-size: 11px;
}

.resultRowEvenCenter td {
    border: black 0px none;
    border-bottom: #8888AA 1px solid;
    height: 18px;
    font-size: 11px;
}

.resultRowEvenCenterGreen td {
    border: black 0px none;
    background-color: #33CC66;
    border-bottom: #8888AA 1px solid;
    height: 18px;
    font-size: 11px;
}

.resultRowOddCenter td {
    border: black 0px none;
    background-color: #E4E4E4;
    border-bottom: #8888AA 1px solid;
    height: 18px;
    font-size: 11px;
}


.resultRowOddCenterGreen td {
    border: black 0px none;
    background-color: #339966;
    border-bottom: #8888AA 1px solid;
    height: 18px;
    font-size: 11px;
}

.txtBoxBg {
    background-image: url("../images/qrcodeanimation.gif");
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    border-color: transparent;
}

.txtBoxBgEcart {
    background-image: url("../images/ecartdetecteanimation.gif");
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    border-color: transparent;
}


.btnnumeric {
    width: 25%;
    height: 60px;
    margin: 0;
    float: left;
    border-top: 1px solid #ececec;
    border-left: 1px solid #ececec;
    border-bottom: transparent;
    border-right: transparent;
    color: #2d2e3e;
    font-family: Roboto;
    font-size: 18px;
    background: white;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.virgule {
    width: 50%;
    height: 60px;
    margin: 0;
    float: left;
    border-top: 1px solid #ececec;
    border-left: 1px solid #ececec;
    border-bottom: transparent;
    border-right: transparent;
    color: #2d2e3e;
    font-family: Roboto;
    font-size: 18px;
    background: white;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.zero {
    width: 75%;
    height: 60px;
    margin: 0;
    float: left;
    border-top: 1px solid #ececec;
    border-left: 1px solid #ececec;
    border-bottom: transparent;
    border-right: transparent;
    color: #2d2e3e;
    font-family: Roboto;
    font-size: 18px;
    background: white;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.validation {
    width: 25%;
    height: 60px;
    margin: 0;
    float: left;
    border-top: 1px solid #ececec;
    border-left: 1px solid #ececec;
    border-bottom: transparent;
    border-right: transparent;
    color: #FFFFFF;
    font-family: Roboto;
    font-size: 18px;
    background: #4CAF50;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.erp {
    width: 25%;
    height: 60px;
    margin: 0;
    float: left;
    border-top: 1px solid #ececec;
    border-left: 1px solid #ececec;
    border-bottom: transparent;
    border-right: transparent;
    color: #FFFFFF;
    font-family: Roboto;
    font-size: 18px;
    background: #2d2e3e;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

#calculator {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    background: white;
    margin: 0 auto;
}

    #calculator .screen {
        min-height: 40px;
        background: white;
        box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
        position: relative;
        z-index: 10;
        padding: 15px;
    }

        #calculator .screen p {
            margin: 0;
            text-align: right;
            word-break: break-all;
        }

            #calculator .screen p#history {
                color: #a3adb6;
                font-size: 14px;
                margin-bottom: 10px;
            }

                #calculator .screen p#history span {
                    margin: 0 5px;
                    color: #2ad5dc;
                    font-weight: 700;
                }

    #calculator .buttons {
        overflow: hidden;
    }

        #calculator .buttons button {
            width: 25%;
            height: 60px;
            margin: 0;
            float: left;
            border-top: 1px solid #ececec;
            border-left: 1px solid #ececec;
            border-bottom: transparent;
            border-right: transparent;
            color: #2d2e3e;
            font-family: Roboto;
            font-size: 18px;
            background: white;
            cursor: pointer;
            -webkit-transition: all 0.3s;
            transition: all 0.3s;
        }

            #calculator .buttons button:hover,
            #calculator .buttons button.down,
            #calculator .buttons button:active,
            #calculator .buttons button:focus {
                background: #e6e6e6;
                outline: none;
            }

            #calculator .buttons button.double {
                width: 50%;
            }

            #calculator .buttons button.grey {
                background: #f4f9ff;
            }

                #calculator .buttons button.grey:hover,
                #calculator .buttons button.grey.down,
                #calculator .buttons button.grey:active,
                #calculator .buttons button.grey:focus {
                    background: #c1ddff;
                }

            #calculator .buttons button.blue {
                background: #2d2e3e;
                color: #ffffff;
            }

                #calculator .buttons button.blue:hover,
                #calculator .buttons button.blue.down,
                #calculator .buttons button.blue:active,
                #calculator .buttons button.blue:focus {
                    background: #1a2632;
                }

            #calculator .buttons button.green {
                background: #2ad5dc;
                color: #ffffff;
            }

                #calculator .buttons button.green:hover,
                #calculator .buttons button.green.down,
                #calculator .buttons button.green:active,
                #calculator .buttons button.green:focus {
                    background: #34b3b4;
                }

/* Conteneur de la checkbox pour gérer l'alignement */
.styled-checkbox {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
}

    /* Style de la case à cocher */
    .styled-checkbox input[type="checkbox"] {
        width: 20px;
        height: 20px;
        appearance: none;
        -webkit-appearance: none;
        background-color: #fff;
        border: 2px solid green;
        border-radius: 5px;
        cursor: pointer;
        position: relative;
        vertical-align: middle;
        margin-right: 10px;
    }

        /* Coche verte lorsque la case est cochée */
        .styled-checkbox input[type="checkbox"]:checked::before {
            content: "";
            position: absolute;
            top: 3px;
            left: 3px;
            width: 12px;
            height: 12px;
            background-color: green;
            border-radius: 2px;
        }

    /* Style pour le texte de la case à cocher */
    .styled-checkbox label {
        font-size: 16px;
        font-weight: bold;
        color: #2a9d8f; /* Vert turquoise pour harmoniser avec la case */
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
        margin-top: 5px;
        margin-left: 30px; /* Alignement avec la case à cocher */
        font-family: Arial, sans-serif;
    }


.form_input {
    background: #f9fafc;
    border: 1px solid #bcd9e0; /* gris-bleuté doux */
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 13px;
    color: #2d2e3e;
    font-family: 'Roboto', Arial, sans-serif;
    transition: all 0.25s ease-in-out;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

    /* survol / focus → turquoise lumineux */
    .form_input:focus,
    .form_input:hover {
        border-color: #2ad5dc; /* turquoise principal */
        box-shadow: 0 0 5px rgba(42, 213, 220, 0.4);
        background: #ffffff;
        outline: none;
    }

    /* champ obligatoire (bord gauche turquoise clair) */
    .form_input.required {
        border-left: 3px solid #2ad5dc;
    }

    /* valide → turquoise foncé */
    .form_input:valid {
        border-color: #1fb5bb;
    }

    /* invalide → rouge clair, discret */
    .form_input:invalid {
        border-color: #e57373;
    }
/* --- Style compact et harmonisé pour DropDownList (SELECT) --- */
select.form_input {
    appearance: none; /* supprime le style natif du navigateur */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #f9fafc;
    border: 1px solid #bcd9e0;
    border-radius: 6px;
    /* marges internes réduites */
    padding: 6px 28px 6px 4px; /* plus serré à gauche */
    font-size: 13px;
    color: #2d2e3e;
    font-family: 'Roboto', Arial, sans-serif;
    transition: all 0.25s ease-in-out;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
    /* flèche turquoise minimaliste à droite */
    background-image: url("data:image/svg+xml;utf8,<svg fill='%232ad5dc' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 14px 14px;
    cursor: pointer;
    text-indent: 0; /* le texte commence vraiment à gauche */
}

    /* Effet focus ou survol */
    select.form_input:focus,
    select.form_input:hover {
        border-color: #2ad5dc;
        box-shadow: 0 0 5px rgba(42, 213, 220, 0.4);
        background-color: #ffffff;
        outline: none;
    }

    /* Champ requis (barre turquoise à gauche) */
    select.form_input.required {
        border-left: 3px solid #2ad5dc;
        padding-left: 2px; /* on garde le texte à gauche malgré la bordure */
    }

    /* État désactivé */
    select.form_input:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

    /* Cache la flèche par défaut sur IE */
    select.form_input::-ms-expand {
        display: none;
    }
/* Style du bouton texte (btnPlateau) */
.btnPlateauFull {
    width: 100%;
    height: 36px;
    background-color: #2ad5dc;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s ease-in-out;
}

    .btnPlateauFull:hover {
        background-color: #25bfc6;
    }

/* Style du bouton image (BtnGenererCsv) */
input[type="image"].btnCsvFull {
    width: 100%; /* même largeur que le bouton texte */
    height: 36px; /* même hauteur */
    background-color: #2ad5dc; /* même couleur */
    border: none;
    border-radius: 6px;
    cursor: pointer;
    object-fit: contain; /* garde les proportions de l’image */
    padding: 4px; /* espace autour du logo */
    box-sizing: border-box; /* padding inclus dans la hauteur */
    transition: background-color 0.2s ease-in-out;
}

    input[type="image"].btnCsvFull:hover {
        background-color: #25bfc6;
    }
