/* =============================================
   GLOBAL DESIGN SYSTEM & CSS VARIABLES
   ============================================= */

:root {
  /* Primary Brand (Orange) */
  --primary-50: #fff5f0;
  --primary-100: #ffe1d5;
  --primary-200: #ffc1a6;
  --primary-300: #ff9e75;
  --primary-400: #fe7843;
  --primary-500: #fe5716; /* Main Brand */
  --primary-600: #e24c12;
  --primary-700: #b33b0e;
  --primary-800: #802a0a;
  --primary-900: #4d1806;

  /* Secondary / Neutral Dark */
  --secondary-50: #f5f5f5;
  --secondary-100: #e5e5e5;
  --secondary-200: #cccccc;
  --secondary-300: #a3a3a3;
  --secondary-400: #737373;
  --secondary-500: #525252;
  --secondary-600: #404040;
  --secondary-700: #333333;
  --secondary-800: #272727; /* Main Secondary */
  --secondary-900: #141414;

  /* Accent / Background Light */
  --accent-50: #fffaf8;
  --accent-100: #fff6f2;
  --accent-200: #fff2ec; /* Main Accent */
  --accent-300: #ffe4da;
  --accent-400: #ffd1c0;
  --accent-500: #ffb699;
  --accent-600: #ff9466;
  --accent-700: #ff6b33;
  --accent-800: #fe5716;
  --accent-900: #d9440b;

  /* Status Colors (kept standard but slightly warmer if needed) */
  --success-50: #f0fdf4;
  --success-100: #dcfce7;
  --success-500: #22c55e;
  --success-600: #16a34a;
  --success-700: #15803d;

  --warning-50: #fffbeb;
  --warning-100: #fef3c7;
  --warning-500: #f59e0b;
  --warning-600: #d97706;

  --error-50: #fef2f2;
  --error-100: #fee2e2;
  --error-500: #ef4444;
  --error-600: #dc2626;

  /* Gray Scale */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Utility */
  --white: #ffffff;
  --black: #000000;
  
  /* Container Widths */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1536px;
  
  /* Responsive Breakpoints */
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;
}




/* =============================================
   BASE STYLES & RESETS
   ============================================= */

:focus-visible {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

.wpcf7 h1, .wpcf7 h2, .wpcf7 h3, .wpcf7 h4, .wpcf7 h5, .wpcf7 h6 {
  font-weight: 500;
  margin-bottom: 0;
  color: var(--gray-900);
}

.wpcf7 h1 {
  font-size: clamp(1.25rem, 4vw, 1.625rem);
}

.wpcf7 h2 {
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: var(--primary-600);
}

.wpcf7 h3 {
  font-size: clamp(0.875rem, 2.5vw, 1.125rem);
}

.wpcf7 h4 {
  font-size: clamp(0.875rem, 2vw, 1rem);
}

.wpcf7 p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.wpcf7 a {
  color: var(--primary-600);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 150ms ease-in-out;
}

.wpcf7 a:hover {
  color: var(--primary-700);
}

img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  max-width: 100%;
  height: auto;
}

/* =============================================
   LAYOUT & CONTAINER STYLES
   ============================================= */

.wpcf7 .container {
  width: 100%;
  max-width: var(--container-2xl);
  margin: 0 auto;
  padding: 0 clamp(0.5rem, 4vw, 1rem);
}

@media (min-width: 640px) {
  .wpcf7 .container {
    max-width: var(--container-sm);
    padding: 0 clamp(1rem, 4vw, 1.5rem);
  }
}

@media (min-width: 768px) {
  .wpcf7 .container {
    max-width: var(--container-md);
  }
}

@media (min-width: 1024px) {
  .wpcf7 .container {
    max-width: var(--container-lg);
    padding: 0 clamp(1.5rem, 4vw, 2rem);
  }
}

@media (min-width: 1280px) {
  .wpcf7 .container {
    max-width: var(--container-xl);
  }
}

@media (min-width: 1536px) {
  .wpcf7 .container {
    max-width: var(--container-2xl);
  }
}

/* =============================================
   FORM CONTAINER STYLES
   ============================================= */

.form-container {
  background-color: var(--white);
  border-radius: clamp(0.75rem, 2vw, 1.5rem);
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
  overflow: hidden;
  transition: transform 300ms ease-in-out, box-shadow 300ms ease-in-out;
  margin: clamp(1rem, 3vw, 1.5rem) auto;
  max-width: 1200px;
  border: 1px solid #bebebe;
}

.form-header {
  padding: clamp(0.75rem, 3vw, 1rem);
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.form-header h1 {
  color: var(--white);
  margin: 0;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-size: clamp(1.25rem, 4vw, 1.625rem);
}

/* =============================================
   PROGRESS INDICATOR STYLES
   ============================================= */

.form-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(1rem, 3vw, 1.5rem);
  background-color: var(--primary-50);
  position: relative;
  border-bottom: 1px solid var(--gray-200);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
  min-width: 80px;
}

.progress-step.active .step-label {
  color: var(--primary-700);
  font-weight: 600;
  border-bottom: 1px solid var(--primary-700);
}

.progress-step.completed .step-label {
  color: var(--success-600);
}

