/* === STYLES GÉNÉRAUX === */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #cce3f6; /* Bleu clair */
  margin: 0;
  padding: 20px;
}

#interface_caisse {
  display: flex;
  gap: 15px;
}

.col {
  flex: 1;
  padding: 15px;
  background-color: #e6f1f9; /* Bleu pâle */
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

h2 {
  color: #0072bb; /* Bleu Auchan */
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

th, td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

/* === FICHE PRODUIT === */
#fiche_produit p {
  margin: 5px 0;
}

/* === BOUTONS CALCULATRICE === */
#calculatrice button {
  padding: 12px;
  font-size: 20px;
  border: none;
  border-radius: 6px;
  background-color: #b5d7ef;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#calculatrice button:hover {
  background-color: #a5cbe2;
}

#calculatrice button:active {
  transform: scale(0.98);
}

#calculatrice button[style*="background: #28a745"] {
  background-color: #0072bb !important;
  color: white;
}

#calculatrice button[style*="background: #ffc107"] {
  background-color: #f8c44e !important;
  color: black;
}

/* === CHAMP DE SAISIE DIVISÉ === */
#zone_input_group {
  display: flex;
  margin-bottom: 10px;
  height: 50px;
  font-size: 24px;
}

#btn_modifier_qte {
  width: 20%;
  background-color: #0072bb;
  color: white;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#btn_modifier_qte.active {
  background-color: #f8c44e;
  color: black;
  animation: clignoter 1.2s infinite alternate;
  transform: scale(1.05);
}

@keyframes clignoter {
  0%   { box-shadow: 0 0 10px #ffc107; }
  100% { box-shadow: 0 0 20px #ff6f00; }
}

#input_montant {
  width: 80%;
  border: 1px solid #ccc;
  border-left: none;
  padding-right: 10px;
  text-align: right;
}

/* === BOUTONS DROITE === */
.icon-btn {
  font-size: 24px;
  padding: 12px;
  margin: 5px;
  border-radius: 8px;
  background-color: #b9d7ec;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.icon-btn:hover {
  background-color: #a3cce2;
}

.btn-systeme {
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  font-size: 18px;
  background-color: #0072bb;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-systeme:hover {
  background-color: #005999;
}

#btn_egale.active {
  background-color: #0072bb !important;
  color: white;
  animation: clignoter 1.2s infinite alternate;
  transform: scale(1.05);
}

#input_montant.active-etape {
  border: 2px solid #0072bb;
  background-color: #eaffea;
  box-shadow: 0 0 5px #0072bb;
  transition: all 0.3s ease;
}

/* === IMAGES DES BILLETS === */
.billet-btn img {
  height: 70px;
  margin: 5px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.billet-btn img:hover {
  transform: scale(1.1);
}

/* === PANIER === */
.panier-style {
  border: 2px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  font-size: 18px;
  margin-top: 10px;
  overflow: hidden;
}

.panier-entete {
  display: flex;
  font-weight: bold;
  background-color: #b9d7ec;
  padding: 8px 5px;
  border-bottom: 2px solid #0072bb;
}

.panier-lignes {
  max-height: 300px;
  overflow-y: auto;
  background-color: #f2f2f2;
  border: 2px solid #bbb;
  border-radius: 4px;
}

.panier-ligne {
  display: flex;
  padding: 8px 5px;
  border-bottom: 1px dashed #ccc;
  cursor: pointer;
}

.panier-ligne:hover {
  background-color: #f0f9ff;
}

.panier-ligne span {
  flex: 1;
  text-align: center;
}

.titre-col {
  flex: 1;
  text-align: center;
}

/* === JOURNAL DES VENTES === */
.vente-ligne {
  font-size: 16px;
  font-weight: 500;
  background: #f1f1f1;
  margin-bottom: 5px;
  padding: 5px;
  border-radius: 5px;
}
