.poke-row-2{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  margin: 12px 0 18px;
}
@media (min-width: 900px){
  .poke-row-2{ grid-template-columns:1fr 1fr 1fr; }
}
.poke-field label{ font-weight:600; display:block; margin-bottom:6px; }
.poke-field select{ width:100%; max-width:420px; height:40px; border:1px solid #ddd; border-radius:10px; padding:6px 10px; }
.poke-field input[type="number"]{ width:100%; height:40px; border:1px solid #ddd; border-radius:10px; padding:6px 10px; }

.poke-cards-controls{
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  gap:12px;
  margin:12px 0 16px;
  flex-wrap:wrap;
}

.poke-table{
  border:1px solid #e7ecf3;
  background:#fff;
  box-shadow:0 14px 32px rgba(20, 29, 56, 0.06);
}

.poke-inline{ display:flex; gap:10px; align-items:center; }

.poke-remove-row{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border:1px solid #f8c1c1;
  border-radius:999px;
  background:#fff5f5;
  color:#d92d20;
  cursor:pointer;
  transition:background-color .2s ease, border-color .2s ease, transform .15s ease;
}
.poke-remove-row:hover{
  background:#ffe3e3;
  border-color:#f19f9f;
  transform:translateY(-1px);
}
.poke-remove-row:focus-visible{
  outline:2px solid #d92d20;
  outline-offset:2px;
}
.poke-trash-icon{
  display:inline-flex;
  width:18px;
  height:18px;
}
.poke-sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0, 0, 0, 0);
  border:0;
}

.poke-footer{ margin-top:16px; display:flex; flex-direction:column; align-items:flex-end; gap:10px; }
.poke-total{ font-size:1.3rem; text-align:right; }
.poke-note{ font-size:.9rem; color:#666; }
.poke-hint{ color:#c00; font-size:.9rem; text-align:right; max-width:520px; }

#poke-submit[disabled]{ opacity:.55; cursor:not-allowed; }

.poke-scroll{ overflow:visible; }
.poke-details-grid{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  table-layout:auto;
}

.poke-details-grid th{
  text-align:left;
  background:#fb0;
  padding:14px 8px;
  border-bottom:1px solid #e7ecf3;
  color:#000000;
  font-weight:700;
  font-size:1.2rem;
}
.poke-details-grid td{
  padding:14px 8px;
  border-bottom:1px solid #edf1f7;
  vertical-align:middle;
}
.poke-details-grid tr:last-child td{
  border-bottom:0;
}
.poke-details-grid input,
.poke-details-grid select{
  min-width:0;
  padding:10px 12px;
  border:1px solid #d7deea;
  border-radius:12px;
  background:#fff;
  height: 40px;
  width: 100%;
}
.poke-details-grid input:focus,
.poke-details-grid select:focus{
  border-color:#5f7aff;
  box-shadow:0 0 0 3px rgba(95, 122, 255, .16);
  outline:none;
}
.poke-details-grid td:nth-child(5) input{
  width: auto !important;
}
.poke-details-grid th:nth-child(5) {
  width: 120px !important;
}

/* MOBILE ONLY */
@media (max-width: 768px) {

  .poke-table{
    border-radius:12px;
    border:none;
    box-shadow:none;
    background:transparent;
  }

  .poke-details-grid,
  .poke-details-grid thead,
  .poke-details-grid tbody,
  .poke-details-grid th,
  .poke-details-grid td,
  .poke-details-grid tr {
    display: block;
    width: 100%;
  }

  /* On masque l'entête du tableau */
  .poke-details-grid thead {
    display: none;
  }

  .poke-details-grid tr {
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid #e5eaf2;
    border-radius: 14px;
    background: #ffffff;
    box-shadow:0 10px 26px rgba(20, 29, 56, 0.06);
  }

  .poke-details-grid td {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
    padding:0;
    border:none;
  }

  /* Labels avant chaque champ */
  .poke-details-grid td::before {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 6px;
    color: #3b4a65;
  }

  /* Texte des labels */
  .poke-details-grid td:nth-child(1)::before { content: "Nom de la carte"; }
  .poke-details-grid td:nth-child(2)::before { content: "Numéro"; }
  .poke-details-grid td:nth-child(3)::before { content: "Série"; }
  .poke-details-grid td:nth-child(4)::before { content: "Prix déclaré (€)"; }
  .poke-details-grid td:nth-child(5)::before { content: "Assurance"; }
  .poke-details-grid td:nth-child(6)::before { content: "Langue"; }
  .poke-details-grid td:nth-child(7)::before { content: "Palier"; }
  .poke-details-grid td:nth-child(8)::before { content: "Supprimer"; }

  .poke-details-grid td:last-child{
    align-items:flex-end;
    margin-bottom:0;
  }

  .poke-card-input {
    width: 100%;
  }
}

.poke-tooltip{
  position: relative;
  display: inline-block;
  cursor: pointer;
  font-weight: bold;
  background: #ffeda8;
  color: #121116;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  text-align: center;
  line-height: 22px;
}

.poke-tooltip-content{
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease;
  z-index: 999;
}

.poke-tooltip-content img{
  width: 240px;
  max-width: 240px !important;
  border-radius: 8px;
}

.poke-tooltip:hover .poke-tooltip-content{
  opacity: 1;
  visibility: visible;
}
