/* Whole tool uses Poppins */
.vat-site-shell {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  padding: 24px 12px;
  background-color: #f5f5f7;
  color: #000000; /* default text black */
}

.vat-site-inner {
  max-width: 820px;
  margin: 0 auto;
}

/* Header + intro */
.vat-site-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.vat-site-heading h1 {
  margin: 0 0 4px;
  font-size: 1.5rem;
  font-weight: 600;
  color: #000000;
}

.vat-site-lead {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #000000;
}

.vat-site-text {
  margin: 0;
  font-size: 0.88rem;
  color: #000000;
}

/* Language select */
.vat-site-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #000000;
}

.vat-site-lang select {
  border-radius: 4px;
  padding: 4px 8px;
  border: 1px solid #d1d5db;
  font-size: 0.8rem;
  background: #ffffff;
  color: #000000;
}

/* Preset buttons */
.vat-chip {
  border-radius: 3px;
  border: 1px solid #0d6638;
  background: #0d6638;
  color: #ffffff;
  padding: 2px 7px;
  font-size: 0.8rem;
  margin-left: 4px;
  cursor: pointer;
}

.vat-chip:hover {
  background: #0a4d2a;
}

/* Main box */
.vat-site-box {
  margin-top: 8px;
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid #d1d5db;
  padding: 12px 14px 16px;
  box-sizing: border-box;
  color: #000000;
}

/* Top calculate button */
.vat-site-button-top {
  text-align: left;
  margin-bottom: 10px;
}

.vat-site-btn {
  border-radius: 3px;
  border: none;
  padding: 7px 16px;
  font-size: 0.9rem;
  cursor: pointer;
}

.vat-site-btn-primary {
  background: #0d6638;
  color: #ffffff;
  font-weight: 600;
}

.vat-site-btn-primary:hover {
  background: #0a4d2a;
}

.vat-site-btn-secondary {
  background: #e5e7eb;
  color: #000000;
}

.vat-site-btn-secondary:hover {
  background: #d1d5db;
}

/* Rows + labels + inputs */
.vat-site-row {
  margin-bottom: 8px;
}

.vat-site-label {
  display: inline-block;
  font-size: 0.88rem;
  color: #000000;
  margin-bottom: 3px;
}

/* VAT % input + suffix */
.vat-site-input-wrap {
  display: flex;
  max-width: 260px;
}

.vat-site-input-suffix {
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 0 3px 3px 0;
  border: 1px solid #d1d5db;
  border-left: none;
  background: #f3f4f6;
  font-size: 0.9rem;
  color: #000000;
}

/* rectangular input */
.vat-site-input {
  width: 100%;
  max-width: 260px;
  box-sizing: border-box;
  border-radius: 3px;
  border: 1px solid #d1d5db;
  padding: 6px 8px;
  font-size: 0.9rem;
  background: #ffffff;
  color: #000000;
}

.vat-site-input::placeholder {
  color: #6b6b6b;
}

.vat-site-input:focus {
  outline: none;
  border-color: #0d6638;
}

.vat-site-input-readonly {
  background: #f3f4f6;
}

/* bottom row */
.vat-site-bottom-row {
  margin-top: 8px;
  margin-bottom: 4px;
}

/* Advanced section */
.vat-site-advanced {
  margin-top: 8px;
  border-top: 1px dashed #d1d5db;
  padding-top: 8px;
  color: #000000;
}

.vat-adv-check {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  cursor: pointer;
}

.vat-adv-check input {
  width: 14px;
  height: 14px;
}

.vat-adv-panel {
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 3px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  display: none;
  color: #000000;
}

.vat-adv-panel-show {
  display: block;
}

.vat-site-row-inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}

.vat-adv-radio {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.83rem;
  cursor: pointer;
  color: #000000;
}

.vat-adv-note {
  margin: 0;
  font-size: 0.8rem;
  color: #000000;
}

/* Message */
.vat-site-msg {
  min-height: 1em;
  font-size: 0.8rem;
  margin: 4px 0 0;
  color: #000000;
}

.vat-site-msg.error {
  color: #b91c1c;
}

.vat-site-msg.success {
  color: #065f46;
}

/* Info block */
.vat-site-info {
  margin-top: 10px;
  color: #000000;
}

.vat-site-info p {
  margin: 0 0 4px;
  font-size: 0.8rem;
  color: #000000;
}

/* Responsive */
@media (max-width: 640px) {
  .vat-site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .vat-site-input,
  .vat-site-input-wrap {
    max-width: 100%;
  }
}