/* Look-alike theme for JotForm 251804973383060 */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, -apple-system, "Segoe UI", sans-serif;
  background: #f3f3fe;
  color: #2c3345;
  -webkit-font-smoothing: antialiased;
}

.form-wrap {
  max-width: 752px;
  margin: 72px auto;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 4px 4px rgba(87, 100, 126, 0.21);
}

.form-header-bar {
  padding: 40px 36px 28px;
  border-bottom: 1px solid #ebebf2;
}
.form-header-bar h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  color: #2c3345;
}

.page { padding: 8px 36px 24px; }
.page[hidden] { display: none; }

/* ---- field rows ---- */
.form-line {
  padding: 12px 0;
  scroll-margin-top: 24px;
}
.form-line[hidden] { display: none; }

.col-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}
.col-group > .form-line {
  flex: 0 1 calc(50% - 12px);
  width: calc(50% - 12px);
  min-width: 240px;
}

label.form-label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #2c3345;
  margin-bottom: 8px;
  line-height: 1.45;
}
.required-star { color: #d0021b; margin-left: 3px; }

.form-sub-label {
  display: block;
  font-size: 12px;
  color: #57647e;
  margin-top: 5px;
  line-height: 1.4;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
select,
textarea {
  width: 100%;
  height: 40px;
  padding: 0 10px;
  font-family: inherit;
  font-size: 16px;
  color: #2c3345;
  background: #fff;
  border: 1px solid #b8bdc9;
  border-radius: 4px;
  outline: none;
}
textarea { height: 120px; padding: 10px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  border-color: #2e69ff;
  box-shadow: 0 0 0 3px rgba(46, 105, 255, 0.14);
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232c3345' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

/* radio / checkbox */
.radio-group { display: flex; flex-direction: column; gap: 8px; }
.radio-option {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 16px;
  color: #2c3345;
  cursor: pointer;
  line-height: 1.4;
}
.radio-option input {
  width: 19px; height: 19px;
  margin: 1px 0 0;
  accent-color: #2e69ff;
  flex-shrink: 0;
  cursor: pointer;
}

/* compound fields */
.sub-grid { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.sub-grid .sub-col { flex: 1 1 calc(50% - 8px); min-width: 160px; }
.sub-grid .sub-col.full { flex-basis: 100%; }
.datetime-row { display: flex; gap: 12px; }
.datetime-row .date-part { flex: 1.4; }
.datetime-row .time-part { flex: 1; }

/* file upload */
.file-drop {
  border: 1px dashed #b8bdc9;
  border-radius: 4px;
  background: #fafafc;
  padding: 22px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.file-drop:hover, .file-drop.dragover { border-color: #2e69ff; background: #f2f6ff; }
.file-drop .browse-btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: #2c3345;
  background: #fff;
  border: 1px solid #b8bdc9;
  border-radius: 4px;
  padding: 8px 18px;
  pointer-events: none;
}
.file-drop .drop-hint { font-size: 12px; color: #57647e; margin-top: 8px; }
.file-list { list-style: none; margin: 8px 0 0; padding: 0; }
.file-list li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: #2c3345;
  background: #f4f4f7;
  border-radius: 4px;
  padding: 6px 10px;
  margin-top: 6px;
}
.file-list .rm {
  margin-left: auto;
  border: 0; background: none; cursor: pointer;
  color: #57647e; font-size: 16px; line-height: 1; padding: 2px 4px;
}
.file-list .rm:hover { color: #d0021b; }

/* address autocomplete */
.ac-host { position: relative; }
.ac-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid #d6d9e0;
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(44, 51, 69, 0.16);
  z-index: 30;
  max-height: 320px;
  overflow-y: auto;
}
.ac-sect {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #57647e;
  padding: 9px 14px 4px;
}
.ac-item {
  padding: 9px 14px;
  font-size: 15px;
  color: #2c3345;
  cursor: pointer;
  line-height: 1.35;
}
.ac-item .ac-sub { font-size: 12.5px; color: #57647e; }
.ac-item:hover, .ac-item.active { background: #f2f6ff; }
.ac-empty { padding: 10px 14px; font-size: 13px; color: #57647e; }
.ac-google {
  font-size: 11px;
  color: #8a93a6;
  text-align: right;
  padding: 6px 14px 8px;
  border-top: 1px solid #eef0f4;
}

/* dividers */
.form-divider { border: 0; border-top: 1px solid #d6d9e0; margin: 10px 0; }

/* errors */
.form-line.error input,
.form-line.error select,
.form-line.error textarea,
.form-line.error .file-drop { border-color: #d0021b; }
.error-msg {
  display: none;
  font-size: 13px;
  color: #d0021b;
  margin-top: 6px;
}
.form-line.error .error-msg { display: block; }

/* footer buttons */
.form-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 36px 32px;
  border-top: 1px solid #ebebf2;
}
.footer-spacer { flex: 1; }
.btn {
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  border-radius: 4px;
  padding: 0 28px;
  height: 44px;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-next {
  background: #2e69ff;
  color: #fff;
  font-weight: 600;
  min-width: 110px;
}
.btn-next:hover { background: #2456d6; }
.btn-next[disabled] { opacity: .6; cursor: default; }
.btn-save, .btn-back {
  background: #fff;
  color: #2c3345;
  border-color: #d6d9e0;
}
.btn-save:hover, .btn-back:hover { background: #f4f4f7; }

/* thank you */
.thank-you { text-align: center; padding: 90px 36px 110px; }
.thank-check {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #2e69ff;
  color: #fff;
  font-size: 34px;
  line-height: 64px;
}
.thank-you h2 { font-size: 28px; font-weight: 600; margin: 0 0 8px; }
.thank-you p { font-size: 16px; color: #57647e; margin: 0; }

/* toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  background: #2c3345;
  color: #fff;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  z-index: 50;
}

/* submitting overlay state */
.btn-next.loading { position: relative; color: transparent; }
.btn-next.loading::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 800px) {
  .form-wrap { margin: 0; border-radius: 0; box-shadow: none; }
  .form-header-bar { padding: 28px 20px 20px; }
  .form-header-bar h1 { font-size: 24px; }
  .page { padding: 4px 20px 16px; }
  .form-footer { padding: 16px 20px 24px; }
}

/* stack side-by-side columns only on phones; tablets keep two columns */
@media (max-width: 640px) {
  .col-group > .form-line { flex-basis: 100%; width: 100%; }
}