.step-label {
  font-size: clamp(0.625rem, 2vw, 0.75rem);
  color: #000;
  text-align: center;
  font-weight: 500;
  transition: all 300ms ease-in-out;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-content {
  background: #f9fafb;
}

/* =============================================
   FORM CONTENT STYLES
   ============================================= */

.form-content {
  padding: clamp(1rem, 4vw, 2rem);
}

.step {
  display: none;
  animation: fadeIn 300ms ease-out;
}

.step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-title {
  font-size: clamp(1.125rem, 4vw, 1.5rem);
  color: var(--primary-700);
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  padding-bottom: clamp(0.5rem, 2vw, 0.75rem);
  border-bottom: 2px solid #adadad;
  position: relative;
}

/* =============================================
   FORM GROUP & CONTROL STYLES
   ============================================= */

.form-group {
    margin-bottom: 4px;
  position: relative;
}

.form-group.required label::after {
  content: '*';
  color: var(--error-500);
  margin-left: 0.25rem;
}

label {
  display: block;
  margin-bottom: clamp(0.25rem, 1vw, 0.5rem);
  font-weight: 500;
  color: var(--gray-700);
  font-size: clamp(0.75rem, 2vw, 0.875rem);
}

.form-control {
  width: 100%;
  height: clamp(2.25rem, 5vw, 2.5rem);
  padding: clamp(0.375rem, 1vw, 0.5rem) clamp(0.5rem, 2vw, 0.75rem);
  border: 1px solid var(--gray-300);
  border-radius: clamp(0.375rem, 1vw, 0.5rem);
  font-size: clamp(0.875rem, 2vw, 1rem);
  line-height: 1.5;
  color: var(--gray-900);
  background-color: var(--white);
  transition: all 150ms ease-in-out;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(25, 71, 238, 0.2);
}

.form-control:hover {
  border-color: var(--gray-400);
}

.form-control::placeholder {
  color: var(--gray-400);
  font-style: italic;
}

.form-control.error {
  border-color: var(--error-500);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-control.error:focus {
  border-color: var(--error-500);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.error-msg {
  display: none;
  color: var(--error-600);
  font-size: clamp(0.625rem, 1.5vw, 0.75rem);
  margin-top: clamp(0.125rem, 0.5vw, 0.25rem);
  line-height: 1.25;
  font-weight: 500;
}

.form-group.error .error-msg,
.error + .error-msg,
.form-control.error + .error-msg {
  display: block;
}

textarea.form-control {
  min-height: clamp(80px, 20vw, 120px);
  padding-top: clamp(0.5rem, 1.5vw, 0.75rem);
  padding-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
  resize: vertical;
}

select.form-control,
.wpcf7-form-control.wpcf7-select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='var(--select-arrow-color, %23fe5716)' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right clamp(0.75rem, 2vw, 1rem) center;
  background-size: clamp(14px, 3vw, 16px);
  padding-right: clamp(2rem, 5vw, 2.5rem);
  cursor: pointer;
  transition: all 150ms ease-in-out;
  border: 1px solid var(--gray-300);
  border-radius: clamp(0.375rem, 1vw, 0.5rem);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  color: var(--gray-900);
  /* Set default arrow color */
  --select-arrow-color: var(--primary-500);
}

select.form-control:hover,
.wpcf7-form-control.wpcf7-select.form-control:hover {
  border-color: var(--primary-400);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  /* Change arrow color on hover */
  --select-arrow-color: var(--primary-400);
}

select.form-control:focus,
.wpcf7-form-control.wpcf7-select.form-control:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(254, 87, 22, 0.2);
  background-color: var(--white);
  /* Change arrow color on focus */
  --select-arrow-color: var(--primary-500);
}

select.form-control option,
.wpcf7-form-control.wpcf7-select.form-control option {
  background-color: var(--white);
  color: var(--gray-900);
  padding: 0.5rem;
}


/* =============================================
   CHECKBOX & RADIO STYLES
   ============================================= */

.checkbox-group,
.radio-group {
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 1.5vw, 0.75rem);
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

.wpcf7-form-control-wrap {
  position: relative;
  display: block;
  margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
}

.wpcf7-form-control.wpcf7-checkbox,
.wpcf7-form-control.wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.5rem, 1.5vw, 1rem);
  margin-top: clamp(0.25rem, 1vw, 0.5rem);
  box-shadow: none;
  border: none;
  padding: 3px 0px;
}

.wpcf7-form-control.wpcf7-checkbox span.wpcf7-list-item.first, 
.wpcf7-form-control.wpcf7-radio span.wpcf7-list-item.first {
  margin: 0;
}

.wpcf7-list-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 0;
  padding: 0;
}

.wpcf7-list-item.last {
  margin-bottom: 0;
}

.wpcf7-list-item label {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: 0;
  padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(1rem, 3vw, 1.25rem);
  border-radius: clamp(0.375rem, 1vw, 0.5rem);
  transition: all 150ms ease-in-out;
  background-color: var(--white);
  border: 1px solid var(--gray-300);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  width: auto;
  font-size: clamp(0.75rem, 2vw, 0.875rem);
}

.wpcf7-list-item label:hover {
  background-color: var(--primary-50);
  border-color: var(--primary-300);
  transform: translateY(-1px);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.wpcf7-list-item input[type="checkbox"],
.wpcf7-list-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
}

.wpcf7-list-item input[type="checkbox"] + .wpcf7-list-item-label {
  position: relative;
  padding-left: clamp(1.5rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  min-height: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 500;
  color: var(--gray-700);
  transition: color 150ms ease-in-out;
}

span#unknown-address {
  margin-left: clamp(0.75rem, 2vw, 1rem);
}

.wpcf7-list-item input[type="checkbox"] + .wpcf7-list-item-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(1rem, 2.5vw, 1.25rem);
  height: clamp(1rem, 2.5vw, 1.25rem);
  border-radius: clamp(0.25rem, 0.75vw, 0.375rem);
  border: 2px solid var(--gray-400);
  background-color: var(--white);
  transition: all 150ms ease-in-out;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.wpcf7-list-item input[type="checkbox"]:checked + .wpcf7-list-item-label::before {
  background-color: var(--primary-500);
  border-color: var(--primary-500);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.wpcf7-list-item input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
  content: '';
  position: absolute;
  left: clamp(0.25rem, 0.75vw, 0.35rem);
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: clamp(0.25rem, 0.75vw, 0.35rem);
  height: clamp(0.5rem, 1.25vw, 0.625rem);
  border: solid var(--white);
  border-width: 0 2px 2px 0;
}

.wpcf7-list-item input[type="checkbox"]:hover + .wpcf7-list-item-label::before {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(25, 71, 238, 0.1);
}

.wpcf7-list-item input[type="checkbox"]:focus + .wpcf7-list-item-label::before {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}

.wpcf7-list-item input[type="checkbox"]:checked + .wpcf7-list-item-label {
  color: var(--primary-700);
}

.wpcf7-list-item input[type="radio"] + .wpcf7-list-item-label {
  position: relative;
  padding-left: clamp(1.75rem, 4.5vw, 2.25rem);
  display: flex;
  align-items: center;
  min-height: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 500;
  color: var(--gray-700);
  transition: color 150ms ease-in-out;
}

.wpcf7-list-item input[type="radio"] + .wpcf7-list-item-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(1rem, 2.5vw, 1.25rem);
  height: clamp(1rem, 2.5vw, 1.25rem);
  border-radius: 50%;
  border: 2px solid var(--gray-400);
  background-color: var(--white);
  transition: all 150ms ease-in-out;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label::before {
  background-color: var(--primary-500);
  border-color: var(--primary-500);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label::after {
  content: '';
  position: absolute;
  left: clamp(0.25rem, 0.75vw, 0.35rem);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(0.375rem, 1vw, 0.5rem);
  height: clamp(0.375rem, 1vw, 0.5rem);
  border-radius: 50%;
  background-color: var(--white);
}

.wpcf7-list-item input[type="radio"]:hover + .wpcf7-list-item-label::before {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(25, 71, 238, 0.1);
}

.wpcf7-list-item input[type="radio"]:focus + .wpcf7-list-item-label::before {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}

.wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label {
  color: var(--primary-700);
}
.pdf-umzug-form .float-container-btns,.pdf-umzug-form a#scroll-top{
  display: none !important;
}
/* =============================================
   STEP 1: ADDRESS SECTION STYLES
   ============================================= */

