.wg-card {
    background: #f2f4f7;
    border: 2px solid #e8ebed;
    padding-left: 2px;
    padding-right: 2px;
    margin: 4px;
    cursor: pointer;
    max-width: 15%;
    transition: all 0.3s ease;
    -moz-border-radius: 4px;
    border-radius: 4px;
    float: left;
    opacity: 0.5;
}
.wg-card.selected {
    padding-left: 4px;
    padding-right: 4px;
    background: #e5f5e4;
    border-color: #d3f6fd;
    //box-shadow: 0 2px 6px 0 rgb(218 218 253 / 65%), 0 2px 6px 0 rgb(206 206 238 / 54%);
    border-color: #40b3ff;
    border-width: 2px;
    background: rgba(64,179,255,0.1);
    opacity: 1;
}

/* Style du spinner */
.spinner {
    display: inline-block;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: #767676;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

/* Animation du spinner */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Désactivation du bouton */
button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}
.button-disabled {
    opacity: 0.6; /* Opacité réduite pour un effet visuel de désactivation */
    pointer-events: none; /* Désactivation des événements de souris et de toucher */
    cursor: not-allowed; /* Curseur personnalisé pour indiquer que le bouton est désactivé */
}
.line::before,
.line::after {
    display: table;
    content: " ";
}

.line::after {
    clear: both;
}

.line {
    *zoom: 1;
    display: flex;
    flex-wrap: wrap;
    height: auto;
}

.line:before,
.line:after {
    display: table;
    line-height: 0;
    content: "";
}

.line:after {
    clear: both;
}

.line {
   /* margin-left: -15px;
    margin-right: -15px;*/
    font-size: 0;
    letter-spacing: -0.31em;
    word-spacing: -0.43em;
    height: auto;
}

.line [class^="ln-"] {
    display: inline-block;
    vertical-align: top;
    font-size: 16px;
    letter-spacing: normal;
    word-spacing: normal;
  /* padding-left: 15px;
    padding-right: 15px;*/
    box-sizing: border-box;
}

@media (min-width: 576px) {
    .line-sm {
        font-size: 0;
        letter-spacing: -0.31em;
        word-spacing: -0.43em;
    }

    .line-sm [class^="ln-"] {
        display: inline-block;
        vertical-align: top;
        font-size: 16px;
        letter-spacing: normal;
        word-spacing: normal;
        box-sizing: border-box;
    }
}

@media (min-width: 768px) {
    .line-md {
        font-size: 0;
        letter-spacing: -0.31em;
        word-spacing: -0.43em;
    }

    .line-md [class^="ln-"] {
        display: inline-block;
        vertical-align: top;
        font-size: 16px;
        letter-spacing: normal;
        word-spacing: normal;
        box-sizing: border-box;
    }
}

@media (min-width: 992px) {
    .line-lg {
        font-size: 0;
        letter-spacing: -0.31em;
        word-spacing: -0.43em;
    }

    .line-lg [class^="ln-"] {
        display: inline-block;
        vertical-align: top;
        font-size: 16px;
        letter-spacing: normal;
        word-spacing: normal;
        box-sizing: border-box;
    }
}

@media (min-width: 1200px) {
    .line-xl {
        font-size: 0;
        letter-spacing: -0.31em;
        word-spacing: -0.43em;
    }

    .line-xl [class^="ln-"] {
        display: inline-block;
        vertical-align: top;
        font-size: 16px;
        letter-spacing: normal;
        word-spacing: normal;
        box-sizing: border-box;
    }
}

.ln-1 {
    width: 8.33333%;
}

.ln-2 {
    width: 16.66667%;
}

.ln-3 {
    width: 25%;
}

.ln-4 {
    width: 33.33333%;
}

.ln-5 {
    width: 41.66667%;
}

.ln-6 {
    width: 50%;
}

.ln-7 {
    width: 58.33333%;
}

.ln-8 {
    width: 66.66667%;
}

.ln-9 {
    width: 75%;
}

.ln-10 {
    width: 83.33333%;
}

.ln-11 {
    width: 91.66667%;
}

.ln-12 {
    flex-basis: 100%;
    max-width: 100%;
}


