.message {
    background-color: #d76060;
    color: black;
    padding: 20px;
    font-size: 18px;
    border-radius: 5px;
    width: fit-content;
}

 .alert-border {
    width: 100%;
    height: 100%;
    line-height: 200px;
    text-align: center;
   
    font-size: 20px;
    font-family: Arial, sans-serif;
    border: 5px solid red; /* Initial border color */
    animation: alertAnimation 1s infinite; /* Apply animation */
}

@keyframes alertAnimation {
    0% {
        border-color: red;
    }
    50% {
        border-color: transparent; /* Flash to transparent */
    }
    100% {
        border-color: red;
    }
}

.menusub{
    background-color: #abbaf1;
    padding: 10px;
    cursor: pointer;
    color: black;
}

.menusubActiver{
    background-color: #dbe0f1;
    padding: 10px;
    color: black;
}


/* Style pour masquer le modal par défaut */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Transparence de l'arrière-plan */
}

.modal1 {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Transparence de l'arrière-plan */
}

/* Contenu du modal */
.modal-content {
    background-color: #fefefe;
    margin: 4% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    border-radius: 10px;
}

/* Bouton pour fermer le modal */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.close1 {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close1:hover,
.close1:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}


.invoice-form-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.invoice-form-container  h1 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 24px;
    color: #007BFF;
}

.form-group {
    margin-bottom: 20px;
}

.invoice-form-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 14px;
    color: #495057;
}

.invoice-form-container input, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 16px;
    background-color: #f8f9fa;
    color: #495057;
    transition: border-color 0.3s ease;
}

.invoice-form-container input:focus, select:focus {
    border-color: #007BFF;
    outline: none;
}

.invoice-form-container button {
    display: inline-block;
    padding: 10px 15px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

.invoice-form-container button:hover {
    background-color: #218838;
}
/* Conteneur pour le tableau avec hauteur limitée */
.table-wrapper {
    max-height: 250px; /* Hauteur maximale de la table */
    overflow-y: auto;  /* Activer le défilement vertical */
    margin-top: 20px;
    border: 1px solid #dee2e6;
}

/* Style du tableau (inchangé ou légèrement modifié) */
.invoice-form-container table {
    width: 100%;
    border-collapse: collapse;
}

.invoice-form-container table th, table td {
    padding: 8px;
    border: 1px solid #dee2e6;
    text-align: left;
    vertical-align: middle;
}

.invoice-form-container table th {
    background-color: #007BFF;
    color: white;
}

.invoice-form-container table td input {
    width: 95%;
    padding: 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

/* Style des boutons */
.invoice-form-container button.removeProductBtn {
    background-color: #dc3545;
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.invoice-form-container button.removeProductBtn:hover {
    background-color: #c82333;
}
