/* Vehicle Transport Estimator - Pixel Perfect Styles */

/* Import Montserrat fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,800;1,600&display=swap');

/* Container */
.vte-wrap {
  width: 405px;
  margin: 0 auto;
  padding: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-weight: 800;
  font-size: 14px;
  box-sizing: border-box;
}

.vte-wrap *,
.vte-wrap *::before,
.vte-wrap *::after {
  box-sizing: border-box;
}

.vte-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Select Dropdown Styling */
.vte-select-wrapper {
  position: relative;
  width: 100%;
}

.vte-select {
  width: 100%;
  height: 56px;
  padding: 16px 40px 16px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 24px;
  color: #000000;
  background-color: #FFFFFF;
  border: 2px solid #000000;
  border-radius: 0px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  outline: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
}

.vte-select:focus {
  border-color: #000000;
  outline: none;
}

.vte-select option {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #000000;
  padding: 8px;
}

.vte-select option:first-child {
  color: #000000;
}

/* Estimate Box - Beige Background */
.vte-estimate-box {
  width: 100%;
  padding: 20px;
  background-color: #FEF3E6;
  border-radius: 0;
  margin: 0;
}

.vte-estimate-row {
  margin-bottom: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 24px;
}

.vte-estimate-row:last-child {
  margin-bottom: 0;
}

.vte-estimate-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #000000;
  display: inline;
}

.vte-estimate-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #D84315;
  display: inline;
  margin-left: 4px;
}

/* Disclaimer Text */
.vte-disclaimer {
  margin: 16px 0 0 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  font-style: italic;
  line-height: 14px;
  color: #4E4E4E;
  text-align: center;
}

/* Message Box - Same Beige Background */
.vte-message-box {
  width: 100%;
  padding: 20px;
  background-color: #FEF3E6;
  border-radius: 0;
  margin: 0;
}

.vte-message-box p {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 24px;
  color: #000000;
}

#vte-message-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 800;
}

#vte-message-text .vte-call-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #D84315;
  text-decoration: none;
  cursor: pointer;
}

/* Action Buttons */
.vte-actions {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.vte-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 24px;
  border-radius: 0px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.vte-btn-call {
  background-color: #FFFFFF;
  color: #D84315;
  border: 2px solid #D84315;
}

.vte-btn-call:hover {
  background-color: #FFF5F2;
}

.vte-btn-call:active {
  background-color: #FFE8E0;
}

.vte-btn-next {
  background: linear-gradient(135deg, #F25010 0%, #8D2E09 100%);
  color: #FFFFFF;
  border: 0px;
}

.vte-btn-next:hover {
  background: linear-gradient(135deg, #D84315 0%, #7A2707 100%);
}

.vte-btn-next:active {
  background: linear-gradient(135deg, #C23910 0%, #6B2205 100%);
}

.vte-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.vte-btn-submit {
  min-width: 140px;
}

.vte-actions-center {
  justify-content: center;
}

/* Step Management */
.vte-step {
  padding: 40px;
  background-color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Input Fields */
.vte-input-wrapper {
  position: relative;
  width: 100%;
}

.vte-input {
  width: 100%;
  height: 56px;
  padding: 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 24px;
  color: #000000;
  background-color: #FFFFFF;
  border: 2px solid #000000;
  border-radius: 0px;
  outline: none;
  box-sizing: border-box;
}

.vte-input::placeholder {
  color: #000000;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 800;
  opacity: 1;
}

.vte-input:focus {
  border-color: #000000;
  outline: none;
}

/* intl-tel-input Custom Styling */
.iti {
  width: 100%;
  display: block;
}

.iti__input {
  width: 100%;
  height: 56px;
  padding: 16px 16px 16px 80px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 24px !important;
  color: #000000 !important;
  background-color: #FFFFFF !important;
  border: 2px solid #000000 !important;
  border-radius: 0px !important;
  outline: none !important;
  box-sizing: border-box !important;
}

.iti__input::placeholder {
  color: #000000 !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  opacity: 1 !important;
}

.iti__input:focus {
  border-color: #000000 !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Country selector button */
.iti__country-container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.iti__selected-country {
  height: 56px;
  padding: 0 12px 0 16px;
  display: flex;
  align-items: center;
  background-color: transparent;
  border: none;
  outline: none;
}

.iti__selected-country:hover,
.iti__selected-country:focus {
  background-color: transparent;
  outline: none;
}

.iti__flag {
  margin-right: 8px;
  border-radius: 2px;
}

.iti__selected-dial-code {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #000000;
  margin-left: 8px;
}

.iti__arrow {
  border-top-color: #000000;
  margin-left: 6px;
}

/* Dropdown styling */
.iti__dropdown-content {
  border: 2px solid #000000;
  border-radius: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #FFFFFF;
  max-height: 250px;
}

.iti__search-input {
  width: calc(100% - 20px);
  margin: 10px;
  padding: 8px 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid #000000;
  border-radius: 0;
  outline: none;
}

.iti__search-input:focus {
  border-color: #000000;
  box-shadow: none;
}

.iti__country {
  padding: 8px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #000000;
}

.iti__country:hover,
.iti__country.iti__highlight {
  background-color: #FEF3E6;
}

.iti__dial-code {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #000000;
}

.iti__country-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #000000;
}

/* Error state */
.iti__input.iti__input--error {
  border-color: #D84315 !important;
}

/* Consent Checkbox Styling */
.vte-consent-wrapper {
  width: 100%;
  margin-top: -9px;
}

.vte-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  color: #000000;
}

.vte-consent-checkbox {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border: 2px solid #000000;
  border-radius: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #FFFFFF;
  position: relative;
  outline: none;
}

.vte-consent-checkbox:checked {
  background-color: #000000;
}

.vte-consent-checkbox:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 4px;
  height: 10px;
  border: solid #FFFFFF;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.vte-consent-checkbox:focus {
  outline: 2px solid #000000;
  outline-offset: 2px;
}

.vte-consent-text {
  flex: 1;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  color: #000000;
}

.vte-consent-link {
  color: #F25010;
  text-decoration: underline;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  transition: color 0.2s ease;
}

.vte-consent-link:hover {
  color: #D84315;
}

.vte-consent-link:active {
  color: #C23910;
}

/* Hidden state */
[hidden] {
  display: none !important;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
  .vte-wrap {
    max-width: 100%;
    padding: 0 16px;
  }

  .vte-actions {
    flex-direction: column;
  }

  .vte-btn {
    width: 100%;
  }
}
