/* 1 WORLD AUTOMOTIVE — VEHICLE FINDER */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f3f8fc;
  color: #07182b;
}

.finder-page {
  min-height: 100vh;
  padding: 32px 20px 70px;
}

.finder-container {
  width: min(100%, 1100px);
  margin: 0 auto;
}

.finder-back {
  display: inline-block;
  margin-bottom: 36px;
  padding: 10px 0;
  color: #087fae;
  font-weight: 700;
  text-decoration: none;
}

.finder-label {
  margin: 0 0 14px;
  color: #087fae;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
}

.finder-heading {
  margin: 0;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -1.5px;
}

.finder-heading span {
  color: #087fae;
}

.finder-intro {
  max-width: 640px;
  margin: 20px 0 32px;
  color: #526779;
  line-height: 1.7;
}

.finder-form {
  padding: clamp(20px, 4vw, 40px);
  border: 1px solid #d3e3ed;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 16px 45px rgba(7, 24, 43, 0.06);
}

.finder-section {
  min-width: 0;
  margin: 0;
  padding: 24px 0;
  border: 0;
  border-bottom: 1px solid #e1eaf0;
}

.finder-section legend,
.finder-field-label {
  display: block;
  margin-bottom: 14px;
  padding: 0;
  color: #19334b;
  font-size: 13px;
  font-weight: 700;
}

.finder-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.finder-choice {
  position: relative;
  cursor: pointer;
}

.finder-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.finder-choice-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid #bfd3e0;
  border-radius: 12px;
  background: #ffffff;
  color: #19334b;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.finder-choice:hover .finder-choice-content {
  border-color: #087fae;
  background: #eef9ff;
}

.finder-choice input:checked + .finder-choice-content {
  border-color: #087fae;
  background: #087fae;
  color: #ffffff;
}

.finder-choice input:focus-visible + .finder-choice-content {
  outline: 3px solid #07182b;
  outline-offset: 4px;
}

.finder-choice input:disabled + .finder-choice-content {
  opacity: 0.5;
  cursor: not-allowed;
}

.price-choice .finder-choice-content {
  width: 88px;
  height: 88px;
  padding: 8px;
  border-radius: 50%;
  line-height: 1.4;
}

.finder-choice-image {
  display: block;
  width: 64px;
  height: 40px;
  object-fit: contain;
}

.finder-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.finder-field {
  min-width: 0;
}

.finder-input,
.finder-select,
.finder-textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #bfd3e0;
  border-radius: 10px;
  background: #ffffff;
  color: #07182b;
  font: inherit;
  font-size: 16px;
}

.finder-textarea {
  min-height: 110px;
  resize: vertical;
}

.finder-input:focus-visible,
.finder-select:focus-visible,
.finder-textarea:focus-visible {
  outline: 3px solid #087fae;
  outline-offset: 2px;
}

.finder-select:disabled {
  background: #f1f5f8;
  color: #526779;
}

.finder-more {
  margin-top: 24px;
  border-bottom: 1px solid #e1eaf0;
}

.finder-more summary {
  padding: 16px 0;
  color: #19334b;
  font-weight: 700;
  cursor: pointer;
}

.finder-more-content {
  padding-bottom: 24px;
}

.finder-selected {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.finder-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #bfd3e0;
  border-radius: 24px;
  background: #eef9ff;
  color: #19334b;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.finder-clear {
  min-height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  color: #087fae;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.finder-actions {
  margin-top: 28px;
}

.finder-submit {
  min-height: 50px;
  padding: 15px 26px;
  border: 0;
  border-radius: 10px;
  background: #087fae;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.finder-submit:hover {
  background: #06658c;
}

.finder-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.finder-submit:focus-visible,
.finder-tag:focus-visible,
.finder-clear:focus-visible,
.finder-more summary:focus-visible,
.finder-back:focus-visible {
  outline: 3px solid #07182b;
  outline-offset: 4px;
}

.finder-note,
.finder-status {
  margin: 14px 0 0;
  color: #526779;
  font-size: 14px;
  line-height: 1.6;
}

.finder-error {
  color: #a61c28;
}

[hidden] {
  display: none !important;
}

@media (max-width: 600px) {
  .finder-page {
    padding: 22px 16px 50px;
  }

  .finder-form {
    border-radius: 18px;
  }

  .finder-fields {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .finder-options {
    gap: 10px;
  }

  .price-choice .finder-choice-content {
    width: 76px;
    height: 76px;
    font-size: 13px;
  }

  .finder-submit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .finder-choice-content {
    transition: none;
  }
}