/* File: freight-agency/assets/css/forms.css */

/* General Form Request */
.request-quote-form form {
  padding: 20px 50px;
  width: 100%;
}

.request-quote-form form .shipment-data-wrapper {
  margin-top: 30px;
}

.request-quote-form form h4 {
  font-weight: 700;
  font-size: 1rem; /* 16px */
  line-height: 1.4;
  margin-bottom: 20px;
}

.request-quote-form form .inputs-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
  gap: 15px;
}

.request-quote-form form .inputs-row.checkboxes {
  justify-content: flex-start;
  gap: 30px;
}

.request-quote-form form .inputs-row label {
  font-size: 1rem; /* 16px */
  display: inline-block;
  margin-bottom: 5px;
  font-weight: 500;
}

.request-quote-form form .inputs-row .input-wrapper {
  width: 50%;
}

.request-quote-form form .inputs-row input,
.request-quote-form form .inputs-row select {
  padding: 15px 17px;
  width: 100%;
  height: 50px;
  background: #ffffff;
  border: 1px solid #a2a2a2;
  margin-left: 0;
  color: var(--color-text-main);
  font-family: var(--font-main);
  opacity: 1;
  font-weight: 600;
}

.request-quote-form form .inputs-row input::placeholder,
.request-quote-form form .inputs-row select::placeholder {
  font-family: var(--font-main);
  color: #a2a2a2;
  opacity: 1;
}

.request-quote-form form .inputs-row select {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  background-image: url('data:image/svg+xml,<svg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9 1L5 5L1 1" stroke="%23E9E9E9" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 8px 4px;
  cursor: pointer;
  font-size: 0.875rem; /* 14px */
}

.request-quote-form form .inputs-row select option {
  font-family: var(--font-main);
  font-size: 0.875rem; /* 14px */
}

.request-quote-form form .inputs-row select * {
  border-radius: 0;
}

.request-quote-form form .inputs-row .short-inputs {
  display: flex;
  gap: 15px;
  width: 33.333%;
}

.request-quote-form form .inputs-row .checkbox label {
  display: inline-flex;
  align-items: center;
  margin-right: 45px;
  cursor: pointer;
  user-select: none;
  position: relative;
  font-family: var(--font-main);
  font-style: normal;
  font-weight: 600;
  font-size: 0.875rem; /* 14px */
  line-height: 1.0625rem;
  color: var(--color-text-main);
}

.request-quote-form form .inputs-row .checkbox label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.request-quote-form form .inputs-row .checkbox label .checkmark {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(162, 162, 162, 1);
  margin-right: 8px;
  transition: all 0.2s;
  display: inline-block;
  position: relative;
}

.request-quote-form form .inputs-row .checkbox label .checkmark::after {
  content: '';
  position: absolute;
  display: none;
}

.request-quote-form form .inputs-row .checkbox label input:checked + .checkmark {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.request-quote-form form .submit-wrapper {
  margin-top: 20px;
}

.request-quote-form form .submit-wrapper input {
  width: 100%;
  background-color: var(--color-secondary);
  text-align: center;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem; /* 14px */
  line-height: 1.0625rem;
  padding: 25px 0;
  max-height: 68px;
  cursor: pointer;
  border: 1px solid var(--color-secondary);
  transition: 0.4s;
}

.request-quote-form form .submit-wrapper input:hover {
  background-color: #fff;
  color: var(--color-secondary);
}

/* WPCF7 Forms */
form.wpcf7-form {
  margin-bottom: 30px;
}

form.wpcf7-form .row-inline {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
}

form.wpcf7-form .wpcf7-form-control-wrap {
  width: 100%;
}

form.wpcf7-form input,
form.wpcf7-form textarea,
form.wpcf7-form input:not([type='submit']) {
  padding: 15px 17px;
  width: 100%;
  height: 50px;
  background: #ffffff;
  border: 1px solid #a2a2a2;
  margin-left: 0;
  color: var(--color-text-main);
  font-family: var(--font-main);
  opacity: 1;
  font-weight: 600;
  font-size: 0.875rem; /* 14px */
  border-radius: 0;
}

form.wpcf7-form input::placeholder,
form.wpcf7-form textarea::placeholder,
form.wpcf7-form input:not([type='submit'])::placeholder {
  color: #a2a2a2;
  font-family: var(--font-main);
  opacity: 1;
  font-weight: 600;
}

form.wpcf7-form textarea {
  min-height: 150px;
  resize: none;
  margin: 20px 0;
}

form.wpcf7-form input[type='submit'] {
  width: 100%;
  background-color: var(--color-secondary);
  text-align: center;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.0625rem;
  padding: 25px 0;
  max-height: 68px;
  cursor: pointer;
  border: 1px solid var(--color-secondary);
  transition: 0.4s;
  height: auto;
}

form.wpcf7-form input[type='submit']:hover {
  background-color: #fff;
  color: var(--color-secondary);
}

.cf7-multi-step-form .form-step {
  display: none;
}

.cf7-multi-step-form .form-step.active-step {
  display: block;
}