/******* Do not edit this file *******
Woody Code Snippets CSS and JS
Saved: Jul 17 2026 | 17:57:52 */
/* ===== Kalkulator podatku od sprzedaży nieruchomości ===== */

.tax-calculator {
  color: inherit;
}

.tax-calculator__inner {
  display: grid;
  gap: 24px;
}

/* Główne klocki */

.tax-calculator__section,
.tax-calculator__result,
.tax-calculator__notice,
.tax-calculator__errors {
  background: #ffffff;
  border: 1px solid #e7e7e7;
  border-radius: 18px;
  padding: 24px;
}

.tax-calculator__result,
.tax-calculator__notice {
  background: #f7f7f7;
}

.tax-calculator__errors {
  background: #fff6f5;
  border-color: #f0d2cf;
}

.tax-calculator__section > * + *,
.tax-calculator__result > * + *,
.tax-calculator__notice > * + *,
.tax-calculator__errors > * + * {
  margin-top: 14px;
}

/* Nagłówki i tekst */

.tax-calculator__section-title,
.tax-calculator__result-title {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.25;
  font-weight: 700;
  margin-top:10px;	
}

.tax-calculator__section-desc,
.tax-calculator__notice p,
.tax-calculator__result p,
.tax-calculator__errors p {
  margin: 0;
  line-height: 1.65;
}

.tax-calculator__result .tax-calculator__section-title {
	  margin-top:30px;
}

/* Układ pól */

.tax-calculator__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.tax-calculator__grid--single {
  grid-template-columns: 1fr;
}

.tax-calculator__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tax-calculator__field--full {
  grid-column: 1 / -1;
}

.tax-calculator__label {
  font-size: 0.98rem;
  line-height: 1.4;
  font-weight: 600;
}

.tax-calculator__hint {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  opacity: 0.82;
}

/* Inputy */

.tax-calculator__input,
.tax-calculator__select {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #e7e7e7;
  border-radius: 12px;
  background: #ffffff;
  color: inherit;
  font: inherit;
  line-height: 1.2;
  appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tax-calculator__input::placeholder {
  opacity: 0.45;
}

.tax-calculator__input:focus,
.tax-calculator__select:focus {
  outline: none;
  border-color: #1f7a3d;
  box-shadow: 0 0 0 3px rgba(31, 122, 61, 0.08);
}

.tax-calculator__input[disabled],
.tax-calculator__select[disabled] {
  background: #f7f7f7;
  cursor: not-allowed;
  opacity: 0.75;
}

/* Tak / nie */

.tax-calculator__choice {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tax-calculator__choice-item {
  position: relative;
}

.tax-calculator__choice-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.tax-calculator__choice-label {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid #e7e7e7;
  border-radius: 999px;
  background: #ffffff;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.tax-calculator__choice-input:checked + .tax-calculator__choice-label {
  border-color: #1f7a3d;
  background: #f3faf5;
  color: #1f7a3d;
}

/* Przyciski */

.tax-calculator__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tax-calculator__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #1f7a3d;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.tax-calculator__button:hover {
  opacity: 0.96;
}

.tax-calculator__button:active {
  transform: translateY(1px);
}

.tax-calculator__button--secondary {
  background: #ffffff;
  color: inherit;
  border-color: #e7e7e7;
}

/* Wynik */

.tax-calculator__result-main {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.5;
  font-weight: 700;
}

.tax-calculator__result-amount {
  color: #1f7a3d;
  white-space: nowrap;
}

.tax-calculator__summary {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e7e7e7;
}

.tax-calculator__summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  line-height: 1.5;
}

.tax-calculator__summary-row--final {
  padding-top: 10px;
  border-top: 1px solid #e7e7e7;
  font-weight: 700;
}

/* Błędy */

.tax-calculator__errors p {
  color: #b42318;
}

/* Utility */

.tax-calculator__hidden {
  display: none !important;
}

/* Mobile */

@media (max-width: 768px) {
  .tax-calculator__section,
  .tax-calculator__result,
  .tax-calculator__notice,
  .tax-calculator__errors {
    padding: 18px;
    border-radius: 16px;
  }

  .tax-calculator__grid {
    grid-template-columns: 1fr;
  }

  .tax-calculator__summary-row {
    flex-direction: column;
    gap: 4px;
  }

  .tax-calculator__button {
    width: 100%;
  }
}