.portainer {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.ln-1 {
    width: calc(100% / 12);
}

.ln-2 {
    width: calc(100% / 6);
}

.ln-3 {
    width: calc(100% / 4);
}

.ln-4 {
    width: calc(100% / 3);
}

.ln-6 {
    width: calc(50%);
}

.ln-8 {
    width: calc(66.67%);
}

.ln-9 {
    width: calc(75%);
}

.ln-10 {
    width: calc(83.33%);
}

.ln-12 {
    width: 100%;
}

@media (max-width: 767px) {
    .ln-sm-1 {
        width: calc(100% / 12);
    }

    .ln-sm-2 {
        width: calc(100% / 6);
    }

    .ln-sm-3 {
        width: calc(100% / 4);
    }

    .ln-sm-4 {
        width: calc(100% / 3);
    }

    .ln-sm-6 {
        width: calc(50%);
    }

    .ln-sm-8 {
        width: calc(66.67%);
    }

    .ln-sm-9 {
        width: calc(75%);
    }

    .ln-sm-10 {
        width: calc(83.33%);
    }

    .ln-sm-12 {
        width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .ln-md-1 {
        width: calc(100% / 12);
    }

    .ln-md-2 {
        width: calc(100% / 6);
    }

    .ln-md-3 {
        width: calc(100% / 4);
    }

    .ln-md-4 {
        width: calc(100% / 3);
    }

    .ln-md-6 {
        width: calc(50%);
    }

    .ln-md-8 {
        width: calc(66.67%);
    }

    .ln-md-9 {
        width: calc(75%);
    }

    .ln-md-10 {
        width: calc(83.33%);
    }

    .ln-md-12 {
        width: 100%;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .ln-lg-1 {
        width: calc(100% / 12);
    }

    .ln-lg-2 {
        width: calc(100% / 6);
    }

    .ln-lg-3 {
        width: calc(100% / 4);
    }

    .ln-lg-4 {
        width: calc(100% / 3);
    }

    .ln-lg-6 {
        width: calc(50%);
    }

    .ln-lg-8 {
        width: calc(66.67%);
    }

    .ln-lg-9 {
        width: calc(75%);
    }

    .ln-lg-10 {
        width: calc(83.33%);
    }

    .ln-lg-12 {
        width: 100%;
    }
}

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .ln-xl-1 {
        width: calc(100% / 12);
    }

    .ln-xl-2 {
        width: calc(2 * (100% / 12));
    }

    .ln-xl-3 {
        width: calc(3 * (100% / 12));
    }

    .ln-xl-4 {
        width: calc(4 * (100% / 12));
    }

    .ln-xl-5 {
        width: calc(5 * (100% / 12));
    }

    .ln-xl-6 {
        width: calc(6 * (100% / 12));
    }

    .ln-xl-7 {
        width: calc(7 * (100% / 12));
    }

    .ln-xl-8 {
        width: calc(8 * (100% / 12));
    }

    .ln-xl-9 {
        width: calc(9 * (100% / 12));
    }

    .ln-xl-10 {
        width: calc(10 * (100% / 12));
    }

    .ln-xl-11 {
        width: calc(11 * (100% / 12));
    }

    .ln-xl-12 {
        width: 100%;
    }
}

.button {
    background: #07387a;
    color: #fff;
    padding: 0.375rem 0.75rem;;
    font-size: 1rem;
    border-radius: 0.3rem;
}

.progress-bar {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background-color: #007bff;
    transition: width .6s ease;
  }

.wg-dropdown {
    position: absolute;
    display: inline-block;

}
.wg-dropdown-btn {
    background-color: transparent;
    color: #dbdbdb;
    padding: 12px;
    font-weight: bolder;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transform: rotate(90deg);
}
.wg-dropdown-content {
    display: none;
    position: absolute;
    z-index: 1;
    min-width: 150px;
    background: #fff;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: 0.3rem;
}
.wg-dropdown-content a, .wg-dropdown-content a {
    color: black;
    padding: 8px 12px;
    text-decoration: none;
    display: block;
}
.wg-dropdown:hover .wg-dropdown-content {
    display: block;
    z-index: 200000000;
    opacity: 1;
}


/* Textbox 315 */
.textbox {
    position: relative;
    left: 0px;
    opacity: 1;
    margin-bottom: 15px;
}
.textbox2 > input {
    width: 100%;

    padding-left: 12px;
    padding-right: 12px;
    font-family: inherit; /* Body */
    font-size: 14px;
    background: #F3F4F6FF !important; /* neutral-200 */
    border-radius: 6px !important; /* border-m */
    border-width: 0px !important;
    height: 59px;
    padding-top: 38px !important;
    padding-bottom: 15px;
}

.textbox > input {
    padding-left: 12px;
    padding-right: 12px;
    font-family: inherit;
    font-size: 14px;
    background: #F3F4F6FF !important;
    border-radius: 6px !important;
    border-width: 0px !important;
    outline: none !important;
    height: 29px;
    padding-top: 38px !important;
    padding-bottom: 9px;
    width: calc(100% - 29px);
}



.textbox .label {
    font-size: 14px;
    line-height: 22px;
    text-align: start;
    display: block;
    position: absolute;
    padding-top: 10px;
    padding-left: 11px;
    font-weight: 500;
    color: #000;
    transition: all .6s ease;
}
/* hover */
.textbox input:hover {
    color: #BCC1CAFF; /* neutral-400 */
    background: #F3F4F6FF; /* neutral-200 */
}
/* focused */
.textbox >input:focus {
    color: #BCC1CAFF; /* neutral-400 */
    background: #FFFFFFFF; /* white */

}



.textbox input:focus + .textbox + .label {
    color: red !important;
}


/* disabled */
.textbox input:disabled {
    color: #BCC1CAFF; /* neutral-400 */
    background: #F3F4F6FF; /* neutral-200 */
}
.textbox :disabled + .icon, .textbox :disabled + .icon + .icon {
    fill: #171A1FFF; /* neutral-900 */
}

/* Alert section */
.wg-alert>.start-icon {
    margin-right: 0;
    min-width: 20px;
    text-align: center;
}

.wg-alert>.start-icon {
    margin-right: 5px;
}

.greencross
{
    font-size:18px;
    color: #25ff0b;
    text-shadow: none;
}

.wg-alert-simple.alert-success
{
    border: 0px solid rgba(36, 241, 6, 0.46);
    background-color: rgba(7, 149, 66, 0.12156862745098039);
    box-shadow: 0px 0px 2px #259c08;
    color: #0ad406;
    transition:0.5s;
    cursor:pointer;
}

.wg-alert-success {
    color: #155724;
    background-color: #d4edda !important;
    border-color: #c3e6cb;
}

.wg-alert-success:hover{
    background-color: rgba(7, 149, 66, 0.35);
    transition:0.5s;
}
.wg-alert-simple.alert-info
{
    border: 0px solid rgba(6, 44, 241, 0.46);
    background-color: rgba(7, 73, 149, 0.12156862745098039);
    box-shadow: 0px 0px 2px #0396ff;
    color: #0396ff;
    transition:0.5s;
    cursor:pointer;
}

.wg-alert-info
{
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.blue-cross
{
    font-size: 18px;
    color: #0bd2ff;
    text-shadow: none;
}

.wg-alert-simple.wg-alert-warning
{
    border: 0px solid rgba(241, 142, 6, 0.81);
    background-color: rgba(220, 128, 1, 0.16);
    box-shadow: 0px 0px 2px #ffb103;
    color: #ffb103;
    transition:0.5s;
    cursor:pointer;
}

.wg-warning
{
    font-size: 18px;
    color: #ffb40b;
    text-shadow: none;
}

.wg-alert-danger {
    color: #721c24;
    background-color: #f8d7da !important;
    border-color: #f5c6cb;
}

.wg-alert-danger hr {
    border-top-color: #f1b0b7;
}
.wg-alert-simple.wg-alert-danger
{
    border: 0px solid rgba(241, 6, 6, 0.81);
    background-color: rgba(220, 17, 1, 0.16);
    box-shadow: 0px 0px 2px #ff0303;
    color: #ff0303;
    transition:0.5s;
    cursor:pointer;
}



.wg-danger
{
    font-size: 18px;
    color: #ff0303;
    text-shadow: none;
}

.wg-alert-simple {
    padding-top: 8px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 8px;
    position: relative;
    border-radius: 1px;
    -webkit-animation: blink-1 15s infinite alternate-reverse;
    animation: blink-1 15s infinite alternate-reverse;
}
.wg-alert-simple > button{
    padding: 10px;
    background-color: transparent!important;
    background:transparent!important;
    border-width: 0px !important;
    cursor: pointer;;
    float: right;
    padding: 4px!important;
    color: #ddd !important;
}
.wg-alert-simple.wg-alert-primary
{
    border: 0px solid rgba(6, 241, 226, 0.81);
    background-color: rgba(1, 204, 220, 0.16);
    box-shadow: 0px 0px 2px #03fff5;
    color: #03d0ff;
    transition:0.5s;
    cursor:pointer;
}

.wg-alert-primary:hover{
    background-color: rgba(1, 204, 220, 0.33);
    transition:0.5s;
}

.wg-alertprimary
{
    font-size: 18px;
    color: #03d0ff;
    text-shadow: none;
}

.square_box {
    position: absolute;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    border-top-left-radius: 45px;
    opacity: 0.302;
}

.square_box.box_three {
    background-image: -moz-linear-gradient(-90deg, #290a59 0%, #3d57f4 100%);
    background-image: -webkit-linear-gradient(-90deg, #290a59 0%, #3d57f4 100%);
    background-image: -ms-linear-gradient(-90deg, #290a59 0%, #3d57f4 100%);
    opacity: 0.059;
    left: -80px;
    top: -60px;
    width: 500px;
    height: 500px;
    border-radius: 45px;
}

.square_box.box_four {
    background-image: -moz-linear-gradient(-90deg, #290a59 0%, #3d57f4 100%);
    background-image: -webkit-linear-gradient(-90deg, #290a59 0%, #3d57f4 100%);
    background-image: -ms-linear-gradient(-90deg, #290a59 0%, #3d57f4 100%);
    opacity: 0.059;
    left: 150px;
    top: -25px;
    width: 550px;
    height: 550px;
    border-radius: 45px;
}

.wg-alert:before {
    content: '';
    position: absolute;
    width: 0;
    height: calc(100% - 44px);
    border-left: 1px solid;
    border-right: 2px solid;
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
    left: 0;
    top: 50%;
    transform: translate(0,-50%);
    height: 20px;
}

.fa-times
{
    -webkit-animation: blink-1 2s infinite both;
    animation: blink-1 2s infinite both;
}


/**
 * ----------------------------------------
 * animation blink-1
 * ----------------------------------------
 */
@-webkit-keyframes blink-1 {
    0%,
    50%,
    100% {
        opacity: 1;
    }
    25%,
    75% {
        opacity: 0;
    }
}
@keyframes blink-1 {
    0%,
    50%,
    100% {
        opacity: 1;
    }
    25%,
    75% {
        opacity: 0;
    }
}
.wg-select {
    position: relative;
    display: inline-block;
    width: 100%;
}
.phone-input{
    width: 100%;
    margin-bottom: 0px !important;
    margin-left: 0;
    border: 0px !important;
}

.dial-code{
    padding-top: 3px;
    font-weight: bold;
    min-width: 50px;
}
.selected {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    cursor: pointer;
}

.selected:hover {
    background-color: #f1f1f1;
}

.flag {
    margin-right: 10px;
    width: 40px;
    height: 30px;
}

.options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1;
    background-color: #fff;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.option {
    display: flex;
    align-items: center;
    padding: 5px;
    cursor: pointer;
}

.option:hover {
    background-color: #f1f1f1;
}

.phone-input {
    border: none;
    padding: 8px;
    margin-left:8px ;
    outline: none;
    width: 100%;
    font-family: inherit;
    height: 100%;
    font-weight: bold;
}
.show-list{
    padding: 5px;
    background: #f8f8f8;
    border-right: 1px solid #ddd;
    display: flex;
    cursor: pointer
}
.dl-select {
    position: relative;
    display: inline-block;
}

.select-selected {
    background-color: #e9e9e9;
    padding: 5px;
    border: 1px solid #ddd;
    cursor: pointer;
}



.select-items {
    position: absolute;
    background-color: #f9f9f9;
    min-width: 120px !important;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    display: none;
    max-height: 200px;
    overflow-y: scroll;
    z-index: 7;
    margin: 0 auto;
    top: 37px;
    border-radius: 20px 10px;
    transition: all 0.5s ease;
}

.select-items div {
    padding: 4px;
    cursor: pointer;
}

.select-items div:hover {
    background-color: #e9e9e9;
}

.select-selected:after {
   /* content: "";
    position: absolute;
    top: 14px;
    right: 10px;
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: #000 transparent transparent transparent;*/
}

.select-selected.select-arrow-active:after {
   /* border-color: transparent transparent #000 transparent;*/
    top: 7px;
}

.invalid-input{
    text-decoration: none !important;
}
.invalid-input {
    border-color: #dc3545 !important;
    padding-right: calc(1.5em + .75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}
.invalid-input:hover {
    background: #fbf2f2!important;
    border: #e9808a 2px solid !important;
}
.invalid-input:active {
    background: #fbf2f2!important;
    border: #e9808a 2px solid !important;
}


.valid-input {
    border-color: #198754;
    padding-right: calc(1.5em + .75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.is-invalid {
    border: 1px dot-dash #ff6347 !important;
    background-color: #ffecd9!important; /* Couleur de fond rouge pâle */
    color: #d9534f; /* Couleur de texte rouge */
    transition: all 0.3s ease;
}

/* Style des champs valides */
.is-valid {
    border: 1px solid #32cd32;
    background-color: #d4f8d4 !important; /* Couleur de fond verte pâle */
    color: #3c763d; /* Couleur de texte verte */
    transition: all 0.3s ease;
}