/* k5starpdl CCPA Form Styles */

.form-grid .wpcf7-list-item:first-child {
  margin: 0;
}

@media only screen and (max-width: 768px) {
  .form-grid .wpcf7-list-item {
    margin: 0;
  }
}

.form-grid p {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

@media only screen and (min-width: 768px) {
  .form-grid p {
    flex-direction: row;
  }
}

.form-grid p.form-help-text {
  margin-bottom: 20px;
}

.form-grid .form-section-header p {
  margin-bottom: 20px;
}

.form-grid label {
  width: 100%;
  font-size: 14px;
  color: #3C3C3C;
}

@media only screen and (min-width: 768px) {
  .form-grid label {
    width: 50%;
  }
}

.form-grid .select {
  max-width: 100%;
  height: 48px;
}

.form-grid .select-styled {
  padding-top: 12px;
  padding-bottom: 12px;
}

.form-grid .select-styled:after {
  top: 10px;
}

.form-grid br {
  display: none;
}

.form-grid input[type=email],
.form-grid input[type=tel],
.form-grid input[type=text] {
  width: 100%;
  background-color: transparent;
  border: 1px solid #CFD1DD;
  border-radius: 4px;
}

.form-grid input[type=date] {
  padding: 9px 15px;
  width: 100%;
  height: 48px;
  background-color: #fff;
  border: 1px solid #CFD1DD;
  border-radius: 4px;
}

.form-grid-full label {
  width: 100%;
}

.form-grid-button {
  position: relative;
  text-align: center;
}

.form-grid-button-wrap p {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.form-grid-button-wrap span {
  position: absolute;
  left: 50%;
  transform: translateX(-110px);
  top: 15px;
}

.form-grid-button-wrap svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  transition: all 0.3s;
}

.form-grid-button p {
  margin-bottom: 0;
  justify-content: center;
}

.form-grid-button input[type=submit].wpcf7-submit {
  margin-top: 0;
  width: 100%;
  max-width: 320px;
  padding-top: 13px;
  padding-right: 0;
  padding-bottom: 13px;
  background-color: #A81F1F;
  border-radius: 40px;
  border: 1px solid #A81F1F;
}

.form-grid-button input[type=submit].wpcf7-submit:hover {
  background-color: #921515;
  border-color: #921515;
}

.form-grid-button .wpcf7-spinner {
  position: absolute;
  top: -28px;
}

.form-grid-button .form-help-text {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-top: 0.75rem;
}

.form-grid h2 {
  line-height: 1.2;
  font-size: 18px;
}

.form-grid h3 {
  line-height: 1.2;
  font-size: 15px;
}

.form-grid hr {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Radio boxes */
.form-grid .cf7-radio-box label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  cursor: pointer;
}

.form-grid .cf7-radio-box input[type=radio] {
  position: relative;
  margin: 0;
  min-width: 18px;
  height: 18px;
  border: 2px solid #A81F1F;
  border-radius: 50%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-grid .cf7-radio-box input[type=radio]:before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  top: 50%;
  left: 50%;
  background-color: #A81F1F;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s ease;
}

.form-grid .cf7-radio-box input[type=radio]:checked:before {
  transform: translate(-50%, -50%) scale(1);
}

.form-grid .cf7-radio-box label:hover input[type=radio] {
  border-color: #A81F1F;
}

/* Confirm box */
.form-grid .cf7-confirm-box {
  padding: 16px;
  background-color: #fef2f2;
  border-radius: 8px;
}

.form-grid .cf7-confirm-box label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  line-height: 1.5;
  font-size: 15px;
  cursor: pointer;
}

