/* =============================================
   ForaVida Inmeettool – CSS v2.1.0
   Matched to Shoptimizer / ForaVida design
   ============================================= */

/* --- Root container --- */
.fv-inmeettool {
  max-width: 100%;
  margin: 2rem 0 0;
  padding: 0;
  font-family: Inter, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #444;
  box-sizing: border-box;
}

.fv-inmeettool *,
.fv-inmeettool *::before,
.fv-inmeettool *::after {
  box-sizing: inherit;
}

.fv-inmeettool .fv-wrap {
  width: 100%;
}

/* --- Two-column layout: text left, form right --- */
.fv-inmeettool .fv-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 768px) {
  .fv-inmeettool .fv-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* --- Title --- */
.fv-inmeettool .fv-title {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: #222;
  line-height: 1.45;
  letter-spacing: -0.3px;
}

/* --- Body text / helper text --- */
.fv-inmeettool .sub {
  font-size: 16px;
  color: #444;
  margin: 0 0 1rem;
  line-height: 1.5;
}

/* --- Card --- */
.fv-inmeettool .fv-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 1rem;
}

/* --- Grid layouts --- */
.fv-inmeettool .fv-grid {
  display: grid;
  gap: 0.75rem;
}

.fv-inmeettool .fv-grid.fv-1 {
  grid-template-columns: repeat(2, 1fr);
}

.fv-inmeettool .fv-grid.fv-2 {
  grid-template-columns: repeat(2, 1fr);
}

.fv-inmeettool .fv-grid.fv-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 540px) {
  .fv-inmeettool .fv-grid.fv-1,
  .fv-inmeettool .fv-grid.fv-2,
  .fv-inmeettool .fv-grid.fv-3 {
    grid-template-columns: 1fr;
  }
}

/* --- Labels --- */
.fv-inmeettool .fv-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #222;
  margin-bottom: 0.25rem;
  letter-spacing: 0.1px;
}

/* --- Inputs & selects --- */
.fv-inmeettool .fv-input {
  display: block;
  width: 100%;
  padding: 0.5rem 0.625rem;
  font-size: 15px;
  font-family: inherit;
  line-height: 1.4;
  color: #222;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 2px;
  transition: border-color 0.15s ease;
  appearance: none;
  -webkit-appearance: none;
}

.fv-inmeettool select.fv-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8.825a.75.75 0 0 1-.53-.22L2.22 5.355a.75.75 0 0 1 1.06-1.06L6 7.015l2.72-2.72a.75.75 0 0 1 1.06 1.06L6.53 8.605a.75.75 0 0 1-.53.22Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.625rem center;
  padding-right: 2rem;
}

.fv-inmeettool .fv-input:focus {
  outline: none;
  border-color: #3bb54a;
  box-shadow: 0 0 0 2px rgba(59, 181, 74, 0.15);
}

.fv-inmeettool .fv-input::placeholder {
  color: #999;
}

/* Hide number spinners */
.fv-inmeettool .fv-input[type="number"]::-webkit-inner-spin-button,
.fv-inmeettool .fv-input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.fv-inmeettool .fv-input[type="number"] {
  -moz-appearance: textfield;
}

/* --- Button group --- */
.fv-inmeettool .fv-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

/* --- Primary button (green – matches WooCommerce/Shoptimizer) --- */
.fv-inmeettool .fv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.25rem;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  background: #3bb54a;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s ease;
  font-family: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.fv-inmeettool .fv-btn:hover {
  background: #009245;
}

.fv-inmeettool .fv-btn:active {
  background: #007a3a;
}

/* --- Secondary button --- */
.fv-inmeettool .fv-btn.secondary {
  color: #444;
  background: #f8f8f8;
  border-color: #ddd;
}

.fv-inmeettool .fv-btn.secondary:hover {
  background: #eee;
  border-color: #ccc;
}

.fv-inmeettool .fv-btn.secondary:active {
  background: #ddd;
}

/* --- Chip (tab / color button) --- */
.fv-inmeettool .fv-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4rem 0.75rem;
  font-size: 13px;
  font-weight: 500;
  color: #444;
  background: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  font-family: inherit;
  line-height: 1.4;
}

.fv-inmeettool .fv-chip:hover {
  background: #eef7ee;
  border-color: #3bb54a;
  color: #222;
}

/* Active tab state */
.fv-inmeettool .fv-chip[aria-selected="true"] {
  background: #eef7ee;
  border-color: #3bb54a;
  color: #009245;
  font-weight: 600;
}

/* --- Color swatches --- */
.fv-inmeettool .swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid #ddd;
  vertical-align: middle;
  flex-shrink: 0;
}

.fv-inmeettool .swatch.black {
  background: #111;
  border-color: #111;
}

.fv-inmeettool .swatch.anthracite {
  background: #3a3a3a;
  border-color: #3a3a3a;
}

.fv-inmeettool .swatch.white {
  background: #fff;
  border-color: #ddd;
}

/* --- Choice group (color buttons) --- */
.fv-inmeettool .fv-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

/* --- KPI display --- */
.fv-inmeettool .fv-kpi {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  background: #f8f8f8;
}

.fv-inmeettool .fv-kpi strong {
  font-size: 13px;
  color: #222;
  white-space: nowrap;
}

/* --- Badge --- */
.fv-inmeettool .fv-badge {
  display: inline-block;
  background: #eef7ee;
  color: #009245;
  padding: 0.15rem 0.6rem;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* --- Table --- */
.fv-inmeettool .fv-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
  font-size: 14px;
}

.fv-inmeettool .fv-table th,
.fv-inmeettool .fv-table td {
  border: 1px solid #eee;
  padding: 0.5rem 0.625rem;
  text-align: left;
}

.fv-inmeettool .fv-table th {
  background: #f8f8f8;
  font-weight: 600;
  color: #222;
}

.fv-inmeettool .fv-table td {
  color: #444;
}

/* --- Alert boxes --- */
.fv-inmeettool .fv-ok {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 0.6rem 0.8rem;
  border-radius: 4px;
  margin-top: 0.5rem;
  font-size: 14px;
  line-height: 1.5;
}

.fv-inmeettool .fv-warn {
  background: #fefce8;
  border: 1px solid #fde68a;
  color: #854d0e;
  padding: 0.6rem 0.8rem;
  border-radius: 4px;
  margin-top: 0.5rem;
  font-size: 14px;
  line-height: 1.5;
}

/* --- List inside alert --- */
.fv-inmeettool .fv-list,
.fv-inmeettool .fv-ok ul,
.fv-inmeettool .fv-warn ul {
  margin: 0.25rem 0 0;
  padding-left: 1.25rem;
}

.fv-inmeettool .fv-ok li,
.fv-inmeettool .fv-warn li {
  margin-bottom: 0.15rem;
}

/* --- Footer text --- */
.fv-inmeettool .fv-footer {
  font-size: 14px;
  color: #666;
  margin: 0.5rem 0 0;
}

/* --- Result area (schuifwand uses display:none toggle) --- */
.fv-inmeettool .fv-result,
.fv-inmeettool #result {
  min-height: 0;
}
