        
body {
    background-image: url('http://easyprintbags.co.uk/wp-content/uploads/2024/01/AdobeStock_696031738-scaled.jpeg'); /* URL de l'image */
    font-family: 'Poppins', sans-serif;
    background-color: #f0f2f5;
    margin: 0 auto;
    /*padding: 20px;*/
    min-height: 100vh;
    display: flex;
    justify-content: auto;
    flex-direction: column;
    overflow: auto;
}

.summary-wrapper
{
    max-width: 100%;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding-top: 20px;
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 50px;
    margin-left: 120px;
    margin-right: 120px;
}
.table-wrapper {
    max-width: 100%;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 5px;
    margin-top: 10px;
    margin-left: 120px;
    margin-right: 120px;
    margin-bottom: 5px;

}


.heade {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2c3e50;
    text-align: center;
}

.summary-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.summary-details .detail {
    background-color: #f7f9fb;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    
}
.summary-details :hover {
    color: #0056b3;
    transition: background-color 0.3s ease;
    font-size: 1.5rem;
    /*cursor: pointer;*/
    border: 1.5rem;
    /*text-decoration: underline;*/
}

.summary-details .detail i {
    font-size: 1.5rem;
    color: #007bff;
    margin-right: 10px;
}

.summary-details .detail p {
    margin: 0;
    font-size: 1.1rem;
    color: #34495e;
}

.summary-details .detail p span {
    display: block;
    font-size: 1.4rem;
    font-weight: 600;
    color: #2980b9;
}

.table-wrapper {
    overflow-y: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th,
td {
    text-align: left;
    padding: 12px 15px;
    border: 1px solid #ddd;
}

th {
    background-color: #f4f4f9;
    font-weight: 600;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

.invoice-links a {
    color: #007bff;
    text-decoration: none;
}

.invoice-links a:hover {
    text-decoration: underline;
}

.pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.pagination button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pagination button:hover {
    background-color: #0056b3;
}

.pagination button:disabled {
    background-color: #d3d3d3;
    cursor: not-allowed;
}

.chart-container {
    max-width: 1100px;
    margin:  auto;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

canvas {
    max-width: 100%;
    height: 400px;
}
.checkout-wrapperL {
    display: flex;
    flex-wrap: wrap;

    /* background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
    padding: 30px;

}
.header {
    padding: 1px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    /*margin: 0 auto;*/
    width: 100%;
}
.footer {
    background-color: #333;
    color: white;
    padding: 20px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 97%;
    margin: 0 auto;  
}


.footer p {
    margin: 5px 0;
}

.footer a {
    color: #009cdb;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/*Spinner (Loader) */
#loading-spinner {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
position: fixed;
width: 100%;
top: 0;
left: 0;
background-color: rgba(255, 255, 255, 0.7);
z-index: 999;
}

.spinner {
border: 6px solid #f3f3f3;
border-top: 6px solid #007bff;
border-radius: 50%;
width: 50px;
height: 50px;
animation: spin 1s linear infinite;
}

@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/*Message d'erreur*/
.error-message {
background-color: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
padding: 10px;
border-radius: 5px;
margin: 20px auto;
max-width: 900px;
text-align: center;
}
/*Ajout d'effets de survol et de transitions*/
button {
transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

button:hover {
background-color: #0056b3;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

td {
transition: background-color 0.3s ease;
}

td:hover {
background-color: #f0f8ff;
}

a {
transition: color 0.3s ease;
}

a:hover {
color: #0056b3;
text-decoration: underline;
}
/*Affinement de la palette de couleurs*/
.pagination button {
background-color: #0066cc;
color: white;
border: none;
border-radius: 5px;
padding: 10px 15px;
font-size: 1rem;
cursor: pointer;
transition: background-color 0.3s ease;
}
/*Optimisation des styles des boutons et tableaux*/
th {
background-color: #e9eff7;
color: #34495e;
font-weight: bold;
}

td {
border: 1px solid #e3e6e8;
}

button {
border-radius: 5px;
padding: 10px 20px;
font-size: 1.1rem;
}

/*Bouton de paiement à sélection multiple*/
#payButton, #directpayButton:disabled {
    background-color: grey;
    cursor: not-allowed;
    color: white;
}

#payButton, #directpayButton {
    background-color:#0066cc ; /* #4CAF50 Vert pour indiquer qu'il est actif */
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

#payButton, #directpayButton:hover:enabled {
    background-color: #45a049; /* Plus foncé au survol lorsqu'activé */
}

.hidden {
    display: none; /* ou visibility: hidden; */
}

/* Style du bouton de dropdown */
/* Style du bouton de dropdown */
.dropbtn {
  background-color: #4CAF50;
  color: white;
  padding: 12px 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.dropbtn i {
  margin-left: 8px; /* Pour espacer l'icône du texte */
}

.dropbtn:hover {
  background-color: #45a049; /* Changement de couleur au hover */
}

/* Conteneur du dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Contenu du dropdown */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 200px;
  border-radius: 5px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Items du dropdown */
.dropdown-content label,
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dropdown-content a:hover,
.dropdown-content label:hover {
  background-color: #f1f1f1;
}

/* Afficher le dropdown avec animation */
.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Bouton de paiement moderne */
.pay-btn {
  background-color: #28a745;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.pay-btn i {
  margin-right: 8px;
}

.pay-btn:hover {
  background-color: #218838;
}
.btn-disabled {
   background-color: #ccc;
    cursor: not-allowed;
    color: green;
    font-weight: bold;
}
/* Style général pour le fond de la modale */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-left: 400px;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

/* Contenu de la modale */
.modal-content {
    background-color: #f9f9f9;
    border-radius: 20px;
    padding: 40px;
    width: 400px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    position: relative;
    font-family: 'Arial', sans-serif;
    color: #333;
    animation: slideIn 0.4s ease-in-out;
}

/* Animation pour l'apparition de la modale */
@keyframes slideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Titre de la modale */
.modal-header {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: #0056b3;
    letter-spacing: 0.5px;
}

/* Style uniforme pour les champs de texte */
.modal input[type="text"],input[type="number"] {
    width: 100%;
    padding: 14px 16px;
    margin: 12px 0;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
    box-sizing: border-box;
    background-color: #f8f8f8;
    box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.05);
}

/* Focus sur les champs de texte */
.modal input[type="text"], input[type="number"]:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}

/* Bouton OK */
.modal button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 14px 0;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    margin-top: 25px;
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.3);
    transition: background-color 0.3s, box-shadow 0.3s;
}

.modal button:hover {
    background-color: #0056b3;
    box-shadow: 0 8px 20px rgba(0, 86, 179, 0.4);
}

/* Bouton de fermeture */
.modal .close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
}

.modal .close:hover {
    color: #000;
}

/* Labels */
.modal label {
    font-size: 16px;
    color: #555;
    display: block;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

  