.form-grid .cf7-confirm-box input[type=checkbox] {
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  width: 20px;
  height: 20px;
  background-color: transparent;
  border: 2px solid #A81F1F;
  border-radius: 4px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-grid .cf7-confirm-box input[type=checkbox]:before {
  content: "";
  position: absolute;
  background-color: #A81F1F;
  border-radius: 2px;
  transform: scale(0);
  transition: transform 0.2s ease;
  inset: 3px;
}

.form-grid .cf7-confirm-box input[type=checkbox]:checked:before {
  transform: scale(1);
}

.form-grid .cf7-confirm-box label:hover input[type=checkbox] {
  border-color: #A81F1F;
}

.form-grid .cf7-confirm-box .wpcf7-not-valid {
  border-color: #D63638 !important;
}

.form-grid .cf7-confirm-box p {
  margin-bottom: 0;
}

/* Timeline box */
.form-grid .timeline-box {
  flex-direction: column;
  gap: 4px;
  margin-top: 16px;
  margin-bottom: 0;
  padding: 1rem;
  font-size: 0.8125rem;
  color: #744210;
  background-color: #fffff0;
  border: 1px solid #ecc94b;
  border-radius: 8px;
}

.form-grid .timeline-box strong {
  display: block;
  font-size: 0.875rem;
  color: #975a16;
}

/* Captcha text */
.form-grid .form-captcha-text {
  display: inline-block;
  margin-bottom: 30px;
  padding: 10px 16px;
  font-size: 13px;
  background-color: #fff;
  border: 1px solid #edf2f7;
  border-radius: 8px;
}

/* Checkbox request options */
.form-grid .cf7-checkbox .wpcf7-checkbox {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-grid .cf7-checkbox .wpcf7-list-item {
  margin: 0;
}

.form-grid .cf7-checkbox .wpcf7-list-item label {
  display: grid;
  grid-template-columns: 18px 1fr;
  column-gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-grid .cf7-checkbox .wpcf7-list-item label:hover {
  border-color: #A81F1F;
  background-color: #f8fafc;
}

.form-grid .cf7-checkbox input[type=checkbox] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  background: #fff;
  border: 2px solid #cbd5e1;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.form-grid .cf7-checkbox .wpcf7-form-control-wrap,
.form-grid .cf7-checkbox p {
  width: 100%;
}

.form-grid .cf7-checkbox p {
  margin-bottom: 20px;
}

.form-grid .cf7-checkbox input[type=checkbox]:checked {
  background-color: #A81F1F;
  border-color: #A81F1F;
}

.form-grid .cf7-checkbox input[type=checkbox]:checked:after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-grid .cf7-checkbox .wpcf7-list-item-label {
  display: block;
}

.form-grid .cf7-checkbox .wpcf7-list-item-label:before {
  content: attr(data-title);
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
}

.form-grid .cf7-checkbox .wpcf7-list-item-label:after {
  content: attr(data-desc);
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.4;
}

.form-grid .cf7-checkbox input[type=checkbox]:checked + .wpcf7-list-item-label {
  color: #111827;
}

.form-grid .cf7-checkbox input[type=checkbox]:checked + .wpcf7-list-item-label:before {
  color: #921515;
}

@media (max-width: 640px) {
  .form-grid .cf7-checkbox .wpcf7-list-item label {
    padding: 12px 14px;
  }

  .form-grid .cf7-checkbox .wpcf7-list-item-label:before {
    font-size: 14px;
  }

  .form-grid .cf7-checkbox .wpcf7-list-item-label:after {
    font-size: 13px;
  }
}

/* Section header */
.form-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.form-section-header svg {
  width: 18px;
  height: 18px;
  stroke: #A81F1F;
}

/* Section badges */
.form-section-badge {
  padding: 5px 10px;
  text-transform: uppercase;
  letter-spacing: 0.075em;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #EA4335;
  background-color: #fed7d7;
  border-radius: 4px;
}

.form-section-badge.tag-optional {
  color: #718096;
  background-color: #edf2f7;
}

.form-section-badge.tag-easy {
  color: #276749;
  background-color: #c6f6d5;
}

.form-section-badge.tag-verify {
  color: #975a16;
  background-color: #fefcbf;
}

/* Step circles */
.form-section-step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-weight: 600;
  font-size: 0.8125rem;
  color: white;
  background-color: #A81F1F;
  border-radius: 50%;
}

/* Help text */
.form-help-text {
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  color: #718096;
}

.form-text {
  font-size: 0.8125rem;
}

.svg-icon-wrap-30 svg {
  min-width: 30px;
}
