
.body-con {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Source Sans Pro', sans-serif;
}
.login-box {
    width: 360px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    text-align: center;
}
.login-logo img {
    display: block;
    margin: 0 auto 10px;
}
.btnConnexion {
    background: #2575fc;
    border: none;
    transition: 0.3s;
}
.btnConnexion:hover {
    background: #6a11cb;
}
.form-group input {
    border-radius: 5px;
    border: 1px solid #ccc;
}
.input-group-addon {
    background: #f9f9f9;
    border-radius: 5px 0 0 5px;
    border-right: none;
    padding: 10px;
}
.input-group-text {
    cursor: pointer;
    padding: 10px;
    border: 1px solid #ccc;
    border-left: none;
    background: #f9f9f9;
    border-radius: 0 5px 5px 0;
}
.footer {
    position: absolute;
    bottom: 10px;
    text-align: center;
    width: 100%;
    color: #fff;
}
.error-message {
    color: red;
    font-size: 0.9em;
    margin-top: 5px;
}
/* Applique la bordure rouge quand l'input est invalide */
.form-control.invalid {
    border-color: red !important;  /* Le !important force l'application du style */
}

/* Applique la bordure verte quand l'input est valide */
.form-control.valid {
    border-color: green !important;
}

/* Lorsque l'input est invalide, colorie l'icône en rouge */
.form-control.invalid + .input-group-addon i {
    color: red !important;  /* Change la couleur de l'icône en rouge */
}

/* Lorsque l'input est valide, colorie l'icône en vert */
.form-control.valid + .input-group-addon i {
    color: green !important;  /* Change la couleur de l'icône en vert */
}

/* fin mise en form */

.divider {
    border-left: 2px solid #ddd;
    height: 100%;
}
.vertical-line-modal-pay {
    border-right: 6px solid green;
    height: 150px;
  }
  .scroll-elements{
    overflow-y: auto;
    height: 200px;
    width: 300px;
    margin-left: 50px;
    border-radius: 10px;
  
}
/* Tronquer le code et la date */
.truncate-text {
    max-width: 100px;
    /* Limite la largeur */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    /* Indique que c'est cliquable */
}
.text-white{
    color:#ffffff;
}
/* CSS pour animer l'icône */

.payment-icon {
    font-size: 60px;
    margin-bottom: 15px;
}
.animate-icon {
    animation: pulse 1.5s infinite alternate;
}
@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); }
}