.address-section {
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
    border: 1px solid #bdbdbd;
  border-radius: clamp(0.5rem, 1.5vw, 0.75rem);
  overflow: hidden;
  transition: all 300ms ease-in-out;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  background: #fff;
}

.address-section:hover {
  border-color: var(--primary-200);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.address-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
 padding: 6px 9px;
  background: var(--primary-50);
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

.firststepwrapper {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 3vw, 1.5rem);
}

.firststepwrapper > div {
  width: 100%;
}

.form-section.datesection, 
.form-section.contactsection {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: clamp(0.5rem, 1.5vw, 0.75rem);
  padding: clamp(0.75rem, 2vw, 1.25rem);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  transition: all 300ms ease-in-out;
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

.fourcolwrapper {
display: grid;
  flex-wrap: wrap;
  gap: clamp(0.75rem, 2vw, 1rem);
      grid-template-columns: 14% 27% 27% 27%;
}

.form-group.contdetail {
  width: 100%;
}

.form-group.anderewrapper {
  width: 100%;
}

h2.step-title {
  margin-bottom: clamp(1rem, 2.5vw, 1.25rem);
}

.address-title {
  margin: 0;
  color: var(--primary-700);
  font-size: clamp(0.875rem, 2.5vw, 1.125rem);
  font-weight: 600;
  display: flex;
  align-items: center;
}

.address-title::before, 
.section-title::before {
  content: '';
  display: inline-block;
  width: clamp(6px, 1.5vw, 8px);
  height: clamp(6px, 1.5vw, 8px);
  background-color: var(--primary-500);
  border-radius: 50%;
  margin-right: clamp(0.375rem, 1vw, 0.5rem);
}

.address-grid {
  display: grid;
  grid-template-columns: 1fr;
        gap: 0px 17px;
  padding: clamp(0.75rem, 2vw, 1rem);
}

.contactsection .address-grid {
  padding-left: 0;
}

[role="button"] {
  cursor: pointer;
  user-select: none;
}

.add-via-btn,
.remove-via-btn {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.375rem, 1vw, 0.5rem);
  padding: clamp(0.375rem, 1vw, 0.5rem) clamp(0.75rem, 2vw, 1rem);
  color: var(--primary-600);
  font-weight: 500;
  background: var(--primary-50);
  border: 1px solid var(--primary-200);
  border-radius: clamp(0.375rem, 1vw, 0.5rem);
  transition: all 150ms ease-in-out;
  cursor: pointer;
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  margin-top: clamp(0.5rem, 1.5vw, 0.75rem);
}

.remove-via-btn {
  margin-top: 0;
}

.add-via-btn {
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
      width: 100%;
}

.address-section .checkbox-group {
  margin: 0;
}

.add-via-btn:hover,
.remove-via-btn:hover {
  color: var(--primary-700);
  background: linear-gradient(to right, var(--primary-100), var(--primary-50));
  border-color: var(--primary-300);
  transform: translateY(-1px);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.remove-via-btn {
  color: var(--error-600);
  background: linear-gradient(to right, var(--error-50), var(--white));
  border-color: var(--error-200);
}

.remove-via-btn:hover {
  color: var(--error-700);
  background: linear-gradient(to right, var(--error-100), var(--error-50));
  border-color: var(--error-300);
}

.map-container {
  border: 1px solid var(--gray-200);
  border-radius: clamp(0.5rem, 1.5vw, 0.75rem);
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  position: relative;

}

#map {
  width: 100%;
  height: 100%;
  background-color: var(--gray-100);
}

.map-error {
  color: var(--error-600);
  padding: clamp(1rem, 3vw, 1.5rem);
  text-align: center;
  font-weight: 600;
  background-color: var(--error-50);
  border-radius: clamp(0.375rem, 1vw, 0.5rem);
  margin: clamp(0.75rem, 2vw, 1rem) 0;
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.distance-summary {
  display: none;
}

.distance-summary label {
  margin: 0;
  font-weight: 600;
  color: var(--gray-700);
  white-space: nowrap;
  font-size: clamp(0.75rem, 2vw, 0.875rem);
}

.distance-summary .form-control {
  max-width: 100%;
  font-weight: 500;
  color: var(--primary-700);
  background-color: var(--primary-50);
  border-color: var(--primary-200);
}

/* =============================================
   STEP 2: MOVING DETAILS STYLES
   ============================================= */

.two-column-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 3vw, 1.5rem);
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.column {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: clamp(0.5rem, 1.5vw, 0.75rem);
  padding: clamp(0.75rem, 2vw, 1.25rem);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  transition: all 300ms ease-in-out;
}

.column:hover {
  border-color: var(--primary-200);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.twofieldswrapper {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.75rem, 2vw, 1rem);
}

.twofieldswrapper > div {
  width: 100%;
}

span#current-elevator,
span#current-dismantle,
span#current-kitchen,
span#current-packing,
span#new-elevator,
span#new-assembly,
span#new-unpacking {
  display: block;
}

span#current-elevator {
  margin-top: clamp(0.5rem, 1.5vw, 0.75rem) !important;
}

span#current-elevator label,
span#current-dismantle label,
span#current-kitchen label,
span#current-packing label,
span#new-elevator label,
span#new-assembly label,
span#new-unpacking label {
  width: 100%;
}

.section-title {
  color: var(--primary-600);
  font-size: clamp(0.875rem, 2.5vw, 1.125rem);
  margin-bottom: 0;
  position: relative;
  font-weight: 600;
}

.wrapperdategrp {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 2vw, 1rem);
}

.wrapperdategrp > .form-group {
  width: 100%;
}

.datewrapper {
  width: 100%;
}

.date-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.75rem, 2vw, 1rem);
}

.conditional-field {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease-out;
  margin-top: 0;
  opacity: 0;
}

input:checked ~ .conditional-field,
select:valid ~ .conditional-field {
  max-height: 500px;
  margin-top: clamp(0.5rem, 1.5vw, 0.75rem);
  opacity: 1;
}

.input-with-dropdown {
display: grid;
grid-template-columns: 58% 40%;
}

.input-with-dropdown .form-control {
  flex: 1;
}
.form-group.wergrp {
    display: grid;
    grid-template-columns: 49% 49%;
    column-gap: 15px;
}
/* =============================================
   STEP 3: MOVING SPECIFICS STYLES
   ============================================= */

