@charset "UTF-8";
.row-input {
  display: flex;
  align-items: center;
}
.row-input p:first-child {
  margin-bottom: 0;
  font-weight: bold;
  margin-right: 0.5rem;
}

.wpcf7 form.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.wpcf7 form.wpcf7-form > p {
  margin: 0;
}
.wpcf7 form.wpcf7-form .wpcf7-form-control-wrap {
  display: block;
}
.wpcf7 form.wpcf7-form br {
  display: none;
}
.wpcf7 form > p:has(input.hidden) {
  display: none;
}

.wpcf7 form > p:has(+ p .wpcf7-radio) {
  font-weight: 600;
  font-size: 0.9375rem;
  color: #1a1a1a;
  margin-bottom: -8px;
}

.wpcf7-radio {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.wpcf7-radio .wpcf7-list-item {
  margin: 0;
}
.wpcf7-radio .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  color: #1a1a1a;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.wpcf7-radio .wpcf7-list-item label input[type=radio] {
  accent-color: #695c4c;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  cursor: pointer;
}
.wpcf7-radio .wpcf7-list-item label:has(input[type=radio]:checked) {
  background: #695c4c;
  border-color: #695c4c;
  color: #fff;
}
.wpcf7-radio .wpcf7-list-item label:has(input[type=radio]:checked) input[type=radio] {
  accent-color: rgba(255, 255, 255, 0.8);
}
.wpcf7-radio .wpcf7-list-item label:has(input[type=radio]:checked)::after {
  content: "✓";
  font-size: 0.8em;
  font-weight: 700;
  margin-left: 2px;
}

