.figatools-sfv-wrapper {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  color: #111;
  margin: 0;
  padding: 10px 0;
  text-align: center;
}
.figatools-sfv-wrapper main {
  max-width: 900px;
  margin: auto;
  padding: 20px;
}
.figatools-sfv-wrapper h2 {
  color: #000805;
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 1.4rem;
}
.figa-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.figa-table th, .figa-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}
.figa-table th {
  background: #f7931e;
  color: #fff;
}
.figatools-sfv-wrapper input, .figatools-sfv-wrapper select {
  width: 100%;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-align: center;
  box-sizing: border-box;
}
.figa-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 10px 0 20px;
  text-align: left;
}
@media (max-width: 640px) {
  .figa-grid { grid-template-columns: 1fr; }
}
.figa-btn {
  background: #f7931e;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  margin-top: 15px;
  cursor: pointer;
  font-weight: bold;
}
.figa-btn:hover { background: #ffa733; }
.result {
  margin-top: 20px;
  padding: 15px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #ddd;
  text-align: left;
}
.footer {
  margin-top: 30px;
  font-size: 0.85rem;
  color: #555;
}
.warn {
  color: #d17b00;
  font-size: 0.95rem;
}


/* ===== Horizontal slider for loads table (mobile/tablet safe) ===== */
.table-scroll { width: 100%; overflow-x: auto; overflow-y: hidden; }
.table-scroll { -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.table-scroll::-webkit-scrollbar { height: 8px; }
.table-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.table-scroll::-webkit-scrollbar-track { background: #eef2f7; }

.table-scroll table { border-collapse: collapse; min-width: 640px; }

@media (max-width: 1024px) {
  .table-scroll table th,
  .table-scroll table td {
    white-space: nowrap;
    padding: 8px 10px;
    font-size: 0.92rem;
  }
}
@media (max-width: 480px) {
  .table-scroll table th,
  .table-scroll table td {
    padding: 6px 8px;
    font-size: 0.88rem;
  }
}