.step-3 .form-group {
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

.step-3 textarea {
  min-height: clamp(80px, 20vw, 120px);
  resize: vertical;
}

/* =============================================
   STEP 4: INVENTORY LIST STYLES
   ============================================= */

.accordion-container {
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--primary-400)
  border-radius: clamp(0.5rem, 1.5vw, 0.75rem);
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.accordion-item {
  border-bottom: 1px solid var(--primary-400);
  transition: all 300ms ease-in-out;
}

.accordion-item .wpcf7-form-control-wrap {
  width: fit-content;
  margin-bottom: 0;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-item:hover {
  background-color: var(--gray-50);
}

.accordion-header {
  width: 100%;
  padding: clamp(0.75rem, 2vw, 1rem);
  background: var(--primary-50);
  text-align: left;
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 0.75rem);
  cursor: pointer;
  font-weight: 600;
  transition: all 300ms ease-in-out;
  min-height: clamp(3rem, 8vw, 4rem);
  position: relative;
}

.accordion-header::after {
  content: '+';
  position: absolute;
  right: clamp(0.75rem, 2vw, 1rem);
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--primary-500);
  transition: transform 300ms ease-in-out;
}

.accordion-item.active .accordion-header::after {
  transform: translateY(-50%) rotate(45deg);
}

.accordion-header:hover {
  background: #fff;
  color: var(--primary-600);
}

.accordion-icon {
  width: clamp(1.25rem, 3vw, 1.5rem);
  height: clamp(1.25rem, 3vw, 1.5rem);
  flex-shrink: 0;
  color: var(--primary-500);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease-out;
  background-color: var(--white);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.5rem, 1.5vw, 0.75rem);
  padding: 0px 11px 0px 11px;
}

.accordion-item.active .accordion-content {
  max-height: 3000px;
}

.item-control-group {
     padding: 24px 15px 30px 15px;
  border-bottom: 1px solid var(--gray-100);
  transition: background-color 150ms ease-in-out;
      justify-self: center;
}

.item-control-group:last-child {
  border-bottom: none;
}

.item-control-group:hover {
  background-color: var(--gray-50);
}

.item-label {
  display: block;
  margin-bottom: clamp(0.25rem, 1vw, 0.5rem);
  font-weight: 500;
  color: var(--gray-700);
  font-size: clamp(0.75rem, 2vw, 0.875rem);
}

.item-row {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 0.75rem);
}

.quantity-btn {
  width: clamp(2.25rem, 5vw, 2.25rem);
  height: clamp(2.25rem, 5vw, 2.25rem);
  border: 1px solid var(--gray-300);
  border-radius: clamp(0.375rem, 1vw, 0.5rem);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 150ms ease-in-out;
  cursor: pointer;
  flex-shrink: 0;
  font-size: clamp(0.875rem, 2.5vw, 1.125rem);
}

.quantity-btn:hover {
  transform: scale(1.05);
}

.quantity-btn.decrement {
background-color: var(--secondary-50);
    color: var(--secondary-600);
    border-color: var(--secondary-600);
}

.quantity-btn.decrement:hover {
    background-color: var(--secondary-600);
    border-color: var(--secondary-600);
    color: var(--white);
}

.quantity-btn.increment {
    background-color: var(--primary-100);
    color: var(--primary-500);
    border-color: var(--success-200);
}
h3.summary-card-title {
    color: var(--white);
}
.quantity-btn.increment:hover {
  background-color: var(--primary-500);
  border-color: var(--primary-500);
  color: var(--white);
}

.smart-input {
  flex: 1;
  text-align: center;
  padding: clamp(0.375rem, 1vw, 0.5rem);
  border: 1px solid var(--gray-300);
  border-radius: clamp(0.25rem, 0.75vw, 0.375rem);
  min-width: clamp(3rem, 8vw, 4rem);
  max-width: 100%;
  font-weight: 500;
  color: var(--gray-800);
}

.packmaterialgrp .accordion-content {
  display: block;
}

.packing-instruction {
  margin-bottom: clamp(1rem, 3vw, 1.25rem);
  color: var(--gray-600);
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  text-align: center;
  line-height: 1.5;
  padding: clamp(0.5rem, 1.5vw, 0.75rem);
  background-color: var(--primary-50);
  border-radius: clamp(0.375rem, 1vw, 0.5rem);
  border-left: 4px solid var(--primary-400);
}

.packing-subheader {
  margin: clamp(0.75rem, 2vw, 1rem) 0 clamp(0.5rem, 1.5vw, 0.75rem) 0;
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  color: var(--gray-800);
  font-weight: 600;
  padding-bottom: clamp(0.375rem, 1vw, 0.5rem);
  border-bottom: 1px solid var(--gray-200);
}

.packmaterialgrp-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.75rem, 2vw, 1rem);
  padding: clamp(0.5rem, 1.5vw, 0.75rem);
}

.packing-total {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: clamp(0.75rem, 2vw, 1rem) auto;
  padding-top: clamp(0.75rem, 2vw, 1rem);
  border-top: 1px solid var(--gray-200);
  font-size: clamp(0.875rem, 2.5vw, 1.125rem);
  text-align: center;
  width: 100%;
  max-width: 100%;
  font-weight: 600;
  color: var(--primary-700);
}

.total-value {
  font-weight: 700;
  margin-left: clamp(0.5rem, 1.5vw, 0.75rem);
  padding: clamp(0.25rem, 0.75vw, 0.375rem) clamp(0.5rem, 1.5vw, 0.75rem);
  background-color: var(--primary-100);
  border-radius: clamp(0.375rem, 1vw, 0.5rem);
  color: var(--primary-800);
}

/* =============================================
   SUMMARY SIDEBAR STYLES
   ============================================= */

.summary-card {
  position: fixed;
  bottom: clamp(1rem, 3vw, 1.25rem);
  right: clamp(1rem, 3vw, 1.25rem);
  width: clamp(280px, 70vw, 320px);
  max-height: 70vh;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border-radius: clamp(0.75rem, 2vw, 1rem);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  transform: translateY(150%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.summary-card.active {
  transform: translateY(0);
}

.summary-card-header {
  display: flex;
  align-items: center;
  padding: clamp(0.75rem, 2vw, 1rem);
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  color: white;
  position: relative;
  overflow: hidden;
  height: auto;
}

.summary-card-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><path d="M0 20h40" stroke="rgba(255,255,255,0.1)" stroke-width="1" stroke-dasharray="5,5"/></svg>');
  background-size: 40px 40px;
  opacity: 0.3;
  z-index: 0;
}

.scene-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.sky {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to bottom, rgba(135, 206, 235, 0.3), rgba(135, 206, 235, 0.1));
}

.cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  opacity: 0.8;
}

.cloud::before,
.cloud::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}

.cloud-1 {
  width: 25px;
  height: 10px;
  top: 15%;
  left: 20%;
  animation: float-cloud 20s linear infinite;
}

