/* ===== Form Wrapper ===== */

.zk-project-visuals {
  position: relative;
  height:100%;
}

.zk-project-visual {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .45s ease, transform .45s ease;
}

.zk-project-visual.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.zk-project-visual img {
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}

#zkMultiStepForm {
  max-width: 1100px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 18px;
  padding: 48px 56px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ===== Progress Bar ===== */

.zk-progress-wrap {
  margin-bottom: 40px;
}

.zk-progress-bar {
  height: 6px;
  background: #eef2f7;
  border-radius: 6px;
  overflow: hidden;
}

.zk-progress-fill {
    display:block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg,#2563eb,#1d4ed8);
  transition: width .45s cubic-bezier(.4,0,.2,1);
}

.zk-progress-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
}

.zk-progress-step {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  transition: background .3s ease, color .3s ease;
}

.zk-progress-step.active {
  background: #2563eb;
  color: #fff;
}

.zk-progress-step.completed {
  background: #16a34a;
  color: #fff;
}

/* ===== Step Layout (Pure CSS Animations) ===== */

.zk-step {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}

.zk-step.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ===== Grid System ===== */

.zkMultiFormDetails {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 28px;
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .zk-project-visuals {
    min-height: 360px;
    margin-bottom: 24px;
  }

  .zkMultiFormDetails {
    grid-template-columns: 1fr;
  }

  #zkMultiStepForm {
    padding: 28px 22px;
  }
}

/* ===== Inputs ===== */

#zkMultiStepForm input[type="text"],
#zkMultiStepForm input[type="email"],
#zkMultiStepForm input[type="tel"],
#zkMultiStepForm select,
#zkMultiStepForm textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font-size: 15px;
  background: #fafafa;
  transition: border .2s ease, box-shadow .2s ease, background .2s ease;
}

#zkMultiStepForm input:focus,
#zkMultiStepForm select:focus,
#zkMultiStepForm textarea:focus {
  border-color: #2563eb;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

/* ===== Labels ===== */

#zkMultiStepForm label {
  font-weight: 600;
  font-size: 14px;
  color: #374151;
  display: block;
  margin-bottom: 8px;
}

/* ===== Radio & Checkbox ===== */

.zk-radio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.zk-radio-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  transition: background .2s ease, border .2s ease, transform .15s ease;
}

.zk-radio-grid label:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
}

.zk-radio-grid input {
  accent-color: #2563eb;
}

.zk-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.zk-choice-grid--primary {
  margin-bottom: 32px;
}

.zk-choice-card {
  display: flex !important;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 16px 18px !important;
  border: 1px solid #d7e3f3 !important;
  border-radius: 14px !important;
  background: #f8fbff !important;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .15s ease;
}

.zk-choice-card:hover {
  border-color: #93c5fd !important;
  background: #eef6ff !important;
}

.zk-choice-card:has(input:checked) {
  border-color: #2563eb !important;
  background: #eff6ff !important;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

.zk-choice-card span {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.35;
}

.zk-conditional-group,
.zk-conditional-branch {
  display: none;
  padding: 20px 22px 2px;
  margin-bottom: 24px;
  border: 1px solid #dbe6f4;
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfdff, #f5f9ff);
}

.zk-conditional-group.active,
.zk-conditional-branch.active {
  display: block;
}

.zk-conditional-group > label:first-child,
.zk-conditional-branch > label:first-child {
  margin-top: 0;
}

.zk-conditional-group > label,
.zk-conditional-branch > label {
  margin-top: 18px;
}

.zk-inline-field {
  margin-bottom: 20px;
}

.zk-inline-field label {
  margin-bottom: 8px;
}

/* ===== Toggle Sections (Pure CSS Accordion) ===== */

.zk-toggle-section {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .35s ease, opacity .25s ease;
}

.zk-toggle-section.active {
  max-height: 600px;
  opacity: 1;
}

/* ===== Textareas ===== */

#zkMultiStepForm textarea {
  min-height: 120px;
  resize: vertical;
}

/* ===== Navigation ===== */

.zk-form-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 38px;
  gap: 16px;
}

/* ===== Buttons ===== */

.zk-prev,
.zk-next,
.zk-submit {
  padding: 14px 36px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(90deg,#2563eb,#1d4ed8);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}

.zk-prev {
  background: #e5e7eb;
  color: #374151;
}

.zk-prev:hover {
  background: #d1d5db;
}

.zk-next:hover,
.zk-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37,99,235,.3);
}

/* ===== Section spacing ===== */

.zk-step > label {
  margin-top: 20px;
}

/* ===== File upload ===== */

#zkMultiStepForm input[type="file"] {
  border: 1px dashed #c7d2fe;
  background: #f8fafc;
  padding: 16px;
  border-radius: 12px;
}

/* ===== Acceptance ===== */

.zk-acceptance {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: #4b5563;
}

/* ===== Thank You Screen (Pure CSS Animation) ===== */

#zkThankYou {
  display: none;
  opacity: 0;
  transform: scale(.97);
  transition: opacity .4s ease, transform .4s ease;
  padding: 80px 20px;
  text-align: center;
}

#zkThankYou.active {
  display: block;
  opacity: 1;
  transform: scale(1);
}

.zk-thank-you-box {
  max-width: 520px;
  margin: 0 auto;
  background: #ffffff;
  padding: 60px 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.zk-thank-you svg {
  color: #16a34a;
  margin-bottom: 20px;
}

.zk-thank-you h2 {
  font-size: 32px;
  margin-bottom: 12px;
  font-weight: 800;
}

.zk-thank-you p {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.6;
}