.valuation-row > p {
  margin: 0;
  display: grid;
  gap: 16px;
}
.valuation-row > p > br {
  display: none;
}
.valuation-row > p .wpcf7-form-control-wrap {
  display: block;
}
.valuation-row-3 > p {
  grid-template-columns: repeat(3, 1fr);
}
@media (min-width: 540px) and (max-width: 767px) {
  .valuation-row-3 > p {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 539px) {
  .valuation-row-3 > p {
    grid-template-columns: 1fr;
  }
}

.wpcf7 input[type=text],
.wpcf7 input[type=email],
.wpcf7 input[type=tel],
.wpcf7 input[type=number] {
  width: 100%;
  padding: 11px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font: inherit;
  font-size: inherit;
  color: #1a1a1a;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.wpcf7 input[type=text]::placeholder,
.wpcf7 input[type=email]::placeholder,
.wpcf7 input[type=tel]::placeholder,
.wpcf7 input[type=number]::placeholder {
  color: #9ca3af;
}
.wpcf7 input[type=text]:focus,
.wpcf7 input[type=email]:focus,
.wpcf7 input[type=tel]:focus,
.wpcf7 input[type=number]:focus {
  outline: none;
  border-color: #695c4c;
  box-shadow: 0 0 0 3px rgba(105, 92, 76, 0.12);
}
.wpcf7 textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font: inherit;
  font-size: inherit;
  color: #1a1a1a;
  background: #fff;
  box-sizing: border-box;
  min-height: 130px;
  height: 120px;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.wpcf7 textarea::placeholder {
  color: #9ca3af;
}
.wpcf7 textarea:focus {
  outline: none;
  border-color: #695c4c;
  box-shadow: 0 0 0 3px rgba(105, 92, 76, 0.12);
}

.valuation-optional-note {
  border-radius: 0 10px 10px 0;
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
  margin-bottom: 15px;
}

[data-class=wpcf7cf_group] {
  background: rgba(105, 92, 76, 0.04);
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.valuation-additional-fields > p {
  margin: 0;
  display: grid;
  gap: 12px;
}
.valuation-additional-fields > p > br {
  display: none;
}
.valuation-additional-fields > p .wpcf7-form-control-wrap {
  display: block;
}
.valuation-additional-fields.valuation-cols-1 > p {
  grid-template-columns: 1fr;
}
.valuation-additional-fields.valuation-cols-2 > p {
  grid-template-columns: repeat(2, 1fr);
}
.valuation-additional-fields.valuation-cols-3 > p {
  grid-template-columns: repeat(3, 1fr);
}
.valuation-additional-fields.valuation-cols-5 > p {
  grid-template-columns: repeat(5, 1fr);
}
.valuation-additional-fields.valuation-cols-6 > p {
  grid-template-columns: repeat(6, 1fr);
}
@media (max-width: 900px) {
  .valuation-additional-fields.valuation-cols-5 > p, .valuation-additional-fields.valuation-cols-6 > p {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767px) {
  .valuation-additional-fields.valuation-cols-5 > p, .valuation-additional-fields.valuation-cols-6 > p {
    grid-template-columns: repeat(2, 1fr);
  }
  .valuation-additional-fields.valuation-cols-3 > p {
    grid-template-columns: repeat(2, 1fr);
  }
  .valuation-additional-fields.valuation-cols-2 > p {
    grid-template-columns: 1fr;
  }
}

[data-class=wpcf7cf_group] .valuation-additional-fields + .valuation-additional-fields {
  padding-top: 16px;
  border-top: 1px dashed #e5e7eb;
}

.wpcf7-checkbox {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.wpcf7-checkbox .wpcf7-list-item {
  margin: 0;
}
.wpcf7-checkbox .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  color: #1a1a1a;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  margin-top: 15px;
}
.wpcf7-checkbox .wpcf7-list-item label input[type=checkbox] {
  accent-color: #695c4c;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  cursor: pointer;
  margin: 0;
}
.wpcf7-checkbox .wpcf7-list-item label .wpcf7-list-item-label {
  line-height: 1;
}
.wpcf7-checkbox .wpcf7-list-item label:has(input[type=checkbox]:checked) {
  background: #968d82;
  border-color: #968d82;
  color: #fff;
}

div[data-id=group-rodzaj] {
  padding: 0;
  background: no-repeat;
  border: none;
}
div[data-id=group-rodzaj] .wpcf7-radio .wpcf7-list-item label {
  padding: 7px 18px;
}
div[data-id=group-rodzaj] .wpcf7-radio .wpcf7-list-item label:has(input[type=radio]:checked) {
  background: #968d82;
  border-color: #968d82;
  color: #fff;
}

.valuation-kw-row > p {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.valuation-kw-row > p > br {
  display: none;
}
.valuation-kw-row > p .wpcf7-form-control-wrap {
  display: block;
}
.valuation-kw-row > p .wpcf7-form-control-wrap[data-name^=nr_kw] {
  flex: 0 0 190px;
}
.valuation-kw-row > p .wpcf7-form-control-wrap:has(.wpcf7-checkbox) {
  flex: 1 1 auto;
}
.valuation-kw-row > p input[type=text] {
  height: 44px;
}
.valuation-kw-row > p .wpcf7-checkbox .wpcf7-list-item label {
  margin-top: 0;
  height: 44px;
}
@media (max-width: 767px) {
  .valuation-kw-row > p .wpcf7-form-control-wrap[data-name^=nr_kw] {
    flex-basis: 100%;
  }
}

.wpcf7 form > p:has(+ p input[type=file]),
.wpcf7 form > p:has(+ p .wpcf7-form-control-wrap input[type=file]) {
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: -8px;
}

.wpcf7 input[type=file] {
  color: #6b7280;
  font-size: 0.875rem;
}
.wpcf7 input[type=file]::file-selector-button {
  padding: 10px 20px;
  background: transparent;
  color: #695c4c;
  border: 1px solid #695c4c;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  margin-right: 12px;
  transition: background 0.2s, color 0.2s;
}
.wpcf7 input[type=file]::file-selector-button:hover {
  background: #695c4c;
  color: #fff;
}

.valuation-file-info {
  color: #6b7280;
  font-size: 0.8125rem;
  margin: 0;
  display: none;
}

.wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}
.wpcf7-acceptance .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  line-height: 1.55;
}
.wpcf7-acceptance .wpcf7-list-item label input[type=checkbox] {
  margin-top: 3px;
  accent-color: #695c4c;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  cursor: pointer;
}
.wpcf7-acceptance .wpcf7-list-item label .wpcf7-list-item-label {
  color: #6b7280;
  font-size: 0.875rem;
}

.wpcf7 input[type=submit].wpcf7-submit {
  display: inline-block;
  padding: 0.78rem 1.5rem;
  background-color: #695c4c;
  color: #fff;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  line-height: 1;
  transition: opacity 0.2s ease;
  appearance: none;
}
.wpcf7 input[type=submit].wpcf7-submit:hover, .wpcf7 input[type=submit].wpcf7-submit:focus {
  opacity: 0.9;
  outline: none;
}
.wpcf7 input[type=submit].wpcf7-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 767px) {
  .wpcf7-radio {
    gap: 6px;
  }
  .wpcf7-radio .wpcf7-list-item label {
    padding: 8px 14px;
    font-size: 0.875rem;
  }
}