.cloud-1::before {
  width: 15px;
  height: 15px;
  top: -7px;
  left: 5px;
}

.cloud-1::after {
  width: 20px;
  height: 12px;
  top: -5px;
  right: 5px;
}

.cloud-2 {
  width: 20px;
  height: 8px;
  top: 25%;
  left: 70%;
  animation: float-cloud 25s linear infinite;
  animation-delay: -10s;
}

.cloud-2::before {
  width: 12px;
  height: 12px;
  top: -6px;
  left: 4px;
}

.cloud-2::after {
  width: 15px;
  height: 10px;
  top: -4px;
  right: 4px;
}

.road-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  perspective: 200px;
  overflow: hidden;
}

.road {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: #444;
  transform: rotateX(60deg);
  transform-origin: bottom;
}

.road-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(
      90deg,
      #fff,
      #fff 10px,
      transparent 10px,
      transparent 20px
  );
  animation: road-move 1s linear infinite;
}

.road-line-2 {
  animation-delay: -0.5s;
}

.truck-container {
  position: absolute;
  bottom: 15px;
  left: -120px;
  width: 120px;
  height: 70px;
  animation: drive 8s linear infinite;
}

.moving-truck {
  width: 100%;
  height: 100%;
}

.wheel-front,
.wheel-rear {
  animation: rotate 0.8s linear infinite;
  transform-origin: center;
}

.wheel-front-inner,
.wheel-rear-inner {
  animation: rotate 0.8s linear infinite reverse;
  transform-origin: center;
}

.wheel-front-rim,
.wheel-rear-rim {
  animation: rotate 0.8s linear infinite;
  transform-origin: center;
}

@keyframes drive {
  0% {
    left: -120px;
  }
  100% {
    left: 100%;
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes road-move {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 20px 0;
  }
}

@keyframes float-cloud {
  0% {
    left: -30px;
  }
  100% {
    left: 100%;
  }
}

.summary-card-title {
  flex: 1;
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  font-weight: 600;
  margin: 0;
  position: relative;
  z-index: 2;
  color: #fff;
  letter-spacing: normal;
}

.summary-card-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(2rem, 5vw, 2.25rem);
  height: clamp(2rem, 5vw, 2.25rem);
  border-radius: clamp(0.5rem, 1.5vw, 0.75rem);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
  z-index: 2;
}

.summary-card-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.summary-card-body {
  padding: clamp(0.75rem, 2vw, 1rem);
  overflow-y: auto;
  flex: 1;
}

.summary-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(1rem, 2.5vw, 1rem);
  padding: clamp(0.75rem, 2vw, 1rem);
  background: rgba(25, 71, 238, 0.05);
  border-radius: clamp(0.5rem, 1.5vw, 0.75rem);
}

.summary-stat {
  text-align: center;
}

.summary-stat-label {
  font-size: clamp(0.625rem, 1.5vw, 0.75rem);
  color: var(--gray-500);
  margin-bottom: clamp(0.25rem, 0.75vw, 0.375rem);
}

.summary-stat-value {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 700;
  color: var(--primary-700);
}

.summary-stat-divider {
  width: 1px;
  height: clamp(2.5rem, 6vw, 3rem);
  background: rgba(0, 0, 0, 0.08);
}

.summary-items-container {
  margin-bottom: clamp(1rem, 2.5vw, 1rem);
}

.summary-category {
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
  padding: clamp(0.75rem, 2vw, 1rem);
  background: white;
  border-radius: clamp(0.5rem, 1.5vw, 0.75rem);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.summary-category h4 {
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 clamp(0.5rem, 1.5vw, 0.75rem) 0;
  display: flex;
  align-items: center;
}

.summary-category h4::before {
  content: '';
  display: inline-block;
  width: clamp(6px, 1.5vw, 8px);
  height: clamp(6px, 1.5vw, 8px);
  border-radius: 50%;
  background: var(--primary-500);
  margin-right: clamp(0.5rem, 1.5vw, 0.75rem);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: clamp(0.375rem, 1vw, 0.5rem) 0;
  font-size: clamp(0.625rem, 1.5vw, 0.75rem);
  color: var(--gray-600);
}

.summary-item .name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: clamp(0.5rem, 1.5vw, 0.75rem);
}

.summary-item .volume {
  font-weight: 600;
  color: var(--primary-600);
}

.summary-subtotal {
  display: flex;
  justify-content: space-between;
  padding: clamp(0.5rem, 1.5vw, 0.75rem) 0;
  margin-top: clamp(0.5rem, 1.5vw, 0.75rem);
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
  font-size: clamp(0.625rem, 1.5vw, 0.75rem);
  font-weight: 600;
  color: var(--gray-700);
}

.summary-total {
  display: none;
}

.summary-toggle-button {
  position: fixed;
  bottom: clamp(6rem, 15vw, 8rem);
  right: clamp(1.5rem, 4vw, 2rem);
  width: clamp(2.5rem, 6vw, 3rem);
  height: clamp(2.5rem, 6vw, 3rem);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(25, 71, 238, 0.3);
  z-index: 999;
  transition: all 0.3s ease;
  transform: scale(0);
  opacity: 0;
}

.summary-toggle-button.active {
  transform: scale(1);
  opacity: 1;
}

.summary-toggle-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(25, 71, 238, 0.4);
}

.summary-toggle-icon {
  position: relative;
}

.summary-toggle-badge {
  position: absolute;
  top: clamp(-0.5rem, -1.5vw, -0.75rem);
  right: clamp(-0.5rem, -1.5vw, -0.75rem);
  width: clamp(1.25rem, 3vw, 1.5rem);
  height: clamp(1.25rem, 3vw, 1.5rem);
  border-radius: 50%;
  background: var(--error-500);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.625rem, 1.5vw, 0.75rem);
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* =============================================
   ADDITIONAL COMPONENTS STYLES
   ============================================= */

.additional-notes {
  margin-top: clamp(1rem, 3vw, 1.5rem);
  padding: clamp(0.75rem, 2vw, 1.25rem);
  background-color: var(--gray-50);
  border-radius: clamp(0.5rem, 1.5vw, 0.75rem);
  border: 1px solid var(--gray-200);
}

.additional-notes label {
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
  font-size: clamp(0.875rem, 2.5vw, 1rem);
}

.privacy-notice {
  text-align: center;
  margin-top: clamp(1rem, 3vw, 1.5rem);
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  color: var(--gray-600);
  padding: clamp(0.5rem, 1.5vw, 0.75rem);
  background-color: var(--gray-100);
  border-radius: clamp(0.375rem, 1vw, 0.5rem);
  border-left: 4px solid var(--primary-400);
}
div#current-elevator-fields,div#new-elevator-fields{
border: 1px solid var(--primary-200);
    padding: 18px;
    margin-bottom: 32px !important;
    border-radius: 12px;
}
/* =============================================
   FORM ACTIONS & NAVIGATION STYLES
   ============================================= */

