legend.name{
    text-align: center;
    color:white;
    border: 2px;
    border-style:double;
    border-radius: 20px;
    border-color: #EF7D00;
    background-color: #1A3C6E;
    border-width: 2px;
    text-align: center;
}
.mark{
          background-color: #E8F0FE;
          position: relative;
          border: 2px solid;
          border-style:double;
          left: 4%;
          width: 90%;
          height: 100%;
}

.market{
    display: flex;
    gap: 100px;
}
      
.cont{
    text-decoration: none;
    position: relative;
    top: 50%;
    text-align:center;
    border: 2px solid #1A3C6E;
    border-style:inset;
    border-radius: 20px;
    background-color:#FFFFFF ;
    width: 50%;
    height: 300px;
      
}
      
.image{
    width: 50%;
    height: 135px;
}

p{
    opacity: 0.6;
    border: 1px solid;
    color: black;
}

.infos{
    position: relative;
    top: -20px;
    text-decoration: none;
}
 
li{
    text-transform: capitalize;
    color: black;
    position: relative;
    top: -20px;
    text-align: start;
}

.Univ{
    position: fixed;
    width: 100%;
    height: 65px;
    top:0;
    left: 0;
    background-color:#1A3C6E;
}

.list{
    position: relative;
    bottom: 8px;
    left:30%;
    display: flex;
    gap: 100px;
}

.intro{
    background-color: white;
    font-size: large;
    text-decoration: none;
    border: 2px solid #EF7D00;
    color: black;
    border-radius: 10px;
    border-width: 8px;
    transition: border 0.3s ease ;
}
.intro:hover{
    border: 2px solid #EF7D00;
}

ol{
    list-style-type: none;
}

.mss{
    position: relative;
    left: 25%;
    border: 2px #030303;
    border-style:groove;
    width: 620px;
    height: 270px;
}

.mot_bienv{
    position: relative;
    top: -25%;
    background-color: #F5F5F5;
}

p.mot{
    opacity: 1;
    font-size: larger;
    text-align: center;
    color:#0B2C4D;
    border: 2px#B71C1C;
    border-style:dotted;
    border-radius: 20px;
}

h1{
    text-align: center;
    color:white;
    border: 2px;
    border-style:double;
    border-radius: 20px;
    border-color: #EF7D00;
    background-color: #1A3C6E;
    border-width: 2px;
}

.bienve{
    background-color: #1A3C6E;
    position: relative;
    top: -20%;
    left: 25%;
    width:50%;
    height: auto;
}

legend{
    text-align: center;
}

.input{
    position: relative;
    bottom: 75px;
    left: 70%;
    box-sizing: border-box;
    width: 120px;
    height: 10px;
    border-radius: 10px;
    border-left: 50%;
    opacity: 1;
}

.mess{
    color: red;
    position: relative;
    bottom:90px;
    left: 35%;
    width: 120px;
    height: 20px;
}


.pan {
    background-color: #1A3C6E;
    border-radius: 50%;
    position: fixed;
    width: 2%;
    height: auto;
    left: 0%;
    top: 11%;
    object-fit: contain;
    padding: 6px;
 
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.pan:hover {
  transform: scale(1.12) rotate(-6deg);
  box-shadow: 0 4px 16px rgba(239, 125, 0, 0.5);
}


table { width: 101%;  border-collapse: collapse; text-align: center;}
table thead tr { background: linear-gradient(135deg, #1A3C6E, #22508f); color: white;}
table thead th { padding: 5px 5px; font-weight: 600; border: 1px solid; text-align: center; }
table thead th:first-child { border-radius: 10px 0 0 0; }
table thead th:last-child  { border-radius: 0 10px 0 0; }


table tbody tr.tr { border-bottom: 1px solid #e8edf5; transition: background 0.2s;}
table tbody tr.tr:hover { background: #f0f5ff; }
table tbody tr.tr:nth-child(even) { background: #f7f9fd; }
table tbody td { padding: 11px 14px; border: 1px solid; vertical-align: middle; }


table tbody td button[onclick*="Delete"] {
  background: transparent;
  color: #c0392b;
  border: 1.5px solid #c0392b;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
table tbody td button[onclick*="Delete"]:hover {
  background: #c0392b;
  color: white;
  transform: scale(1.05);
  box-shadow: 0 3px 10px rgba(192, 57, 43, 0.35);
}


table tbody td button[onclick*="Cacher"],
table tbody td button[onclick*="Afficher"] {
  background: transparent;
  color: #1A3C6E;
  border: 1.5px solid #1A3C6E;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
table tbody td button[onclick*="Cacher"]:hover,
table tbody td button[onclick*="Afficher"]:hover {
  background: #1A3C6E;
  color: white;
  transform: scale(1.05);
}

table tbody tr.tr.ligne-cachee td {
  text-decoration: line-through;
  text-decoration-color: #1A3C6E;
  text-decoration-thickness: 2px;
  opacity: 0.42;
  font-style: italic;
  transition: opacity 0.35s ease;
}

@keyframes rowDelete {
  0%   { background: #ffe0e0; opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(30px); }
}
.row-deleting {
  animation: rowDelete 0.34s ease forwards;
  pointer-events: none;
}


.achat {
  color: white;
  position: relative;
  bottom: 60px;
  left: 35%;
  width: 120px;
  height: 20px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #1A3C6E, #22508f);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(26, 60, 110, 0.3);
}

.achat:hover {
  background: linear-gradient(135deg, #EF7D00, #f59800);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(239, 125, 0, 0.4);
}


input{
    width: 30px;
    height: auto;
    border: 1.5px solid #c5d3e8;
    border-radius: 8px;
    text-align: center;
    font-size: 0.92rem;
    font-weight: 600;
    color: #1A3C6E;
    outline: none;
    transition: border-color 0.2s;
}

input:focus {
  border-color: #EF7D00;
  box-shadow: 0 0 0 3px rgba(239, 125, 0, 0.18);
}

td.ligne-cachee {
    text-decoration: line-through;
    opacity: 0.42;
  }

  .prixT{
    position:relative;
    left:40%;
    font-size: 20px;
    color: #030303;
    text-align: center;
    width: 20%;
    height: auto;
  }

  .prr{
    border-radius: 10px;
    border: 2px solid;
    border-style: dashed ;
  }

  .Alldel{
    background: transparent;
    color: #c0392b;
    border: 1.5px solid #c0392b;
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .Alldel:hover{
    background: #c0392b;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(192, 57, 43, 0.35);
  }

  .com{
    background: transparent;
    color: green;
    border: 1.5px solid green;
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .com:hover{
    background: green;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(55, 137, 32, 0.35);
  }

  @keyframes bouger {
    0%   { transform: scale(1);    }
    50%  { transform: scale(1.25); }
    100% { transform: scale(1);    }
  }
  
  .pan {
    animation: bouger 1.5s ease-in-out infinite;
  }