.form-actions {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 2vw, 1rem);
  margin-top: clamp(1.5rem, 4vw, 2rem);
  padding-top: clamp(1rem, 3vw, 1.5rem);
  border-top: 1px solid var(--gray-200);
}

.btn {
  padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(0.75rem, 2vw, 1rem);
  border-radius: clamp(0.375rem, 1vw, 0.5rem);
  font-weight: 500;
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  line-height: 1.5;
  transition: all 150ms ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.375rem, 1vw, 0.5rem);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  min-height: clamp(2.75rem, 7vw, 3.5rem);
  width: 100%;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0.2), rgba(255,255,255,0));
  transform: translateX(-100%);
  transition: transform 300ms ease-in-out;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-primary {
  background: linear-gradient(to right, var(--primary-500), var(--primary-600));
  color: var(--white);
  border-color: var(--primary-600);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-primary:hover {
  background: linear-gradient(to right, var(--primary-600), var(--primary-700));
  border-color: var(--primary-700);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-outline {
background: var(--secondary-700);
    color: var(--white);
    border-color: var(--gray-300);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.btn-outline:hover {
background: linear-gradient(to right, var(--secondary-600), var(--secondary-700));
    border-color: var(--secondary-700);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-outline:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

/* =============================================
   CF7 SPECIFIC STYLES
   ============================================= */

.wpcf7-form-control-wrap {
  display: block;
  margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
  width: 100%;
}

.swal2-actions {
  width: 100%;
  column-gap: clamp(0.75rem, 2vw, 1rem);
}

.wpcf7-form-control {
  width: 100%;
  padding: clamp(0.375rem, 1vw, 0.5rem) clamp(0.5rem, 1.5vw, 0.75rem);
  border: 1px solid var(--gray-300);
  border-radius: clamp(0.375rem, 1vw, 0.5rem);
  font-size: clamp(0.875rem, 2vw, 1rem);
  line-height: 1.5;
  color: var(--gray-900);
  transition: all 150ms ease-in-out;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.wpcf7-form-control:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(25, 71, 238, 0.2);
}

.wpcf7-form-control:hover {
  border-color: var(--gray-400);
}

.wpcf7-form-control::placeholder {
  color: var(--gray-400);
  font-style: italic;
}

.wpcf7-form-control.error {
  border-color: var(--error-500);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.wpcf7-form-control.error:focus {
  border-color: var(--error-500);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.hidden-moebel,
.hidden-moebel-title {
  display: none;
}

.Final-submit {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* =============================================
   FLATPICKR DATE PICKER CUSTOM STYLES
   ============================================= */

.flatpickr-calendar {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: clamp(0.5rem, 1.5vw, 0.75rem);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  padding: clamp(0.75rem, 2vw, 1rem);
  width: max-content;
  transition: all 300ms ease-in-out;
  color: var(--gray-900);
  max-width: 90vw;
  left: 50% !important;
  transform: translateX(-50%);
}

.flatpickr-months {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
}

.flatpickr-current-month {
  font-weight: 600;
  font-size: clamp(0.875rem, 2vw, 1rem);
  color: var(--gray-900);
  padding: clamp(0.375rem, 1vw, 0.5rem);
  border-radius: clamp(0.375rem, 1vw, 0.5rem);
}

.flatpickr-prev-month,
.flatpickr-next-month {
  color: var(--primary-600);
  cursor: pointer;
  transition: all 150ms ease-in-out;
  padding: clamp(0.375rem, 1vw, 0.5rem);
  border-radius: clamp(0.375rem, 1vw, 0.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(1.5rem, 4vw, 2rem);
  height: clamp(1.5rem, 4vw, 2rem);
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
  color: var(--primary-500);
  background-color: var(--primary-50);
}

.flatpickr-weekdays {
  display: flex;
  justify-content: space-between;
  margin-bottom: clamp(0.375rem, 1vw, 0.5rem);
}

.flatpickr-weekday {
  color: var(--gray-500);
  font-weight: 500;
  text-align: center;
  width: clamp(1.5rem, 4vw, 2rem);
  font-size: clamp(0.625rem, 1.5vw, 0.75rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.flatpickr-days {
  display: flex;
  flex-wrap: wrap;
}

.flatpickr-day {
  width: clamp(1.5rem, 4vw, 2rem);
  height: clamp(1.5rem, 4vw, 2rem);
  line-height: clamp(1.5rem, 4vw, 2rem);
  text-align: center;
  border-radius: clamp(0.375rem, 1vw, 0.5rem);
  margin: clamp(0.125rem, 0.5vw, 0.25rem);
  cursor: pointer;
  transition: all 150ms ease-in-out;
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  font-weight: 500;
}

.flatpickr-day.today {
  background-color: var(--primary-100);
  color: var(--primary-700);
  font-weight: 700;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background-color: var(--primary-600);
  color: var(--white);
  font-weight: 700;
}

.flatpickr-day.inRange,
.flatpickr-day.prevMonthDay.inRange,
.flatpickr-day.nextMonthDay.inRange {
  background-color: var(--primary-100);
  color: var(--primary-700);
}

.flatpickr-day:hover {
  background-color: var(--primary-100);
  color: var(--primary-700);
}

.flatpickr-day.disabled {
  color: var(--gray-400);
  cursor: not-allowed;
}

.flatpickr-day.disabled:hover {
  background-color: transparent;
}

.flatpickr-time {
  border-top: 1px solid var(--gray-200);
  margin-top: clamp(0.75rem, 2vw, 1rem);
  padding-top: clamp(0.5rem, 1.5vw, 0.75rem);
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 0.75rem);
}

.flatpickr-time input {
  border: 1px solid var(--gray-300);
  border-radius: clamp(0.25rem, 0.75vw, 0.375rem);
  padding: clamp(0.375rem, 1vw, 0.5rem);
  width: clamp(2rem, 5vw, 3rem);
  text-align: center;
  transition: all 150ms ease-in-out;
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  font-weight: 500;
}

.flatpickr-time input:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(25, 71, 238, 0.2);
  outline: none;
}

.flatpickr-wrapper {
  position: relative;
}

.flatpickr-calendar-icon {
  position: absolute;
  right: clamp(0.75rem, 2vw, 1rem);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: clamp(1rem, 2.5vw, 1.2em);
  color: var(--primary-500);
}
.swal2-actions button {
    width: 44%;
}
/* =============================================
   SWEETALERT CUSTOM STYLES
   ============================================= */

.swal2-popup {
  border-radius: clamp(0.75rem, 2vw, 1.5rem);
  padding: clamp(0.75rem, 2vw, 1.25rem);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--gray-200);
  max-width: 90vw;
}

.swal2-title {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  color: var(--gray-900);
}

.swal2-content {
  font-size: clamp(0.875rem, 2vw, 1rem);
  color: var(--gray-700);
}

.swal2-confirm {
  background: linear-gradient(to right, var(--primary-500), var(--primary-600)) !important;
  border: none !important;
  color: var(--white) !important;
  padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(0.75rem, 2vw, 1.25rem) !important;
  border-radius: clamp(0.375rem, 1vw, 0.5rem) !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
  transition: all 150ms ease-in-out !important;
}

.swal2-confirm:hover {
  background: linear-gradient(to right, var(--primary-600), var(--primary-700)) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

.swal2-cancel {
  background: var(--white) !important;
  border: 1px solid var(--gray-300) !important;
  color: var(--gray-700) !important;
  padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(0.75rem, 2vw, 1.25rem) !important;
  border-radius: clamp(0.375rem, 1vw, 0.5rem) !important;
  font-weight: 500 !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
  transition: all 150ms ease-in-out !important;
}

.swal2-cancel:hover {
  background: var(--gray-50) !important;
  border-color: var(--gray-400) !important;
  color: var(--gray-800) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

/* =============================================
   UNKNOWN ADDRESS MESSAGE STYLES
   ============================================= */

.unknown-address-message {
  background-color: var(--warning-50);
  border-left: 4px solid var(--warning-500);
  padding: clamp(0.5rem, 1.5vw, 0.75rem);
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
  border-radius: clamp(0.375rem, 1vw, 0.5rem);
  color: var(--warning-700);
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  font-weight: 500;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}



/* =============================================
   ROUTE TEXT STYLES
   ============================================= */

#route-text {
  margin-top: clamp(0.75rem, 2vw, 1rem);
  padding: clamp(0.75rem, 2vw, 1rem);
  background-color: var(--gray-50);
  border-radius: clamp(0.375rem, 1vw, 0.5rem);
  border: 1px solid var(--gray-200);
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  line-height: 1.5;
}

.route-segment {
  margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
  padding-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
  border-bottom: 1px dashed var(--gray-400);
}

.route-segment:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.route-total {
  margin-top: clamp(0.5rem, 1.5vw, 0.75rem);
  font-weight: 600;
  color: var(--primary-700);
}


/* =============================================
   PACKING MATERIAL TOTAL STYLES
   ============================================= */

.packing-material-total {
  margin-top: clamp(0.5rem, 1.5vw, 0.75rem);
  padding: clamp(0.375rem, 1vw, 0.5rem);
  background-color: var(--primary-50);
  border-radius: clamp(0.375rem, 1vw, 0.5rem);
  color: var(--primary-700);
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  font-weight: 500;
  text-align: center;
}



/* =============================================
   DIRECTIONS PANEL STYLES
   ============================================= */

#directions-panel {
    background-color: var(--white);
    border-radius: 0;
    padding: 0px 15px 0px 15px;
    margin-top: 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--gray-200);
    overflow-y: auto;
}

.route-segment {
    padding: 22px 4px 15px 4px;
    border-bottom: 1px dashed var(--gray-400);
    margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
}

.route-segment:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.route-name {
  color: var(--primary-600);
  font-weight: 600;
  margin-bottom: clamp(0.375rem, 1vw, 0.5rem);
  font-size: clamp(0.875rem, 2vw, 1rem);
}

.route-addresses {
  margin-bottom: clamp(0.375rem, 1vw, 0.5rem);
  color: var(--gray-700);
  line-height: 1.5;
}

.route-distance {
  color: var(--gray-600);
  font-weight: 500;
}

.route-total {
    margin-top: clamp(0.5rem, 1.5vw, 0.75rem);
    padding: 7px 3px 17px 3px;
    color: var(--primary-700);
    font-weight: 700;
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    text-align: center;
}

.distances-arrow {
  color: var(--primary-500);
  margin: 0 clamp(0.375rem, 1vw, 0.5rem);
}



@media (max-width: 767.98px) {
  #directions-panel {
    padding: clamp(0.5rem, 1.5vw, 0.75rem);
  }
  
  .route-name {
    font-size: clamp(0.75rem, 2vw, 0.875rem);
  }
  
  .route-addresses {
    font-size: clamp(0.75rem, 2vw, 0.875rem);
  }
  
  .route-distance {
    font-size: clamp(0.75rem, 2vw, 0.875rem);
  }
  
  .route-total {
    font-size: clamp(0.875rem, 2vw, 1rem);
  }
}

/* =============================================
   RESPONSIVE STYLES
   ============================================= */

@media (min-width: 768px) {
  .firststepwrapper {
    flex-direction: row;
    gap: clamp(1rem, 3vw, 1.5rem);
  }
  
  .firststepwrapper > div {
    width: 50%;
  }
  
  .fourcolwrapper {
    gap: clamp(0.75rem, 2vw, 1rem);
  }
  
 
  
  .two-column-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(1rem, 3vw, 1.5rem);
  }
  
  .twofieldswrapper > div {
    width: 48%;
  }
  
  .wrapperdategrp {
    flex-direction: row;
    gap: clamp(0.75rem, 2vw, 1rem);
  }
  
  .wrapperdategrp > .form-group {
    width: 33%;
  }
  
  .datewrapper {
    width: 67%;
  }
  
  .date-group {
    grid-template-columns: 1fr 1fr;
    gap: clamp(0.75rem, 2vw, 1rem);
  }
  
  .input-with-dropdown {
    flex-direction: row;
    gap: clamp(0.5rem, 1.5vw, 0.75rem);
  }
  
  .accordion-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .packmaterialgrp-wrapper {
    grid-template-columns: 1fr 1fr;
  }
  
  .form-actions {
    flex-direction: row;
    gap: clamp(1rem, 3vw, 1.75rem);
  }
  
  .btn {
    width: 100%;
    min-width: 120px;
  }
  
  .address-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
           gap: 0px 17px;
  }
  
  .distance-summary {
    flex-direction: row;
    align-items: center;
    gap: clamp(0.375rem, 1vw, 0.5rem);
  }
  
  .distance-summary .form-control {
    max-width: 150px;
  }
  
  .wpcf7-form-control.wpcf7-radio {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: clamp(0.375rem, 1vw, 0.5rem);
  }
  
  .wpcf7-list-item {
    flex-shrink: 0;
  }
}

@media (min-width: 1024px) {
  .form-content {
    padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 2.5vw, 1.5rem);
  }
  
  .form-header {
    padding: clamp(1rem, 2.5vw, 1.5rem);
  }
  
  .form-container {
    margin: clamp(1.25rem, 3vw, 1.75rem) auto;
  }
  
  
  
  .summary-card {
    width: 320px;
  }
}

@media (min-width: 1280px) {
  .accordion-content {
    grid-template-columns: 33% 33% 33%;
  }
  
  .packmaterialgrp-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 800px) {
  .summary-card{
        bottom: clamp(1rem, 23vw, 6.25rem);
  }
  .two-column-grid{
            grid-template-columns: 100%;
  }
  .fourcolwrapper{
        grid-template-columns: 48% 48%;
  }
}
@media (max-width: 575.98px) {
  .form-container {
    border-radius: clamp(0.5rem, 1.5vw, 0.75rem);
    margin: clamp(0.5rem, 1.5vw, 0.75rem) 0;
  }
  
  .form-header {
    padding: clamp(0.75rem, 2vw, 1rem);
  }
  
  .form-content {
    padding: clamp(0.75rem, 2vw, 1rem) clamp(0.5rem, 1.5vw, 0.75rem);
  }
  
  .form-header h1 {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
  }
  
  .wpcf7 h1 {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
  }
  
  .wpcf7 h2 {
    font-size: clamp(0.875rem, 2vw, 1rem);
  }
  
  .wpcf7 h3 {
    font-size: clamp(0.875rem, 2vw, 1rem);
  }
  
  .progress-step {
    flex: 1;
  }
  
  .address-header {
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(0.375rem, 1vw, 0.5rem);
  }
  
  .accordion-header {
    padding: clamp(0.5rem, 1.5vw, 0.75rem);
    min-height: clamp(2.5rem, 6vw, 3rem);
  }
  
  .item-row {
    flex-direction: row;
    align-items: stretch;
    gap: clamp(0.375rem, 1vw, 0.5rem);
  }
  
  .smart-input {
    max-width: 100%;
    text-align: center;
  }
  
  .quantity-controls {
    display: flex;
    justify-content: center;
    gap: clamp(0.375rem, 1vw, 0.5rem);
  }
  
  .flatpickr-day {
    width: clamp(1.25rem, 3vw, 1.75rem);
    height: clamp(1.25rem, 3vw, 1.75rem);
    line-height: clamp(1.25rem, 3vw, 1.75rem);
    font-size: clamp(0.625rem, 1.5vw, 0.75rem);
  }
  
  .flatpickr-weekday {
    width: clamp(1.25rem, 3vw, 1.75rem);
    font-size: clamp(0.625rem, 1.5vw, 0.75rem);
  }
  
  .wpcf7-form-control.wpcf7-radio {
    flex-direction: row;
    gap: clamp(0.375rem, 1vw, 0.5rem);
  }
  .input-with-dropdown{
        grid-template-columns: 100%;
  }
  .fourcolwrapper{
        grid-template-columns: 100%;
  }
  .form-group.wergrp{
        grid-template-columns: 100%;
  }
  .checkbox-group, .radio-group{
        margin-bottom: 0;
  }
}

/* =============================================
   HIGH RESOLUTION DISPLAYS
   ============================================= */

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .form-container {
    border: 0.5px solid var(--gray-200);
  }
  
  .form-control,
  .wpcf7-form-control {
    border-width: 0.5px;
  }
}

/* =============================================
   PRINT STYLES
   ============================================= */

@media print {
  .form-progress,
  .form-actions,
  .add-via-btn,
  .remove-via-btn,
  .summary-toggle,
  .summary-sidebar {
    display: none !important;
  }
  
  .form-container {
    box-shadow: none;
    border: 1px solid var(--gray-400);
    border-radius: 0;
  }
  
  .step {
    display: block !important;
    opacity: 1 !important;
  }
  
  .container {
    max-width: none;
    padding: 0;
  }
  
  .form-header {
    background: var(--gray-800) !important;
    color: var(--white) !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}


/* =============================================
   REDUCED MOTION SUPPORT
   ============================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .step {
    animation: none;
  }
  
  .btn:hover {
    transform: none;
  }
  
  .quantity-btn:hover {
    transform: none;
  }
  
  .accordion-header::after {
    transition: none;
  }
}

/* =============================================
   FOCUS VISIBLE STYLES
   ============================================= */

:focus-visible {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}



/* =============================================
   ORIENTATION-SPECIFIC STYLES
   ============================================= */

@media (max-width: 767.98px) and (orientation: landscape) {
  .form-container {
    max-height: 90vh;
    overflow-y: auto;
  }
  

  
  .form-header {
    padding: clamp(0.5rem, 1.5vw, 0.75rem);
  }
  
  .form-content {
    padding: clamp(0.5rem, 1.5vw, 0.75rem);
  }
}

/* =============================================
   VERY LARGE SCREENS
   ============================================= */

@media (min-width: 1600px) {
  .wpcf7 .container {
    max-width: 1400px;
  }
  
  .form-container {
    max-width: 1400px;
  }
}

/* =============================================
   CUSTOM SCROLLBAR STYLES
   ============================================= */

::-webkit-scrollbar {
  width: clamp(6px, 1.5vw, 8px);
  height: clamp(6px, 1.5vw, 8px);
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
  border-radius: clamp(0.25rem, 0.75vw, 0.375rem);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border-radius: clamp(0.25rem, 0.75vw, 0.375rem);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-500);
}


/* =============================================
   FORM FOOTER COPYRIGHTSTYLE
   ============================================= */

.form-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 1.5rem);
  margin-top: clamp(1.5rem, 4vw, 2rem);
  border-top: 1px solid var(--gray-200);
  background-color: var(--gray-50);
  border-radius: 0 0 clamp(0.75rem, 2vw, 1.5rem) clamp(0.75rem, 2vw, 1.5rem);
  transition: all 300ms ease-in-out;
}

.footer-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 1.5vw, 0.75rem);
  text-decoration: none;
  color: var(--gray-700);
  transition: all 200ms ease-in-out;
  padding: clamp(0.5rem, 1.5vw, 0.75rem);
  border-radius: clamp(0.375rem, 1vw, 0.5rem);
}

.footer-link:hover {
  color: var(--primary-600);
  background-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.footer-logo {
  height: clamp(2rem, 5vw, 2.5rem);
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: all 200ms ease-in-out;
}

.footer-link:hover .footer-logo {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.footer-text {
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  font-weight: 500;
  text-align: center;
  transition: all 200ms ease-in-out;
}

/* =============================================
   FOOTER RESPONSIVE STYLES
   ============================================= */

@media (min-width: 768px) {
  .form-footer {
    flex-direction: row;
    gap: clamp(1rem, 3vw, 1.5rem);
  }
  
  .footer-link {
    flex-direction: row;
  }
}

/* =============================================
   FOOTER DARK MODE STYLES
   ============================================= */

