/* CSS Variables for brand theme */
body.auto-quote-page{
  --primary-color: #33c0b4; /* brand color */
  --primary-hover: #33c0b4; /* Darker Green */
  --profession-accent: #33c0b4; /* Tiffany blue for Profession step */
  --profession-accent-light: rgba(51, 192, 180, 0.12);
  --primary-light: #e6f4e6; /* Soft Green background */
  --primary-glow: rgba(0, 138, 0, 0.12);
  
  --dark-green: #33c0b4; /* Dark Forest Green for headers and accents */
  
  --text-dark: #2F2F2E; /* Charcoal/Off-black */
  --text-medium: #666666; /* Medium Grey */
  --text-light: #767676; /* Muted Grey */
  
  --bg-page: #F4F7F6; /* Soft green-gray background */
  --bg-card: #FFFFFF; /* Pure White background for form container */
  --border-color: #CCCCCC; /* Muted light border */
  --border-focus: #008a00;
  
  --error-color: #33c0b4;
  --error-bg: rgba(51, 192, 180, 0.10); /* Soft red tint */
  --success-color: #008a00;
  --success-bg: #e6f4e6;
  
  --font-sans: "Open Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Open Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --border-radius: 4px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  
  --transition-smooth: all 0.2s ease-in-out;
}

/* Global Utilities */
.auto-quote-page .hidden{
  display: none !important;
}

/* Global Reset & Base Styles */
.auto-quote-page *, .auto-quote-page *::before, .auto-quote-page *::after{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.auto-quote-page{
  scroll-behavior: smooth;
}

body.auto-quote-page{
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.5;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

/* Sticky Header */
.auto-quote-page .sticky-header{
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background-color: rgb(230, 0, 0);
  border-top: 0;
  border-bottom: 1px solid rgb(230, 0, 0);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.03);
  z-index: 1000;
}

.auto-quote-page .header-container{
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
}

.auto-quote-page .header-logo{
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.auto-quote-page .logo-img{
  max-height: 32px; /* Reduced from 48px to look compact and premium */
  width: auto;
  object-fit: contain;
}

.auto-quote-page .header-title{
  flex: 2;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  padding: 0 16px;
}

.auto-quote-page .header-phone{
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.auto-quote-page .phone-link{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 15px;
  transition: var(--transition-smooth);
}

.auto-quote-page .phone-link:hover{
  color: var(--primary-color);
}

.auto-quote-page .phone-icon{
  display: none; /* Hide old phone icon to match TD screenshot */
}

.auto-quote-page .phone-number{
  border-bottom: 1.5px solid transparent;
}

.auto-quote-page .phone-link:hover .phone-number{
  border-bottom-color: var(--primary-color);
}

.auto-quote-page .phone-arrow{
  margin-left: 6px;
  font-size: 14px;
  font-weight: bold;
  color: var(--primary-color);
}

/* Progress Subheader */
.auto-quote-page .progress-subheader{
  background-color: #FFFFFF;
  border-bottom: 1px solid #EAEAEA;
  padding: 14px 0 0 0;
  position: sticky;
  top: 70px; /* Adjusted to match sticky-header height of 70px */
  z-index: 990;
}

.auto-quote-page .progress-container{
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px 12px 24px;
}

.auto-quote-page .progress-left{
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--text-medium);
}

.auto-quote-page .progress-step-text strong{
  color: var(--text-dark);
  font-weight: 700;
}

.auto-quote-page .progress-divider{
  margin: 0 8px;
  color: var(--border-color);
}

.auto-quote-page .progress-title-text{
  font-weight: 500;
  color: var(--text-dark);
}

.auto-quote-page .progress-right{
  display: flex;
  align-items: center;
}

.auto-quote-page .secure-badge{
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-color); /* Matches brand lock badge */
}

.auto-quote-page .secure-icon{
  margin-right: 4px;
  font-size: 12px;
}

/* Visual Progress Line */
.auto-quote-page .progress-bar-bg{
  width: 100%;
  height: 2px; /* Very thin, clean line */
  background-color: #EAEAEA;
  position: relative;
}

.auto-quote-page .progress-bar-fill{
  height: 100%;
  background-color: var(--primary-color);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Main Content Area */
.auto-quote-page .main-content{
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 100px 24px;
  display: flex;
  justify-content: center;
}

.auto-quote-page .form-wrapper{
  width: 100%;
  max-width: 720px;
  overflow: visible;
  position: relative;
  transition: height 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.auto-quote-page #quote-form{
  display: block;
  width: 100%;
}

/* Step Cards - elegant white card containers */
.auto-quote-page .step-card{
  background-color: var(--bg-card);
  border: 1px solid #E4EBE7;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 63, 45, 0.05);
  padding: 48px 40px;
  width: 100%;
  display: none; /* Hide inactive step cards completely from flow */
  opacity: 0;
}

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

.auto-quote-page .step-card.active{
  display: block;
  animation: fadeInCard 0.4s ease forwards;
  pointer-events: auto;
}

.auto-quote-page .step-card.completed{
  display: none; /* Keep completed steps out of the layout flow */
}

/* Step Header - Centered and clean */
.auto-quote-page .step-header{
  margin-bottom: 10px;
  text-align: center;
}

.auto-quote-page .step-question{
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--dark-green); /* dark brand color */
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.auto-quote-page .step-question::after{
  content: "?";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--primary-color);
  color: var(--primary-color);
  margin-left: 8px;
  vertical-align: middle;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  top: -3px;
}

.auto-quote-page .step-instruction{
  font-size: 16px;
  color: var(--text-medium);
  line-height: 1.5;
}

/* Main heading color only: if the step header has only one instruction line,
   that line is the top/main heading. Helper text below an H2 stays grey. */
.auto-quote-page .step-header > .step-instruction:only-child{
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

/* Step Body centered container */
.auto-quote-page .step-body{
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

/* Form Groups and Inputs */
.auto-quote-page .form-group{
  margin-bottom: 24px;
  position: relative;
}

.auto-quote-page .field-subtext{
  font-size: 13px;
  color: var(--text-medium);
  margin-top: 8px;
  line-height: 1.4;
}

/* Premium Outlined Input Box (form style) */
.auto-quote-page .input-wrapper{
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 8px 16px 10px 16px;
  background-color: #FFFFFF;
  transition: var(--transition-smooth);
  cursor: text;
}

.auto-quote-page .input-wrapper.input-with-icon{
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.auto-quote-page .input-inner{
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Float-styled label inside the box */
.auto-quote-page .input-wrapper .field-label{
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 2px;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
}

/* Clean, borderless input fields */
.auto-quote-page .input-wrapper input[type="text"], .auto-quote-page .input-wrapper select{
  width: 100%;
  border: none !important;
  outline: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  padding: 2px 0 0 0 !important;
  font-family: var(--font-sans);
  font-size: 16px !important;
  font-weight: 600 !important;
  color: var(--text-dark) !important;
  height: auto;
  line-height: 1.3;
}

.auto-quote-page .input-wrapper input[type="text"]::placeholder{
  color: var(--text-light);
  opacity: 0.6;
  font-weight: 400;
  font-size:11px;
}

/* Input Focus States */
.auto-quote-page .input-wrapper:focus-within{
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-color);
}

/* Custom Icons Inside Inputs */
.auto-quote-page .input-icon-btn{
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  outline: none;
  margin-left: 10px;
  transition: var(--transition-smooth);
}

.auto-quote-page .input-icon-btn:hover{
  transform: scale(1.1);
}

.auto-quote-page .select-chevron{
  font-size: 11px;
  color: var(--text-light);
  pointer-events: none;
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
}

/* Custom Calendar Popup */
.auto-quote-page .custom-calendar-popup{
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 8px;
  width: 100%;
  max-width: 320px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  padding: 16px;
  z-index: 1010;
}

.auto-quote-page .custom-calendar-popup.hidden{
  display: none;
}

.auto-quote-page .calendar-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.auto-quote-page .cal-nav-btn{
  background: none;
  border: 1px solid var(--border-color);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  color: var(--text-medium);
  transition: var(--transition-smooth);
}

.auto-quote-page .cal-nav-btn:hover{
  border-color: var(--primary-color);
  color: var(--primary-color);
  background-color: var(--primary-light);
}

.auto-quote-page .cal-title{
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
}

.auto-quote-page .calendar-weekdays{
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: 700;
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 6px;
}

.auto-quote-page .calendar-days{
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 2px;
}

.auto-quote-page .cal-day-cell{
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.auto-quote-page .cal-day-cell:hover:not(.disabled){
  background-color: var(--primary-light);
  color: var(--primary-color);
  font-weight: bold;
}

.auto-quote-page .cal-day-cell.selected{
  background-color: var(--primary-color) !important;
  color: #FFFFFF !important;
  font-weight: bold;
}

.auto-quote-page .cal-day-cell.disabled{
  color: var(--border-color);
  cursor: not-allowed;
  background: none;
}

.auto-quote-page .cal-day-cell.today{
  border: 1px solid var(--primary-color);
  font-weight: bold;
}

/* Custom Autocomplete Dropdown List */
.auto-quote-page .industry-dropdown-list{
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  width: 100%;
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  max-height: 240px;
  overflow-y: auto;
  z-index: 1010;
}

.auto-quote-page .industry-dropdown-list.hidden{
  display: none;
}

.auto-quote-page .dropdown-item{
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.auto-quote-page .dropdown-item:hover, .auto-quote-page .dropdown-item.highlighted{
  background-color: var(--primary-light);
  color: var(--primary-color);
  font-weight: 500;
}

.auto-quote-page .dropdown-item-no-results{
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-light);
  font-style: italic;
  text-align: center;
}

/* Profession step accent: darker than #33c0b4 */
.auto-quote-page #step-1 .searchable-select-group .input-wrapper:focus-within{
  border-color: var(--profession-accent);
  box-shadow: 0 0 0 1px var(--profession-accent);
}

.auto-quote-page #step-1 .searchable-select-group .select-chevron{
  color: var(--profession-accent);
}

.auto-quote-page #step-1 .industry-dropdown-list{
  border-color: rgba(37, 153, 143, 0.35);
}

.auto-quote-page #step-1 .dropdown-item:hover, .auto-quote-page #step-1 .dropdown-item.highlighted{
  background-color: var(--profession-accent-light);
  color: var(--profession-accent);
}

.auto-quote-page #step-1 .dropdown-item-badge{
  background-color: var(--profession-accent-light);
  color: var(--profession-accent);
}

.auto-quote-page #step-1 .dropdown-custom-profession{
  border-top: 1px solid rgba(37, 153, 143, 0.18);
  padding: 12px 14px 14px 14px;
  background: #FFFFFF;
}

.auto-quote-page #step-1 .dropdown-custom-label{
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--profession-accent);
  margin-bottom: 8px;
}

.auto-quote-page #step-1 .dropdown-custom-input{
  width: 100%;
  border: 1px solid rgba(37, 153, 143, 0.35);
  border-radius: var(--border-radius);
  background: #FFFFFF;
  padding: 10px 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  outline: none;
}

.auto-quote-page #step-1 .dropdown-custom-input:focus{
  border-color: var(--profession-accent);
  box-shadow: 0 0 0 1px var(--profession-accent);
}

.auto-quote-page #step-1 .custom-profession-option{
  border-top: 1px solid rgba(37, 153, 143, 0.18);
}

.auto-quote-page #step-1 .custom-profession-option .dropdown-item-title{
  color: var(--profession-accent);
}

/* Step 3 & 4: Grid Layouts */
.auto-quote-page .address-fields-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.auto-quote-page .col-span-full{
  grid-column: span 2;
}

.auto-quote-page .owner-fields-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.auto-quote-page .subsection-title{
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 16px;
  margin-bottom: 4px;
  grid-column: span 2;
}

.auto-quote-page .dob-group{
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 12px;
}

/* Custom Select drop arrows wrapper (internal select styling) */
.auto-quote-page .input-wrapper select{
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23767676' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right -6px center;
  padding-right: 24px !important;
}

/* Custom Gender Buttons */
.auto-quote-page .gender-btn-group{
  display: flex;
  gap: 12px;
  grid-column: span 2;
}

.auto-quote-page .gender-btn{
  flex: 1;
  padding: 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  outline: none;
  transition: var(--transition-smooth);
}

.auto-quote-page .gender-btn:hover{
  background-color: #F9F9F9;
  border-color: var(--text-light);
}

.auto-quote-page .gender-btn.active{
  background-color: var(--primary-color);
  color: #FFFFFF;
  border-color: var(--primary-color);
}

/* Reusable Yes/No Toggles */
.auto-quote-page .toggle-btn-group{
  display: flex;
  gap: 12px;
}

.auto-quote-page .toggle-btn{
  flex: 1;
  padding: 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  outline: none;
  transition: var(--transition-smooth);
  text-align: center;
}

.auto-quote-page .toggle-btn:hover{
  background-color: #F9F9F9;
  border-color: var(--text-light);
}

.auto-quote-page .toggle-btn.active{
  background-color: var(--primary-color);
  color: #FFFFFF;
  border-color: var(--primary-color);
}

/* Privacy Consent callout styling */
.auto-quote-page .privacy-consent-group{
  margin-top: 24px;
}

.auto-quote-page .privacy-intro-block{
  margin-bottom: 14px;
}

.auto-quote-page .privacy-heading{
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 10px;
}

.auto-quote-page .privacy-intro-text{
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.45;
}

.auto-quote-page .privacy-callout-card{
  background-color: #F9F9F9;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 18px 20px;
}

.auto-quote-page .privacy-consent-text{
  font-size: 13px;
  color: var(--text-dark);
  line-height: 1.65;
}

.auto-quote-page .privacy-consent-text + .privacy-consent-text{
  margin-top: 14px;
}

.auto-quote-page .privacy-agreement{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  user-select: none;
}

.auto-quote-page .privacy-checkbox-input{
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.auto-quote-page .privacy-checkbox-box{
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 1.5px solid var(--border-color);
  border-radius: 3px;
  background-color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.auto-quote-page .privacy-checkbox-input:checked + .privacy-checkbox-box{
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.auto-quote-page .privacy-checkbox-input:checked + .privacy-checkbox-box::after{
  content: "✓";
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.auto-quote-page .privacy-checkbox-input:focus + .privacy-checkbox-box{
  box-shadow: 0 0 0 3px rgba(51, 192, 180, 0.18);
}

.auto-quote-page .privacy-consent-group.has-error .privacy-callout-card{
  border-color: var(--error-color);
  background-color: var(--error-bg);
}

/* Navigation Actions - Centered Next button, Help link underneath */
.auto-quote-page .step-navigation{
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #EAEAEA;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.auto-quote-page .btn{
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--border-radius);
  cursor: pointer;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  padding: 12px 32px;
  white-space: nowrap;
  border: none;
}

.auto-quote-page .btn-primary, .auto-quote-page .btn-next, .auto-quote-page .btn-submit{
  background-color: var(--primary-color) !important;
  color: #FFFFFF !important;
  width: 100%;
  max-width: 240px;
}

.auto-quote-page .btn-primary:hover, .auto-quote-page .btn-next:hover, .auto-quote-page .btn-submit:hover{
  background-color: var(--primary-hover) !important;
}

.auto-quote-page .btn-primary:active, .auto-quote-page .btn-next:active, .auto-quote-page .btn-submit:active{
  transform: translateY(1px);
}

/* Hide inline back button completely as it is now at the top left */
.auto-quote-page .step-navigation .btn-back{
  display: none !important;
}

/* Help link - Styled as a centered text link underneath the Next button */
.auto-quote-page .navigation-links{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.auto-quote-page .help-link{
  color: var(--primary-color);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  padding: 0;
  transition: var(--transition-smooth);
}

.auto-quote-page .help-link:hover{
  color: var(--primary-hover);
}

/* Global Back Button Layout (placed below subheader) */
.auto-quote-page .global-back-container{
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  padding: 16px 24px 0 24px;
  display: flex;
  justify-content: flex-start;
}

.auto-quote-page .btn-global-back{
  background: transparent !important;
  border: none !important;
  color: var(--primary-color) !important;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 0;
  transition: var(--transition-smooth);
}

.auto-quote-page .btn-global-back:hover{
  color: var(--primary-hover) !important;
  text-decoration: underline !important;
}

.auto-quote-page .btn-global-back i{
  font-size: 13px;
  margin-right: 4px;
}

/* Error Validations Styling */
.auto-quote-page .error-message{
  color: var(--error-color);
  font-size: 13px;
  font-weight: 700;
  margin-top: 6px;
  display: none;
}

/* When form-group has error, style nested outlined wrapper */
.auto-quote-page .form-group.has-error .input-wrapper{
  border-color: var(--error-color) !important;
  background-color: var(--error-bg);
}

.auto-quote-page .form-group.has-error .error-message{
  display: block;
}

/* Success Card Screen */
.auto-quote-page .success-card{
  background-color: #FFFFFF;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  padding: 50px 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

.auto-quote-page .success-icon-container{
  width: 64px;
  height: 64px;
  background-color: var(--success-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 2px solid var(--success-color);
}

.auto-quote-page .success-checkmark{
  color: var(--success-color);
  font-size: 32px;
  font-weight: bold;
}

.auto-quote-page .success-title{
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.auto-quote-page .success-lead{
  font-size: 16px;
  color: var(--text-medium);
  max-width: 500px;
  margin-bottom: 32px;
  line-height: 1.5;
}

.auto-quote-page .summary-box{
  width: 100%;
  background-color: #F9F9F9;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  padding: 24px;
  text-align: left;
  margin-bottom: 32px;
}

.auto-quote-page .summary-title{
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.auto-quote-page .summary-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.auto-quote-page .summary-item{
  display: flex;
  flex-direction: column;
}

.auto-quote-page .summary-label{
  font-size: 11px;
  color: var(--text-light);
  text-transform: uppercase;
  font-weight: 600;
}

.auto-quote-page .summary-val{
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 2px;
}

/* Footer Section - Overhauled to form style */
.auto-quote-page .form-footer{
  background: linear-gradient(rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.86));
  color: rgba(255, 255, 255, 0.82);
  padding: 46px 24px 32px 24px;
  border-top: 4px solid var(--primary-color);
  position: relative;
}

.auto-quote-page .footer-container{
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.auto-quote-page .footer-top-row{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.auto-quote-page .footer-armchair{
  max-height: 72px;
  width: auto;
  object-fit: contain;
}

.auto-quote-page .footer-contact-block{
  text-align: left;
}

.auto-quote-page .footer-contact-title{
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.auto-quote-page .footer-contact-phone{
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition-smooth);
}

.auto-quote-page .footer-contact-phone:hover{
  color: var(--primary-color);
}

.auto-quote-page .footer-contact-phone-arrow{
  color: var(--primary-color);
  font-weight: 900;
  margin-left: 2px;
}

.auto-quote-page .footer-hours{
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

.auto-quote-page .footer-links-row{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  width: 100%;
}

.auto-quote-page .footer-link{
  color: var(--primary-color) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 13.5px;
  transition: var(--transition-smooth);
}

.auto-quote-page .footer-link:hover{
  text-decoration: underline !important;
  color: var(--primary-hover) !important;
}

.auto-quote-page .footer-underwriter{
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 6px;
  text-align: center;
}

.auto-quote-page .footer-copyright{
  font-size: 14px;
  color: #FFFFFF;
  text-align: left;
  margin: 0;
}

.auto-quote-page .footer-bottom-row{
  width: 100%;
  border-top: 1px solid rgba(51, 192, 180, 0.65);
  margin-top: 34px;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.auto-quote-page .footer-made-canada{
  font-size: 14px;
  color: #FFFFFF;
  text-align: right;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.auto-quote-page .canada-flag{
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.auto-quote-page .canada-flag-svg{
  width: 18px;
  height: 12px;
  display: block;
  border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.25);
}

/* Capsule Scroll-to-Top Button */
.auto-quote-page .btn-scroll-top{
  position: absolute;
  right: 40px;
  bottom: 40px;
  background-color: #FFFFFF;
  border: 1.5px solid var(--primary-color);
  color: var(--primary-color);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.auto-quote-page .btn-scroll-top:hover{
  background-color: var(--primary-light);
  color: var(--primary-hover);
  border-color: var(--primary-hover);
}

.auto-quote-page .btn-scroll-top-arrow{
  font-size: 11px;
  font-weight: bold;
}

/* Help Modal Overlay */
.auto-quote-page .modal-overlay{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.auto-quote-page .modal-overlay.hidden{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.auto-quote-page .modal-card{
  background-color: #FFFFFF;
  border-radius: var(--border-radius);
  width: 90%;
  max-width: 500px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
}

.auto-quote-page .modal-close-btn{
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-smooth);
  z-index: 10;
}

.auto-quote-page .modal-close-btn:hover{
  color: var(--text-dark);
}

.auto-quote-page .modal-header{
  padding: 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
}

.auto-quote-page .modal-icon{
  font-size: 20px;
}

.auto-quote-page .modal-title{
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.auto-quote-page .modal-body{
  padding: 24px;
  overflow-y: auto;
}

.auto-quote-page .modal-intro{
  font-size: 15px;
  color: var(--text-medium);
  margin-bottom: 20px;
}

.auto-quote-page .help-section{
  background-color: #F9F9F9;
  border-radius: var(--border-radius);
  padding: 16px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

.auto-quote-page .help-section h4{
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.auto-quote-page .help-section p{
  font-size: 13.5px;
  color: var(--text-medium);
  margin-bottom: 12px;
}

.auto-quote-page .help-phone-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  transition: var(--transition-smooth);
}

.auto-quote-page .help-phone-btn:hover{
  background-color: var(--primary-hover);
}

.auto-quote-page .help-hours{
  display: block;
  font-size: 11px;
  color: var(--text-light);
  margin-top: 8px;
}

/* FAQ Accordion */
.auto-quote-page .help-faq-section h4{
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.auto-quote-page .faq-item{
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}

.auto-quote-page .faq-item:last-child{
  border-bottom: none;
}

.auto-quote-page .faq-question{
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.auto-quote-page .faq-question:hover{
  color: var(--primary-color);
}

.auto-quote-page .faq-toggle{
  font-size: 14px;
  color: var(--text-light);
  transition: transform 0.2s ease;
}

.auto-quote-page .faq-question.active .faq-toggle{
  transform: rotate(45deg);
  color: var(--primary-color);
}

.auto-quote-page .faq-answer{
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  font-size: 13px;
  color: var(--text-medium);
}

.auto-quote-page .faq-answer p{
  padding-top: 8px;
  line-height: 1.5;
}

.auto-quote-page .faq-question.active + .faq-answer{
  max-height: 160px;
}

.auto-quote-page .modal-footer{
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
}

.auto-quote-page .modal-footer .btn{
  max-width: 140px;
  padding: 10px 16px;
  font-size: 14px;
}

/* ==========================================
   REVENUE SLIDER (Step 8)
   ========================================== */
.auto-quote-page .revenue-slider-container{
  margin-bottom: 24px;
}

.auto-quote-page .revenue-slider{
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(
    to right,
    var(--primary-color) 0%,
    var(--primary-color) 10%,
    var(--border-color) 10%,
    var(--border-color) 100%
  );
  outline: none;
  cursor: pointer;
  margin-bottom: 10px;
  transition: background 0.1s;
}

.auto-quote-page .revenue-slider::-webkit-slider-thumb{
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--primary-color);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 138, 0, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.auto-quote-page .revenue-slider::-webkit-slider-thumb:hover{
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0, 138, 0, 0.3);
}

.auto-quote-page .revenue-slider::-moz-range-thumb{
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--primary-color);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 138, 0, 0.2);
}

.auto-quote-page .slider-labels{
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-light);
  font-weight: 600;
  margin-top: 6px;
}

.auto-quote-page .revenue-display-box{
  background-color: #F9F9F9;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.auto-quote-page .revenue-display-label{
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}

.auto-quote-page .revenue-display-value{
  font-size: 26px;
  font-weight: 700;
  color: var(--text-dark);
  font-family: var(--font-heading);
  letter-spacing: -0.5px;
}

/* ==========================================
   RADIO CARD BUTTONS (Step 6 Location Type)
   ========================================== */
.auto-quote-page .radio-card-group{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 4px;
}

.auto-quote-page .radio-card-btn{
  padding: 14px 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  outline: none;
  transition: var(--transition-smooth);
  text-align: center;
  line-height: 1.3;
}

.auto-quote-page .radio-card-btn:hover{
  background-color: var(--primary-light);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.auto-quote-page .radio-card-btn.active{
  background-color: var(--primary-color);
  color: #FFFFFF;
  border-color: var(--primary-color);
}

/* ==========================================
   CONDITIONAL SECTIONS (smooth reveal)
   ========================================== */
.auto-quote-page .conditional-section{
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.35s ease,
              margin-top 0.35s ease;
  margin-top: 0;
  /* Don't use display:none so CSS transitions work */
}

.auto-quote-page .conditional-section.hidden{
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  margin-top: 0;
}

.auto-quote-page .conditional-section:not(.hidden){
  max-height: 900px;
  opacity: 1;
  pointer-events: auto;
  margin-top: 24px;
}

/* Responsiveness (Mobile layout adjustments) */
@media (max-width: 768px){
  .auto-quote-page .sticky-header{
    height: 52px;
    border-top-width: 3px;
  }

  .auto-quote-page .header-container{
    padding: 0 12px;
    gap: 8px;
  }

  .auto-quote-page .header-logo{
    flex: 0 0 auto; /* don't stretch */
  }

  .auto-quote-page .logo-img{
    max-height: 28px;
  }

  .auto-quote-page .header-title{
    display: none; /* Hide middle title on phone screen */
  }

  /* Show only phone icon + number in compact form */
  .auto-quote-page .phone-link{
    font-size: 12px;
    font-weight: 600;
  }

  .auto-quote-page .phone-icon{
    font-size: 12px;
    margin-right: 4px;
  }

  .auto-quote-page .phone-arrow{
    display: none;
  }

  /* Progress subheader adjustments */
  .auto-quote-page .progress-subheader{
    top: 52px;
  }

  .auto-quote-page .progress-container{
    padding: 0 12px 8px 12px;
  }

  .auto-quote-page .progress-left{
    font-size: 12px;
  }

  .auto-quote-page .secure-badge{
    font-size: 11px;
  }

  .auto-quote-page .main-content{
    padding: 32px 16px 60px 16px;
  }

  .auto-quote-page .step-question{
    font-size: 22px;
  }

  .auto-quote-page .step-instruction{
    font-size: 14px;
  }

  .auto-quote-page .address-fields-grid, .auto-quote-page .owner-fields-grid{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .auto-quote-page .col-span-full{
    grid-column: span 1;
  }

  .auto-quote-page .subsection-title{
    grid-column: span 1;
    font-size: 16px;
  }

  .auto-quote-page .dob-group{
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 8px;
  }

  /* Navigation row on mobile */
  .auto-quote-page .step-navigation{
    margin-top: 28px;
    padding-top: 16px;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
  }

  .auto-quote-page .btn-primary, .auto-quote-page .btn-next, .auto-quote-page .btn-submit{
    grid-column: span 2;
    max-width: 100%;
  }

  .auto-quote-page .step-navigation .btn-back{
    grid-row: 2;
    grid-column: 1;
    justify-self: center;
    margin-left: 0;
  }

  .auto-quote-page .step-navigation .navigation-links{
    grid-row: 2;
    grid-column: 2;
    justify-self: center;
    margin-right: 0;
  }

  .auto-quote-page .btn{
    font-size: 14px;
    padding: 11px 16px;
  }

  .auto-quote-page .help-link{
    font-size: 13px;
  }
}

/* Extra small phones */
@media (max-width: 380px){
  .auto-quote-page .phone-number{
    display: none; /* Only show phone icon on very small screens */
  }

  .auto-quote-page .phone-icon{
    margin-right: 0;
  }

  .auto-quote-page .logo-img{
    max-height: 24px;
  }

  .auto-quote-page .btn{
    font-size: 12px;
    padding: 10px 12px;
  }
}

/* DB-powered profession dropdown with category badge */
.auto-quote-page .dropdown-item-main{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auto-quote-page .dropdown-item-title{
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.35;
}

.auto-quote-page .dropdown-item-badge{
  flex: 0 0 auto;
  max-width: 44%;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f3f4f6;
  color: var(--text-medium);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

.auto-quote-page .dropdown-item-subtext{
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-medium);
  line-height: 1.35;
}


/* Custom red header and contact links */
.auto-quote-page .sticky-header{
  background-color: rgb(230, 0, 0);
  border-top: 0;
  border-bottom: 1px solid rgb(230, 0, 0);
}

.auto-quote-page .sticky-header .header-title, .auto-quote-page .sticky-header .phone-link, .auto-quote-page .sticky-header .phone-number, .auto-quote-page .sticky-header .phone-icon, .auto-quote-page .sticky-header .whatsapp-icon{
  color: #FFFFFF;
}

.auto-quote-page .sticky-header .phone-link:hover{
  color: #FFFFFF;
  opacity: 0.9;
}

.auto-quote-page .sticky-header .phone-link:hover .phone-number{
  border-bottom-color: #FFFFFF;
}

.auto-quote-page .header-contact-actions{
  gap: 14px;
  flex-wrap: wrap;
}

.auto-quote-page .header-contact-link{
  gap: 7px;
  color: #FFFFFF;
}

.auto-quote-page .header-contact-link .phone-icon, .auto-quote-page .header-contact-link .whatsapp-icon{
  display: inline-flex;
  font-size: 17px;
}

.auto-quote-page .header-contact-link .phone-number{
  color: #FFFFFF;
  line-height: 1.2;
}

.auto-quote-page .logo-img{
  
  border-radius: 4px;
  padding: 3px 8px;
  max-height: 40px;
}

.auto-quote-page .footer-contact-title i{
  margin-right: 5px;
}

.auto-quote-page .footer-contact-separator{
  color: var(--text-light);
  font-weight: 400;
  margin: 0 6px;
}

.auto-quote-page .footer-whatsapp i{
  font-size: 18px;
}

@media (max-width: 768px){
  .auto-quote-page .header-contact-actions{
    gap: 10px;
  }

  .auto-quote-page .header-contact-link .phone-number{
    font-size: 13px;
  }
}

@media (max-width: 480px){
  .auto-quote-page .header-contact-link .phone-number{
    display: none;
  }

  .auto-quote-page .header-contact-link .phone-icon, .auto-quote-page .header-contact-link .whatsapp-icon{
    font-size: 20px;
  }
}

/* Floating placeholder fields: placeholder shows first, then label appears on click/focus or after value is entered */
.auto-quote-page .input-wrapper.floating-placeholder .field-label{
  display: none;
  margin-bottom: 2px;
}

.auto-quote-page .input-wrapper.floating-placeholder.is-focused .field-label, .auto-quote-page .input-wrapper.floating-placeholder.has-value .field-label{
  display: block;
}

.auto-quote-page .input-wrapper.floating-placeholder:not(.is-focused):not(.has-value){
  padding-top: 14px;
  padding-bottom: 14px;
}

.auto-quote-page .input-wrapper.floating-placeholder:not(.is-focused):not(.has-value) input[type="text"]{
  padding-top: 0 !important;
}

.auto-quote-page .input-wrapper.floating-placeholder input[type="text"]::placeholder{
  color: var(--text-light);
  opacity: 0.75;
  font-size: 15px;
  font-weight: 400;
}

.auto-quote-page .input-wrapper.floating-placeholder.is-focused input[type="text"]::placeholder, .auto-quote-page .input-wrapper.floating-placeholder.has-value input[type="text"]::placeholder{
  opacity: 0;
}

.auto-quote-page .input-wrapper.floating-placeholder select{
  cursor: pointer;
}

/* Step 1 keeps placeholder-only behavior; label should not appear on focus/click */
.auto-quote-page #step-1 .searchable-select-group .field-label{
  display: none !important;
}

.auto-quote-page #step-1 .searchable-select-group .input-wrapper input[type="text"]{
  padding-top: 0 !important;
}

/* Clean footer after removing extra links/items */
.auto-quote-page .form-footer .footer-contact-block{
  text-align: center;
}



@media (max-width: 640px){
  .auto-quote-page .footer-bottom-row{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .auto-quote-page .footer-copyright, .auto-quote-page .footer-made-canada{
    text-align: center;
  }
}

/* Step 10 coverage checkbox cards */
.auto-quote-page .coverage-options-group{
  margin-top: 4px;
}

.auto-quote-page .coverage-checkbox-list{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auto-quote-page .coverage-checkbox-card{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: #FFFFFF;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.auto-quote-page .coverage-checkbox-card:hover{
  border-color: var(--primary-color);
  background: rgba(51, 192, 180, 0.05);
}

.auto-quote-page .coverage-checkbox-input{
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.auto-quote-page .coverage-checkbox-box{
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 1.5px solid var(--border-color);
  border-radius: 4px;
  background: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: var(--transition-smooth);
}

.auto-quote-page .coverage-checkbox-input:checked + .coverage-checkbox-box{
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.auto-quote-page .coverage-checkbox-input:checked + .coverage-checkbox-box::after{
  content: "✓";
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.auto-quote-page .coverage-checkbox-input:focus + .coverage-checkbox-box{
  box-shadow: 0 0 0 3px rgba(51, 192, 180, 0.18);
}

.auto-quote-page .coverage-checkbox-content{
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--text-dark);
}

.auto-quote-page .coverage-checkbox-content strong{
  font-size: 15px;
  line-height: 1.35;
}

.auto-quote-page .coverage-checkbox-content small{
  font-size: 13px;
  color: var(--text-medium);
  line-height: 1.45;
}

.auto-quote-page .coverage-options-group.has-error .coverage-checkbox-list{
  border: 1px solid var(--error-color);
  border-radius: var(--border-radius);
  padding: 8px;
  background: var(--error-bg);
}

.auto-quote-page .coverage-other-field{
  margin-top: 18px;
}

/* Logo link + mobile footer line fixes */
.auto-quote-page .header-logo{
  text-decoration: none !important;
  cursor: pointer;
}

.auto-quote-page .header-logo .logo-img{
  display: block;
}

.auto-quote-page .footer-contact-title{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  line-height: 1.45;
  text-align: center;
}

.auto-quote-page .footer-contact-heading{
  display: inline-block;
}

.auto-quote-page .canada-flag-svg{
  display: block;
  width: 18px;
  height: auto;
  border-radius: 1px;
}

@media (max-width: 640px){
  .auto-quote-page .form-footer{
    padding: 34px 16px 24px 16px;
  }

  .auto-quote-page .footer-contact-block{
    width: 100%;
    text-align: center;
  }

  .auto-quote-page .footer-contact-title{
    flex-direction: column;
    align-items: center;
    gap: 7px;
    font-size: 16px;
    line-height: 1.35;
    margin-bottom: 8px;
  }

  .auto-quote-page .footer-contact-heading, .auto-quote-page .footer-contact-phone{
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    line-height: 1.35;
    text-align: center;
  }

  .auto-quote-page .footer-contact-separator{
    display: none !important;
  }

  .auto-quote-page .footer-hours{
    max-width: 330px;
    margin: 0 auto;
    text-align: center;
    font-size: 13px;
    line-height: 1.45;
  }

  .auto-quote-page .footer-bottom-row{
    margin-top: 22px;
    padding-top: 18px;
    gap: 8px;
  }

  .auto-quote-page .footer-copyright, .auto-quote-page .footer-made-canada{
    width: 100%;
    justify-content: center;
    text-align: center;
    line-height: 1.4;
    font-size: 13px;
  }
}



/* Footer online support agent */
.auto-quote-page .footer-support-agent{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 0 0 28px 0;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(51, 192, 180, 0.45);
}

.auto-quote-page .footer-support-avatar-wrap{
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 108px;
}

.auto-quote-page .footer-support-avatar{
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: contain;
  object-position: center center;
  border: 4px solid rgba(255, 255, 255, 0.92);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.auto-quote-page .footer-support-online{
  margin-top: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(236, 253, 245, 0.96);
  border: 1px solid rgba(187, 247, 208, 0.95);
  color: #15803d;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.auto-quote-page .online-dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  animation: onlineFlash 1.05s ease-in-out infinite;
  box-shadow: 0 0 0 rgba(34, 197, 94, 0.65);
}

@keyframes onlineDotPulse {
  0% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  }
  70% {
    transform: scale(1.15);
    opacity: 0.95;
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

@keyframes onlineTextBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

.auto-quote-page .footer-support-content{
  text-align: left;
  max-width: 620px;
}

.auto-quote-page .footer-support-content h3{
  margin: 0 0 6px 0;
  color: #ffffff;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.2;
}

.auto-quote-page .footer-support-content p{
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.5;
}

.auto-quote-page .footer-support-actions{
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.auto-quote-page .footer-support-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  background: #dc2626;
  color: #ffffff !important;
  border: 1px solid #dc2626;
  text-decoration: none !important;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  transition: var(--transition-smooth);
}

.auto-quote-page .footer-support-btn:hover{
  background: #b91c1c;
  border-color: #b91c1c;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.auto-quote-page .footer-support-btn-outline{
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff !important;
}

.auto-quote-page .footer-support-btn-outline:hover{
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff !important;
}

@media (max-width: 640px){
  .auto-quote-page .footer-support-agent{
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
    padding-bottom: 24px;
    margin-bottom: 24px;
  }

  .auto-quote-page .footer-support-avatar{
    width: 84px;
    height: 84px;
  }

  .auto-quote-page .footer-support-content{
    text-align: center;
    max-width: 100%;
  }

  .auto-quote-page .footer-support-content h3{
    font-size: 21px;
  }

  .auto-quote-page .footer-support-content p{
    font-size: 14px;
  }

  .auto-quote-page .footer-support-actions{
    justify-content: center;
  }

  .auto-quote-page .footer-support-btn{
    min-width: 116px;
  }
}

/* ===== User requested updates: solid category badges + 5-step vertical flow ===== */
.auto-quote-page #step-1 .dropdown-item-badge, .auto-quote-page .dropdown-item-badge{
  background: var(--profession-accent, #33c0b4) !important;
  color: #ffffff !important;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(51,192,180,0.18);
}

.auto-quote-page #step-1 .dropdown-item:hover .dropdown-item-badge, .auto-quote-page #step-1 .dropdown-item.highlighted .dropdown-item-badge, .auto-quote-page .dropdown-item:hover .dropdown-item-badge, .auto-quote-page .dropdown-item.highlighted .dropdown-item-badge{
  background: var(--profession-accent, #33c0b4) !important;
  color: #ffffff !important;
}

/* After the 5th internal card, keep completed cards visible above and show the next card below. */
.auto-quote-page .form-wrapper.vertical-flow{
  height: auto !important;
}

.auto-quote-page .form-wrapper.vertical-flow .step-card.completed{
  display: none;
}

.auto-quote-page .form-wrapper.vertical-flow .step-card.completed.flow-visible{
  display: block;
  opacity: 1;
  margin-bottom: 18px;
  pointer-events: auto;
}

.auto-quote-page .form-wrapper.vertical-flow .step-card.active{
  display: block;
  margin-bottom: 18px;
}

.auto-quote-page .form-wrapper.vertical-flow .step-card.completed.flow-visible .step-navigation{
  display: none;
}

.auto-quote-page .form-wrapper.vertical-flow .step-card.completed.flow-visible{
  box-shadow: 0 2px 10px rgba(0, 63, 45, 0.04);
}


/* Completed step update button for step-5 vertical flow */
.auto-quote-page .form-wrapper.vertical-flow .completed-step-actions{
  display: flex;
  justify-content: flex-end;
  padding: 0 24px 22px;
}

.auto-quote-page .form-wrapper.vertical-flow .btn-update-step{
  background: var(--profession-accent, #33c0b4);
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(51,192,180,0.18);
}

.auto-quote-page .form-wrapper.vertical-flow .btn-update-step:hover{
  transform: translateY(-1px);
}

/* ===== Compact Sonny agent inside existing footer row ===== */
.auto-quote-page .footer-main-row{
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 74px;
}

.auto-quote-page .footer-main-row .footer-support-agent{
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 0;
  margin: 0;
  border-bottom: 0;
  max-width: 285px;
}

.auto-quote-page .footer-main-row .footer-support-avatar-wrap{
  min-width: 58px;
  align-items: center;
}

.auto-quote-page .footer-main-row .footer-support-avatar{
  width: 54px;
  height: 54px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.24);
  object-fit: contain;
  object-position: center center;
  background: #ffffff;
  padding: 2px;
}

.auto-quote-page .footer-main-row .footer-support-online{
  margin-top: 5px;
  gap: 4px;
  padding: 3px 7px;
  font-size: 10px;
  font-weight: 800;
}

.auto-quote-page .footer-main-row .online-dot{
  width: 7px;
  height: 7px;
}

.auto-quote-page .footer-main-row .footer-support-content{
  max-width: 210px;
  text-align: left;
}

.auto-quote-page .footer-main-row .footer-support-content h3{
  margin: 0 0 2px 0;
  font-size: 13.5px;
  line-height: 1.2;
  font-weight: 800;
  color: #ffffff;
}

.auto-quote-page .footer-main-row .footer-support-content p{
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
}

.auto-quote-page .footer-main-row .footer-support-actions, .auto-quote-page .footer-main-row .footer-support-btn, .auto-quote-page .footer-main-row .footer-support-btn-outline{
  display: none !important;
}

.auto-quote-page .footer-main-row .footer-contact-block{
  text-align: center;
  transform: translateX(clamp(42px, 4.5vw, 80px));
}

.auto-quote-page .footer-main-row .footer-contact-title{
  justify-content: center;
}

.auto-quote-page .footer-main-row .footer-hours{
  text-align: center;
  margin: 5px auto 0;
}

@media (max-width: 1100px){
  .auto-quote-page .footer-main-row{
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
    min-height: 0;
  }

  .auto-quote-page .footer-main-row .footer-support-agent{
    position: static;
    transform: none;
    max-width: 100%;
    justify-content: center;
  }

  .auto-quote-page .footer-main-row .footer-support-content{
    text-align: left;
  }

  .auto-quote-page .footer-main-row .footer-contact-block{
    text-align: center;
    transform: none;
  }
}

@media (max-width: 640px){
  .auto-quote-page .footer-main-row .footer-support-agent{
    flex-direction: row;
    gap: 10px;
    padding: 0;
    margin: 0;
  }

  .auto-quote-page .footer-main-row .footer-support-avatar{
    width: 50px;
    height: 50px;
  }

  .auto-quote-page .footer-main-row .footer-support-content h3{
    font-size: 13px;
  }

  .auto-quote-page .footer-main-row .footer-support-content p{
    font-size: 10.5px;
  }
}

/* ===== Reference style Sonny footer layout ===== */
.auto-quote-page .form-footer{
  padding: 34px 24px 28px 24px;
  background: linear-gradient(rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.88));
}

.auto-quote-page .footer-reference-layout.footer-main-row{
  width: 100%;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  min-height: 0 !important;
  text-align: center !important;
}

.auto-quote-page .footer-reference-layout .footer-support-agent{
  position: static !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  width: auto !important;
  max-width: 620px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 18px !important;
  padding: 0 !important;
  margin: 0 auto 2px auto !important;
  border: 0 !important;
}

.auto-quote-page .footer-reference-layout .footer-support-avatar-wrap{
  min-width: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.auto-quote-page .footer-reference-layout .footer-support-avatar{
  width: 110px !important;
  height: 110px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center top !important;
  padding: 0 !important;
  background: #111 !important;
  border: 2px solid #12dfd1 !important;
  box-shadow: 0 0 0 2px rgba(18, 223, 209, 0.14), 0 10px 26px rgba(0, 0, 0, 0.28) !important;
}

.auto-quote-page .footer-reference-layout .footer-support-content{
  max-width: 455px !important;
  text-align: left !important;
}

.auto-quote-page .footer-reference-layout .footer-support-content h3, .auto-quote-page .footer-reference-layout .footer-support-content > p:not(.footer-support-message){
  display: none !important;
}

.auto-quote-page .footer-reference-layout .footer-support-message{
  margin: 0 0 8px 0 !important;
  color: #ffffff !important;
  font-size: 22px !important;
  line-height: 1.12 !important;
  font-weight: 500 !important;
  letter-spacing: -0.2px !important;
}

.auto-quote-page .footer-reference-layout .footer-support-status-row{
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
}

.auto-quote-page .footer-reference-layout .footer-support-online{
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 5px 14px !important;
  min-width: 96px !important;
  border-radius: 999px !important;
  background: transparent !important;
  border: 2px solid #12dfd1 !important;
  color: #ffffff !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}

.auto-quote-page .footer-reference-layout .online-dot{
  width: 10px !important;
  height: 10px !important;
  background: #22c55e !important;
  border-radius: 50% !important;
  display: inline-block !important;
  animation: onlineDotPulse 1.2s infinite ease-in-out !important;
  box-shadow: 0 0 0 rgba(34, 197, 94, 0.55) !important;
}

.auto-quote-page .footer-reference-layout .online-text{
  display: inline-block !important;
  color: #ffffff !important;
  animation: onlineTextBlink 1.1s infinite ease-in-out !important;
  letter-spacing: 0.4px !important;
}

.auto-quote-page .footer-reference-layout .footer-mini-icon{
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 20px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.auto-quote-page .footer-reference-layout .footer-mini-icon:hover{
  color: #12dfd1 !important;
}

.auto-quote-page .footer-reference-layout .footer-contact-block{
  width: 100% !important;
  text-align: center !important;
  transform: none !important;
  margin: 0 !important;
}

.auto-quote-page .footer-reference-layout .footer-contact-title{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 8px 14px !important;
  margin: 0 0 3px 0 !important;
  color: #ffffff !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.15px !important;
  text-align: center !important;
}

.auto-quote-page .footer-reference-layout .footer-contact-heading{
  display: inline-flex !important;
  align-items: center !important;
}

.auto-quote-page .footer-reference-layout .footer-contact-phone{
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #ffffff !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.auto-quote-page .footer-reference-layout .footer-contact-phone i{
  font-size: 20px !important;
  color: #ffffff !important;
}

.auto-quote-page .footer-reference-layout .footer-contact-separator{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: rgba(255, 255, 255, 0.35) !important;
  font-weight: 400 !important;
  margin: 0 6px !important;
}

.auto-quote-page .footer-reference-layout .footer-hours{
  margin: 2px auto 0 auto !important;
  text-align: center !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 13.5px !important;
  line-height: 1.4 !important;
}

.auto-quote-page .footer-bottom-row{
  margin-top: 34px !important;
  padding-top: 23px !important;
}

@keyframes onlineDotPulse {
  0% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  }
  70% {
    transform: scale(1.15);
    opacity: 0.95;
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

@keyframes onlineTextBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.42;
  }
}

@media (max-width: 700px){
  .auto-quote-page .footer-reference-layout .footer-support-agent{
    gap: 14px !important;
    align-items: center !important;
  }

  .auto-quote-page .footer-reference-layout .footer-support-avatar{
    width: 86px !important;
    height: 86px !important;
  }

  .auto-quote-page .footer-reference-layout .footer-support-message{
    font-size: 18px !important;
  }

  .auto-quote-page .footer-reference-layout .footer-contact-title, .auto-quote-page .footer-reference-layout .footer-contact-phone{
    font-size: 17px !important;
  }

  .auto-quote-page .footer-reference-layout .footer-hours{
    font-size: 12.5px !important;
  }
}

@media (max-width: 480px){
  .auto-quote-page .footer-reference-layout .footer-support-agent{
    flex-direction: column !important;
    text-align: center !important;
  }

  .auto-quote-page .footer-reference-layout .footer-support-content{
    text-align: center !important;
  }

  .auto-quote-page .footer-reference-layout .footer-support-status-row{
    justify-content: center !important;
  }

  .auto-quote-page .footer-reference-layout .footer-contact-title{
    flex-direction: column !important;
    gap: 7px !important;
  }

  .auto-quote-page .footer-reference-layout .footer-contact-separator{
    display: none !important;
  }
}

/* ===== Final Sonny footer polish matching provided reference ===== */
.auto-quote-page .form-footer{
  background: #1f1f1f !important;
  padding: 34px 24px 28px 24px !important;
}

.auto-quote-page .footer-reference-layout.footer-main-row{
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  text-align: center !important;
}

.auto-quote-page .footer-reference-layout .footer-support-agent{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 18px !important;
  max-width: 580px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.auto-quote-page .footer-reference-layout .footer-support-avatar{
  width: 108px !important;
  height: 108px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center top !important;
  border: 2px solid #12dfd1 !important;
  background: #111 !important;
  box-shadow: 0 0 0 2px rgba(18, 223, 209, 0.14), 0 10px 26px rgba(0, 0, 0, 0.28) !important;
}

.auto-quote-page .footer-reference-layout .footer-support-content{
  max-width: 430px !important;
  text-align: left !important;
}

.auto-quote-page .footer-reference-layout .footer-support-message{
  margin: 0 0 8px 0 !important;
  color: #ffffff !important;
  font-size: 21px !important;
  line-height: 1.15 !important;
  font-weight: 500 !important;
  letter-spacing: -0.2px !important;
}

.auto-quote-page .footer-reference-layout .footer-support-status-row{
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
}

.auto-quote-page .footer-reference-layout .footer-support-online{
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 5px 14px !important;
  min-width: 92px !important;
  border-radius: 999px !important;
  background: transparent !important;
  border: 2px solid #12dfd1 !important;
  color: #ffffff !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}

.auto-quote-page .footer-reference-layout .online-dot{
  width: 10px !important;
  height: 10px !important;
  background: #22c55e !important;
  border-radius: 50% !important;
  display: inline-block !important;
  animation: onlineDotPulse 1.2s infinite ease-in-out !important;
  box-shadow: 0 0 0 rgba(34, 197, 94, 0.55) !important;
}

.auto-quote-page .footer-reference-layout .online-text{
  color: #ffffff !important;
  display: inline-block !important;
  animation: onlineTextBlink 1.05s infinite ease-in-out !important;
  letter-spacing: 0.4px !important;
}

.auto-quote-page .footer-reference-layout .footer-mini-icon{
  color: #12dfd1 !important;
  font-size: 20px !important;
  line-height: 1 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.auto-quote-page .footer-reference-layout .footer-contact-block{
  width: 100% !important;
  text-align: center !important;
  margin: 0 !important;
}

.auto-quote-page .footer-reference-layout .footer-contact-title{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 8px 14px !important;
  margin: 0 0 4px 0 !important;
  color: #ffffff !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.15px !important;
  text-align: center !important;
}

.auto-quote-page .footer-reference-layout .footer-contact-phone{
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #ffffff !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.auto-quote-page .footer-reference-layout .footer-contact-phone i{
  color: #ffffff !important;
  font-size: 20px !important;
}

.auto-quote-page .footer-reference-layout .footer-contact-separator{
  color: rgba(255, 255, 255, 0.35) !important;
  font-weight: 400 !important;
  margin: 0 6px !important;
}

.auto-quote-page .footer-reference-layout .footer-hours{
  margin: 2px auto 0 auto !important;
  text-align: center !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 13.5px !important;
  line-height: 1.4 !important;
}

.auto-quote-page .footer-bottom-row{
  margin-top: 34px !important;
  padding-top: 23px !important;
  border-top-color: #18bdb5 !important;
}

@media (max-width: 700px){
  .auto-quote-page .footer-reference-layout .footer-support-agent{
    gap: 14px !important;
  }

  .auto-quote-page .footer-reference-layout .footer-support-avatar{
    width: 86px !important;
    height: 86px !important;
  }

  .auto-quote-page .footer-reference-layout .footer-support-message{
    font-size: 18px !important;
  }

  .auto-quote-page .footer-reference-layout .footer-contact-title, .auto-quote-page .footer-reference-layout .footer-contact-phone{
    font-size: 17px !important;
  }
}

@media (max-width: 480px){
  .auto-quote-page .footer-reference-layout .footer-support-agent{
    flex-direction: column !important;
    text-align: center !important;
  }

  .auto-quote-page .footer-reference-layout .footer-support-content, .auto-quote-page .footer-reference-layout .footer-support-status-row{
    text-align: center !important;
    justify-content: center !important;
  }

  .auto-quote-page .footer-reference-layout .footer-contact-title{
    flex-direction: column !important;
    gap: 7px !important;
  }

  .auto-quote-page .footer-reference-layout .footer-contact-separator{
    display: none !important;
  }
}

/* Final user-requested footer adjustments */
.auto-quote-page .footer-reference-layout .footer-support-status-row{
  justify-content: center !important;
}
.auto-quote-page .footer-reference-layout .footer-phone-icon{
  order: 1 !important;
}
.auto-quote-page .footer-reference-layout .footer-support-online{
  order: 2 !important;
}
.auto-quote-page .footer-reference-layout .footer-whatsapp-icon{
  order: 3 !important;
}
@media (max-width: 480px){
  .auto-quote-page .footer-reference-layout .mobile-commercial-break{
    display: block !important;
  }
}

/* ===== Final footer alignment like latest reference ===== */
.auto-quote-page .form-footer{
    background: #1f1f1f !important;
    padding: 28px 24px 26px !important;
}

.auto-quote-page .footer-reference-layout.footer-main-row{
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    text-align: center !important;
}

.auto-quote-page .footer-reference-layout .footer-support-agent{
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    text-align: left !important;
}

.auto-quote-page .footer-reference-layout .footer-support-avatar-wrap{
    flex: 0 0 auto !important;
}

.auto-quote-page .footer-reference-layout .footer-support-avatar{
    width: 112px !important;
    height: 112px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center top !important;
    border: 2px solid #12dfd1 !important;
    box-shadow: 0 0 0 2px rgba(18, 223, 209, 0.20) !important;
    background: #fff !important;
}

.auto-quote-page .footer-reference-layout .footer-support-content{
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    max-width: 440px !important;
    text-align: left !important;
}

.auto-quote-page .footer-reference-layout .footer-support-message{
    margin: 0 0 8px 0 !important;
    color: #ffffff !important;
    font-size: 22px !important;
    line-height: 1.08 !important;
    font-weight: 500 !important;
    letter-spacing: -0.2px !important;
}

.auto-quote-page .footer-reference-layout .footer-support-status-row{
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
}

.auto-quote-page .footer-reference-layout .footer-support-online{
    order: 1 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 5px 13px !important;
    min-width: 96px !important;
    border-radius: 999px !important;
    background: transparent !important;
    border: 2px solid #12dfd1 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
}

.auto-quote-page .footer-reference-layout .online-dot{
    width: 10px !important;
    height: 10px !important;
    background: #22c55e !important;
    border-radius: 50% !important;
    display: inline-block !important;
    animation: onlineDotPulse 1.2s infinite ease-in-out !important;
    box-shadow: 0 0 0 rgba(34, 197, 94, 0.55) !important;
}

.auto-quote-page .footer-reference-layout .online-text{
    display: inline-block !important;
    color: #ffffff !important;
    animation: onlineTextBlink 1.1s infinite ease-in-out !important;
    letter-spacing: 0.4px !important;
}

.auto-quote-page .footer-reference-layout .footer-mini-icon{
    color: #12dfd1 !important;
    text-decoration: none !important;
    font-size: 22px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.auto-quote-page .footer-reference-layout .footer-phone-icon{
    order: 2 !important;
}

.auto-quote-page .footer-reference-layout .footer-whatsapp-icon{
    order: 3 !important;
}

.auto-quote-page .footer-reference-layout .footer-mini-icon:hover{
    color: #ffffff !important;
}

.auto-quote-page .footer-reference-layout .footer-contact-block{
    width: 100% !important;
    text-align: center !important;
    transform: none !important;
    margin: 2px auto 0 !important;
}

.auto-quote-page .footer-reference-layout .footer-contact-title{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px 12px !important;
    margin: 0 0 3px 0 !important;
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.15px !important;
    text-align: center !important;
}

.auto-quote-page .footer-reference-layout .footer-contact-heading{
    display: inline-flex !important;
    align-items: center !important;
}

.auto-quote-page .footer-reference-layout .footer-contact-phone{
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.auto-quote-page .footer-reference-layout .footer-contact-phone i{
    font-size: 21px !important;
    color: #ffffff !important;
}

.auto-quote-page .footer-reference-layout .footer-hours{
    margin: 2px auto 0 auto !important;
    text-align: center !important;
    color: rgba(255, 255, 255, 0.70) !important;
    font-size: 13.5px !important;
    line-height: 1.35 !important;
}

.auto-quote-page .footer-bottom-row{
    margin-top: 34px !important;
    padding-top: 23px !important;
}

@media (max-width: 700px){
    .auto-quote-page .footer-reference-layout .footer-support-avatar{
        width: 94px !important;
        height: 94px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-message{
        font-size: 18px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-contact-title, .auto-quote-page .footer-reference-layout .footer-contact-phone{
        font-size: 18px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-hours{
        font-size: 12.5px !important;
    }
}

@media (max-width: 480px){
    .auto-quote-page .form-footer{
        padding: 24px 16px 24px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-agent{
        gap: 12px !important;
        align-items: center !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-avatar{
        width: 82px !important;
        height: 82px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-content{
        max-width: 235px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-message{
        font-size: 16px !important;
        line-height: 1.08 !important;
    }

    .auto-quote-page .footer-reference-layout .mobile-commercial-break{
        display: block !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-online{
        min-width: 84px !important;
        padding: 4px 10px !important;
        font-size: 11px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-mini-icon{
        font-size: 20px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-contact-title{
        gap: 6px 10px !important;
    }
}

/* ===== Final row alignment fix: top image row and contact row share same left edge ===== */
.auto-quote-page .footer-reference-layout.footer-main-row{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    text-align: left !important;
}

.auto-quote-page .footer-reference-layout .footer-support-agent, .auto-quote-page .footer-reference-layout .footer-contact-block{
    width: 560px !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.auto-quote-page .footer-reference-layout .footer-support-agent{
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 18px !important;
    text-align: left !important;
}

.auto-quote-page .footer-reference-layout .footer-support-content{
    align-items: flex-start !important;
    text-align: left !important;
}

.auto-quote-page .footer-reference-layout .footer-support-status-row{
    justify-content: flex-start !important;
}

.auto-quote-page .footer-reference-layout .footer-contact-block{
    text-align: left !important;
    margin-top: 2px !important;
}

.auto-quote-page .footer-reference-layout .footer-contact-title{
    justify-content: flex-start !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.auto-quote-page .footer-reference-layout .footer-hours{
    width: 100% !important;
    text-align: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Mobile: keep commercial on next line */
@media (max-width: 480px){
    .auto-quote-page .footer-reference-layout .footer-support-agent, .auto-quote-page .footer-reference-layout .footer-contact-block{
        width: 100% !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-agent{
        justify-content: center !important;
    }

    .auto-quote-page .footer-reference-layout .footer-contact-title{
        justify-content: center !important;
        text-align: center !important;
    }

    .auto-quote-page .footer-reference-layout .mobile-commercial-break{
        display: block !important;
    }
}

/* ===== FINAL: end-aligned footer rows + sonny4 transparent/black avatar ===== */
.auto-quote-page .form-footer{
    background: #1f1f1f !important;
    padding: 28px 24px 26px !important;
}

.auto-quote-page .footer-reference-layout.footer-main-row{
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    text-align: left !important;
}

/* Same visual box for both rows, so start and end line up */
.auto-quote-page .footer-reference-layout .footer-support-agent, .auto-quote-page .footer-reference-layout .footer-contact-block{
    width: 620px !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Top row */
.auto-quote-page .footer-reference-layout .footer-support-agent{
    display: grid !important;
    grid-template-columns: 112px 1fr !important;
    column-gap: 18px !important;
    align-items: center !important;
    justify-content: stretch !important;
    text-align: left !important;
}

.auto-quote-page .footer-reference-layout .footer-support-avatar-wrap{
    width: 112px !important;
    height: 112px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.auto-quote-page .footer-reference-layout .footer-support-avatar{
    width: 112px !important;
    height: 112px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center top !important;
    border: 2px solid #12dfd1 !important;
    box-shadow: 0 0 0 2px rgba(18, 223, 209, 0.20) !important;
    background-color: #1f1f1f !important;
    background: #1f1f1f !important;
}

.auto-quote-page .footer-reference-layout .footer-support-content{
    width: 100% !important;
    max-width: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    text-align: left !important;
}

.auto-quote-page .footer-reference-layout .footer-support-message{
    width: 100% !important;
    max-width: 490px !important;
    margin: 0 0 8px 0 !important;
    color: #ffffff !important;
    font-size: 22px !important;
    line-height: 1.08 !important;
    font-weight: 500 !important;
    letter-spacing: -0.2px !important;
}

.auto-quote-page .footer-reference-layout .footer-support-status-row{
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
}

.auto-quote-page .footer-reference-layout .footer-support-online{
    order: 1 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 5px 13px !important;
    min-width: 96px !important;
    border-radius: 999px !important;
    background: transparent !important;
    border: 2px solid #12dfd1 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
}

.auto-quote-page .footer-reference-layout .footer-phone-icon{
    order: 2 !important;
}

.auto-quote-page .footer-reference-layout .footer-whatsapp-icon{
    order: 3 !important;
}

.auto-quote-page .footer-reference-layout .footer-mini-icon{
    color: #12dfd1 !important;
    text-decoration: none !important;
    font-size: 22px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Bottom contact row uses the exact same 620px box */
.auto-quote-page .footer-reference-layout .footer-contact-block{
    text-align: left !important;
    margin-top: 2px !important;
}

.auto-quote-page .footer-reference-layout .footer-contact-title{
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    margin: 0 0 3px 0 !important;
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.15px !important;
    text-align: left !important;
}

.auto-quote-page .footer-reference-layout .footer-contact-heading{
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
}

.auto-quote-page .footer-reference-layout .footer-contact-phone{
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.auto-quote-page .footer-reference-layout .footer-contact-phone i{
    font-size: 21px !important;
    color: #ffffff !important;
}

.auto-quote-page .footer-reference-layout .footer-hours{
    width: 100% !important;
    margin: 2px 0 0 0 !important;
    text-align: center !important;
    color: rgba(255, 255, 255, 0.70) !important;
    font-size: 13.5px !important;
    line-height: 1.35 !important;
}

/* Footer bottom remains normal */
.auto-quote-page .footer-bottom-row{
    margin-top: 34px !important;
    padding-top: 23px !important;
}

/* Tablet */
@media (max-width: 700px){
    .auto-quote-page .footer-reference-layout .footer-support-agent, .auto-quote-page .footer-reference-layout .footer-contact-block{
        width: 520px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-agent{
        grid-template-columns: 94px 1fr !important;
        column-gap: 14px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-avatar-wrap, .auto-quote-page .footer-reference-layout .footer-support-avatar{
        width: 94px !important;
        height: 94px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-message{
        font-size: 18px !important;
        max-width: 390px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-contact-title, .auto-quote-page .footer-reference-layout .footer-contact-phone{
        font-size: 18px !important;
    }
}

/* Mobile */
@media (max-width: 480px){
    .auto-quote-page .form-footer{
        padding: 24px 16px 24px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-agent, .auto-quote-page .footer-reference-layout .footer-contact-block{
        width: 100% !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-agent{
        grid-template-columns: 82px 1fr !important;
        column-gap: 12px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-avatar-wrap, .auto-quote-page .footer-reference-layout .footer-support-avatar{
        width: 82px !important;
        height: 82px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-message{
        max-width: 100% !important;
        font-size: 16px !important;
        line-height: 1.08 !important;
    }

    .auto-quote-page .footer-reference-layout .mobile-commercial-break{
        display: block !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-online{
        min-width: 84px !important;
        padding: 4px 10px !important;
        font-size: 11px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-mini-icon{
        font-size: 20px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-contact-title{
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
        gap: 6px 9px !important;
        font-size: 17px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-contact-phone{
        font-size: 17px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-hours{
        font-size: 12.5px !important;
        text-align: center !important;
    }
}

/* ===== Final text alignment + forced two-line support message ===== */
.auto-quote-page .footer-reference-layout .footer-support-agent, .auto-quote-page .footer-reference-layout .footer-contact-block{
    width: 620px !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.auto-quote-page .footer-reference-layout .footer-support-content{
    width: 100% !important;
    align-items: flex-start !important;
    text-align: left !important;
}

.auto-quote-page .footer-reference-layout .footer-support-message{
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 8px 0 !important;
    color: #ffffff !important;
    font-size: 22px !important;
    line-height: 1.08 !important;
    font-weight: 500 !important;
    letter-spacing: -0.2px !important;
    text-align: left !important;
}

.auto-quote-page .footer-reference-layout .footer-support-message br{
    display: block !important;
    content: "" !important;
}

.auto-quote-page .footer-reference-layout .footer-message-line2{
    display: inline-block !important;
}

.auto-quote-page .footer-reference-layout .footer-contact-block{
    text-align: left !important;
}

.auto-quote-page .footer-reference-layout .footer-contact-title{
    width: 100% !important;
    justify-content: flex-start !important;
    text-align: left !important;
}

.auto-quote-page .footer-reference-layout .footer-hours{
    width: 100% !important;
    text-align: center !important;
}

@media (max-width: 700px){
    .auto-quote-page .footer-reference-layout .footer-support-agent, .auto-quote-page .footer-reference-layout .footer-contact-block{
        width: 520px !important;
    }
    .auto-quote-page .footer-reference-layout .footer-support-message{
        font-size: 18px !important;
    }
}

@media (max-width: 480px){
    .auto-quote-page .footer-reference-layout .footer-support-agent, .auto-quote-page .footer-reference-layout .footer-contact-block{
        width: 100% !important;
    }
    .auto-quote-page .footer-reference-layout .footer-support-message{
        font-size: 16px !important;
        line-height: 1.08 !important;
    }
    .auto-quote-page .footer-reference-layout .mobile-commercial-break{
        display: inline !important;
    }
}

/* ===== EXACT FINAL FOOTER ALIGNMENT =====
   Same total width for image/text row and number row.
   Bottom row starts at avatar-left and ends with top text line end area. */
.auto-quote-page .form-footer{
    background: #1f1f1f !important;
    padding: 28px 24px 26px !important;
}

.auto-quote-page .footer-reference-layout.footer-main-row{
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    place-items: center !important;
    gap: 10px !important;
    text-align: left !important;
}

/* Shared alignment box */
.auto-quote-page .footer-reference-layout .footer-support-agent, .auto-quote-page .footer-reference-layout .footer-contact-block{
    width: 560px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

/* Top row: 112px image + 18px gap + 430px text = 560px total */
.auto-quote-page .footer-reference-layout .footer-support-agent{
    display: grid !important;
    grid-template-columns: 112px 430px !important;
    column-gap: 18px !important;
    align-items: center !important;
    justify-content: start !important;
}

.auto-quote-page .footer-reference-layout .footer-support-avatar-wrap{
    width: 112px !important;
    height: 112px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.auto-quote-page .footer-reference-layout .footer-support-avatar{
    width: 112px !important;
    height: 112px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center top !important;
    border: 2px solid #12dfd1 !important;
    background: #1f1f1f !important;
    box-shadow: 0 0 0 2px rgba(18, 223, 209, 0.18) !important;
}

.auto-quote-page .footer-reference-layout .footer-support-content{
    width: 430px !important;
    max-width: 430px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    text-align: left !important;
}

.auto-quote-page .footer-reference-layout .footer-support-message{
    width: 430px !important;
    max-width: 430px !important;
    margin: 0 0 8px 0 !important;
    color: #ffffff !important;
    font-size: 22px !important;
    line-height: 1.08 !important;
    font-weight: 500 !important;
    letter-spacing: -0.2px !important;
    text-align: left !important;
    white-space: normal !important;
}

.auto-quote-page .footer-reference-layout .footer-support-message br{
    display: block !important;
}

.auto-quote-page .footer-reference-layout .footer-message-line2{
    display: inline !important;
}

.auto-quote-page .footer-reference-layout .footer-support-status-row{
    display: flex !important;
    width: 430px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
}

.auto-quote-page .footer-reference-layout .footer-support-online{
    order: 1 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 5px 13px !important;
    min-width: 96px !important;
    border-radius: 999px !important;
    background: transparent !important;
    border: 2px solid #12dfd1 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
}

.auto-quote-page .footer-reference-layout .online-dot{
    width: 10px !important;
    height: 10px !important;
    background: #22c55e !important;
    border-radius: 50% !important;
    display: inline-block !important;
    animation: onlineDotPulse 1.2s infinite ease-in-out !important;
}

.auto-quote-page .footer-reference-layout .online-text{
    color: #ffffff !important;
    animation: onlineTextBlink 1.1s infinite ease-in-out !important;
}

.auto-quote-page .footer-reference-layout .footer-phone-icon{
    order: 2 !important;
}

.auto-quote-page .footer-reference-layout .footer-whatsapp-icon{
    order: 3 !important;
}

.auto-quote-page .footer-reference-layout .footer-mini-icon{
    color: #12dfd1 !important;
    text-decoration: none !important;
    font-size: 22px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Bottom row: same 560px box, aligned from avatar-left */
.auto-quote-page .footer-reference-layout .footer-contact-block{
    text-align: left !important;
    margin-top: 0 !important;
}

.auto-quote-page .footer-reference-layout .footer-contact-title{
    width: 560px !important;
    max-width: 560px !important;
    margin: 0 0 3px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-align: left !important;
    white-space: nowrap !important;
}

.auto-quote-page .footer-reference-layout .footer-contact-heading{
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
}

.auto-quote-page .footer-reference-layout .footer-contact-phone{
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.auto-quote-page .footer-reference-layout .footer-contact-phone i{
    font-size: 21px !important;
    color: #ffffff !important;
}

.auto-quote-page .footer-reference-layout .footer-hours{
    width: 560px !important;
    max-width: 560px !important;
    margin: 2px 0 0 0 !important;
    text-align: center !important;
    color: rgba(255, 255, 255, 0.70) !important;
    font-size: 13.5px !important;
    line-height: 1.35 !important;
}

.auto-quote-page .footer-bottom-row{
    margin-top: 34px !important;
    padding-top: 23px !important;
}

/* Tablet */
@media (max-width: 700px){
    .auto-quote-page .footer-reference-layout .footer-support-agent, .auto-quote-page .footer-reference-layout .footer-contact-block{
        width: 500px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-agent{
        grid-template-columns: 94px 386px !important;
        column-gap: 20px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-avatar-wrap, .auto-quote-page .footer-reference-layout .footer-support-avatar{
        width: 94px !important;
        height: 94px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-content, .auto-quote-page .footer-reference-layout .footer-support-message, .auto-quote-page .footer-reference-layout .footer-support-status-row{
        width: 386px !important;
        max-width: 386px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-message, .auto-quote-page .footer-reference-layout .footer-contact-title, .auto-quote-page .footer-reference-layout .footer-contact-phone{
        font-size: 18px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-contact-title, .auto-quote-page .footer-reference-layout .footer-hours{
        width: 500px !important;
        max-width: 500px !important;
    }
}

/* Mobile */
@media (max-width: 480px){
    .auto-quote-page .form-footer{
        padding: 24px 16px 24px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-agent, .auto-quote-page .footer-reference-layout .footer-contact-block{
        width: 100% !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-agent{
        grid-template-columns: 82px minmax(0, 1fr) !important;
        column-gap: 12px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-avatar-wrap, .auto-quote-page .footer-reference-layout .footer-support-avatar{
        width: 82px !important;
        height: 82px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-content, .auto-quote-page .footer-reference-layout .footer-support-message, .auto-quote-page .footer-reference-layout .footer-support-status-row{
        width: 100% !important;
        max-width: 100% !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-message{
        font-size: 16px !important;
        line-height: 1.08 !important;
    }

    .auto-quote-page .footer-reference-layout .footer-contact-title{
        width: 100% !important;
        max-width: 100% !important;
        flex-wrap: wrap !important;
        gap: 6px 9px !important;
        font-size: 17px !important;
        white-space: normal !important;
    }

    .auto-quote-page .footer-reference-layout .footer-contact-phone{
        font-size: 17px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-hours{
        width: 100% !important;
        max-width: 100% !important;
        font-size: 12.5px !important;
        text-align: center !important;
    }
}

/* Slightly bigger round avatar */
.auto-quote-page .footer-reference-layout .footer-support-agent{
    grid-template-columns: 120px 422px !important;
}

.auto-quote-page .footer-reference-layout .footer-support-avatar-wrap{
    width: 120px !important;
    height: 120px !important;
}

.auto-quote-page .footer-reference-layout .footer-support-avatar{
    width: 120px !important;
    height: 120px !important;
}

@media (max-width: 700px){
    .auto-quote-page .footer-reference-layout .footer-support-agent{
        grid-template-columns: 100px 380px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-avatar-wrap, .auto-quote-page .footer-reference-layout .footer-support-avatar{
        width: 100px !important;
        height: 100px !important;
    }
}

@media (max-width: 480px){
    .auto-quote-page .footer-reference-layout .footer-support-agent{
        grid-template-columns: 88px minmax(0, 1fr) !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-avatar-wrap, .auto-quote-page .footer-reference-layout .footer-support-avatar{
        width: 88px !important;
        height: 88px !important;
    }
}

/* ===== FINAL CENTER ALIGNMENT: equal left/right page gap ===== */
.auto-quote-page .form-footer{
    background: #1f1f1f !important;
    padding: 28px 24px 26px !important;
}

.auto-quote-page .footer-reference-layout.footer-main-row{
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}

/* Same centered box for both rows */
.auto-quote-page .footer-reference-layout .footer-support-agent, .auto-quote-page .footer-reference-layout .footer-contact-block, .auto-quote-page .footer-reference-layout .footer-hours{
    width: min(620px, calc(100% - 32px)) !important;
    max-width: min(620px, calc(100% - 32px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Top row centered */
.auto-quote-page .footer-reference-layout .footer-support-agent{
    display: grid !important;
    grid-template-columns: 120px 1fr !important;
    column-gap: 18px !important;
    align-items: center !important;
    justify-content: center !important;
}

.auto-quote-page .footer-reference-layout .footer-support-avatar-wrap{
    width: 120px !important;
    height: 120px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.auto-quote-page .footer-reference-layout .footer-support-avatar{
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center top !important;
    background: #1f1f1f !important;
}

.auto-quote-page .footer-reference-layout .footer-support-content{
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    text-align: left !important;
}

.auto-quote-page .footer-reference-layout .footer-support-message{
    width: 100% !important;
    margin: 0 0 8px 0 !important;
    text-align: left !important;
}

.auto-quote-page .footer-reference-layout .footer-support-status-row{
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
}

/* Bottom row perfectly centered */
.auto-quote-page .footer-reference-layout .footer-contact-block{
    text-align: center !important;
    margin-top: 0 !important;
}

.auto-quote-page .footer-reference-layout .footer-contact-title{
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 3px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.auto-quote-page .footer-reference-layout .footer-hours{
    margin-top: 2px !important;
    text-align: center !important;
}

/* Tablet */
@media (max-width: 700px){
    .auto-quote-page .footer-reference-layout .footer-support-agent, .auto-quote-page .footer-reference-layout .footer-contact-block, .auto-quote-page .footer-reference-layout .footer-hours{
        width: min(540px, calc(100% - 24px)) !important;
        max-width: min(540px, calc(100% - 24px)) !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-agent{
        grid-template-columns: 100px 1fr !important;
        column-gap: 16px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-avatar-wrap, .auto-quote-page .footer-reference-layout .footer-support-avatar{
        width: 100px !important;
        height: 100px !important;
    }
}

/* Mobile */
@media (max-width: 480px){
    .auto-quote-page .form-footer{
        padding: 24px 16px 24px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-agent, .auto-quote-page .footer-reference-layout .footer-contact-block, .auto-quote-page .footer-reference-layout .footer-hours{
        width: calc(100% - 8px) !important;
        max-width: calc(100% - 8px) !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-agent{
        grid-template-columns: 88px 1fr !important;
        column-gap: 12px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-avatar-wrap, .auto-quote-page .footer-reference-layout .footer-support-avatar{
        width: 88px !important;
        height: 88px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-contact-title{
        flex-wrap: wrap !important;
        white-space: normal !important;
    }
}

/* ===== FINAL: align all footer rows and increase left-side gap ===== */
/* This shifts the complete Sonny/footer contact block slightly right on desktop,
   so image row, text row, number row, and timing stay aligned together. */
.auto-quote-page .footer-reference-layout .footer-support-agent, .auto-quote-page .footer-reference-layout .footer-contact-block, .auto-quote-page .footer-reference-layout .footer-hours{
    transform: translateX(55px) !important;
}

/* Keep both rows using same visual width and alignment */
.auto-quote-page .footer-reference-layout .footer-support-agent, .auto-quote-page .footer-reference-layout .footer-contact-block{
    width: min(620px, calc(100% - 32px)) !important;
    max-width: min(620px, calc(100% - 32px)) !important;
}

.auto-quote-page .footer-reference-layout .footer-support-agent{
    display: grid !important;
    grid-template-columns: 120px 1fr !important;
    column-gap: 18px !important;
    align-items: center !important;
    justify-content: start !important;
}

.auto-quote-page .footer-reference-layout .footer-support-content, .auto-quote-page .footer-reference-layout .footer-support-message, .auto-quote-page .footer-reference-layout .footer-support-status-row{
    text-align: left !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
}

.auto-quote-page .footer-reference-layout .footer-contact-block{
    text-align: left !important;
}

.auto-quote-page .footer-reference-layout .footer-contact-title{
    justify-content: flex-start !important;
    text-align: left !important;
    width: 100% !important;
}

.auto-quote-page .footer-reference-layout .footer-hours{
    width: min(620px, calc(100% - 32px)) !important;
    max-width: min(620px, calc(100% - 32px)) !important;
    text-align: center !important;
}

/* On tablet, shift less */
@media (max-width: 900px){
    .auto-quote-page .footer-reference-layout .footer-support-agent, .auto-quote-page .footer-reference-layout .footer-contact-block, .auto-quote-page .footer-reference-layout .footer-hours{
        transform: translateX(28px) !important;
    }
}

/* On mobile, do not shift right to avoid overflow */
@media (max-width: 480px){
    .auto-quote-page .footer-reference-layout .footer-support-agent, .auto-quote-page .footer-reference-layout .footer-contact-block, .auto-quote-page .footer-reference-layout .footer-hours{
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-agent{
        grid-template-columns: 88px 1fr !important;
        column-gap: 12px !important;
    }

    .auto-quote-page .footer-reference-layout .mobile-commercial-break{
        display: block !important;
    }
}

/* ===== ONLY HOURS LINE FIX ===== */
/* Sirf Hours wali line ko left move kiya hai.
   Baqi footer layout / image / Need line / phone line ko touch nahi kiya. */
.auto-quote-page .footer-reference-layout .footer-hours{
    position: relative !important;
    left: -76px !important;
    margin-top: 2px !important;
    text-align: center !important;
}

/* Mobile par hours ko normal center rakhna, warna screen se bahar ja sakta hai */
@media (max-width: 640px){
    .auto-quote-page .footer-reference-layout .footer-hours{
        left: 0 !important;
        text-align: center !important;
    }
}

/* ===== SMALL AVATAR SIZE + 10PX GAP BETWEEN IMAGE AND QUESTION TEXT ===== */
.auto-quote-page .footer-reference-layout .footer-support-agent{
    gap: 10px !important;
}

.auto-quote-page .footer-reference-layout .footer-support-avatar{
    width: 118px !important;
    height: 118px !important;
}

@media (max-width: 640px){
    .auto-quote-page .footer-reference-layout .footer-support-avatar{
        width: 90px !important;
        height: 90px !important;
    }
}

/* ===== MORE GAP BETWEEN ROUND IMAGE AND RIGHT TEXT ===== */
.auto-quote-page .footer-reference-layout .footer-support-agent{
    gap: 22px !important;
    column-gap: 22px !important;
}

/* ===== SLIGHTLY BIGGER ROUND IMAGE ===== */
.auto-quote-page .footer-reference-layout .footer-support-avatar{
    width: 124px !important;
    height: 124px !important;
}

@media (max-width: 640px){
    .auto-quote-page .footer-reference-layout .footer-support-avatar{
        width: 94px !important;
        height: 94px !important;
    }
}

/* ===== MOBILE: keep Questions text exactly 2 lines and aligned ===== */
@media (max-width: 640px){
    .auto-quote-page .footer-reference-layout .footer-support-content{
        text-align: left !important;
        align-items: flex-start !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-message{
        width: 260px !important;
        max-width: 260px !important;
        text-align: left !important;
        line-height: 1.08 !important;
        white-space: normal !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-message br{
        display: block !important;
    }

    .auto-quote-page .footer-reference-layout .mobile-commercial-break, .auto-quote-page .footer-reference-layout .footer-message-line2{
        display: block !important;
    }
}

@media (max-width: 380px){
    .auto-quote-page .footer-reference-layout .footer-support-message{
        width: 230px !important;
        max-width: 230px !important;
    }
}

/* ===== MOBILE: force Questions message into exactly 2 lines ===== */
@media (max-width: 640px){
    .auto-quote-page .footer-reference-layout .footer-support-agent{
        gap: 10px !important;
        column-gap: 10px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-avatar{
        width: 88px !important;
        height: 88px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-message{
        width: auto !important;
        max-width: none !important;
        font-size: 13px !important;
        line-height: 1.12 !important;
        text-align: left !important;
        white-space: nowrap !important;
        margin-bottom: 7px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-message br{
        display: block !important;
        content: "" !important;
    }

    .auto-quote-page .footer-reference-layout .footer-message-line2, .auto-quote-page .footer-reference-layout .mobile-commercial-break{
        display: inline !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 380px){
    .auto-quote-page .footer-reference-layout .footer-support-avatar{
        width: 82px !important;
        height: 82px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-agent{
        gap: 8px !important;
        column-gap: 8px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-message{
        font-size: 12px !important;
    }
}

@media (max-width: 340px){
    .auto-quote-page .footer-reference-layout .footer-support-avatar{
        width: 76px !important;
        height: 76px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-message{
        font-size: 11px !important;
    }
}

/* ===== MOBILE ONLY: add slight left gap to image/text row ===== */
/* Laptop view untouched */
@media (max-width: 640px){
    .auto-quote-page .footer-reference-layout .footer-support-agent{
        padding-left: 14px !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 380px){
    .auto-quote-page .footer-reference-layout .footer-support-agent{
        padding-left: 10px !important;
    }
}

/* ===== MOBILE ONLY: Need line + phone on one line, aligned with upper row ===== */
/* Laptop / desktop view untouched */
@media (max-width: 640px){
    .auto-quote-page .footer-reference-layout .footer-contact-block{
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 14px !important;
        box-sizing: border-box !important;
        text-align: left !important;
        align-items: flex-start !important;
    }

    .auto-quote-page .footer-reference-layout .footer-contact-title{
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 6px !important;
        text-align: left !important;
        white-space: nowrap !important;
        font-size: 13px !important;
        line-height: 1.25 !important;
        margin: 0 0 4px 0 !important;
    }

    .auto-quote-page .footer-reference-layout .footer-contact-heading{
        display: inline-flex !important;
        width: auto !important;
        justify-content: flex-start !important;
        align-items: center !important;
        text-align: left !important;
        white-space: nowrap !important;
        flex: 0 0 auto !important;
    }

    .auto-quote-page .footer-reference-layout .footer-contact-phone{
        display: inline-flex !important;
        width: auto !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 4px !important;
        text-align: left !important;
        white-space: nowrap !important;
        font-size: 13px !important;
        line-height: 1.25 !important;
        flex: 0 0 auto !important;
    }

    .auto-quote-page .footer-reference-layout .footer-contact-phone i{
        font-size: 12px !important;
        margin-right: 2px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-hours{
        padding-left: 14px !important;
        text-align: left !important;
    }
}

@media (max-width: 380px){
    .auto-quote-page .footer-reference-layout .footer-contact-block{
        padding-left: 10px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-contact-title, .auto-quote-page .footer-reference-layout .footer-contact-phone{
        font-size: 12px !important;
        gap: 5px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-contact-phone i{
        font-size: 11px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-hours{
        padding-left: 10px !important;
    }
}

@media (max-width: 340px){
    .auto-quote-page .footer-reference-layout .footer-contact-title, .auto-quote-page .footer-reference-layout .footer-contact-phone{
        font-size: 11px !important;
        gap: 4px !important;
    }
}

/* ===== MOBILE ONLY: move upper 2 rows slightly right ===== */
/* Laptop / desktop view untouched */
@media (max-width: 640px){
    .auto-quote-page .footer-reference-layout .footer-support-agent, .auto-quote-page .footer-reference-layout .footer-contact-block{
        transform: translateX(14px) !important;
    }
}

@media (max-width: 380px){
    .auto-quote-page .footer-reference-layout .footer-support-agent, .auto-quote-page .footer-reference-layout .footer-contact-block{
        transform: translateX(10px) !important;
    }
}

/* ===== MOBILE ONLY: align Need row + Hours row exactly with avatar row ===== */
/* Laptop / desktop view untouched */
@media (max-width: 640px){
    /* Common same box for avatar row, Need row, and Hours row */
    .auto-quote-page .footer-reference-layout .footer-support-agent, .auto-quote-page .footer-reference-layout .footer-contact-block, .auto-quote-page .footer-reference-layout .footer-hours{
        width: calc(100% - 34px) !important;
        max-width: calc(100% - 34px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
        transform: translateX(8px) !important;
        left: auto !important;
    }

    /* Avatar row stays same aligned box */
    .auto-quote-page .footer-reference-layout .footer-support-agent{
        justify-content: flex-start !important;
    }

    /* Need + number row starts exactly where avatar row starts */
    .auto-quote-page .footer-reference-layout .footer-contact-block{
        text-align: left !important;
        align-items: flex-start !important;
    }

    .auto-quote-page .footer-reference-layout .footer-contact-title{
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        align-items: center !important;
        text-align: left !important;
        white-space: nowrap !important;
        margin: 0 0 4px 0 !important;
    }

    .auto-quote-page .footer-reference-layout .footer-contact-heading, .auto-quote-page .footer-reference-layout .footer-contact-phone{
        width: auto !important;
        display: inline-flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        white-space: nowrap !important;
        text-align: left !important;
    }

    /* Hours line starts from the same left edge and stays inside same right edge */
    .auto-quote-page .footer-reference-layout .footer-hours{
        display: block !important;
        text-align: left !important;
        margin-top: 4px !important;
        padding-left: 0 !important;
    }
}

@media (max-width: 380px){
    .auto-quote-page .footer-reference-layout .footer-support-agent, .auto-quote-page .footer-reference-layout .footer-contact-block, .auto-quote-page .footer-reference-layout .footer-hours{
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
        transform: translateX(5px) !important;
    }
}

/* ===== MOBILE ONLY: align Need row and Hours row ===== */
/* Desktop / laptop view untouched */
@media (max-width: 640px){
    /* Same left edge for both rows */
    .auto-quote-page .footer-reference-layout .footer-contact-block, .auto-quote-page .footer-reference-layout .footer-hours{
        width: calc(100% - 52px) !important;
        max-width: calc(100% - 52px) !important;
        margin-left: 34px !important;
        margin-right: 18px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
        transform: none !important;
        left: auto !important;
        text-align: left !important;
    }

    /* Need + phone stays in one row */
    .auto-quote-page .footer-reference-layout .footer-contact-title{
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 5px !important;
        margin: 0 0 4px 0 !important;
        text-align: left !important;
        white-space: nowrap !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
    }

    .auto-quote-page .footer-reference-layout .footer-contact-heading, .auto-quote-page .footer-reference-layout .footer-contact-phone{
        display: inline-flex !important;
        width: auto !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: left !important;
        white-space: nowrap !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
    }

    .auto-quote-page .footer-reference-layout .footer-contact-phone{
        gap: 4px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-contact-phone i{
        font-size: 11px !important;
        margin-right: 1px !important;
    }

    /* Hours starts exactly from same left edge as Need row */
    .auto-quote-page .footer-reference-layout .footer-hours{
        display: block !important;
        margin-top: 4px !important;
        white-space: nowrap !important;
        font-size: 10.5px !important;
        line-height: 1.25 !important;
    }
}

@media (max-width: 380px){
    .auto-quote-page .footer-reference-layout .footer-contact-block, .auto-quote-page .footer-reference-layout .footer-hours{
        width: calc(100% - 40px) !important;
        max-width: calc(100% - 40px) !important;
        margin-left: 26px !important;
        margin-right: 14px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-contact-title, .auto-quote-page .footer-reference-layout .footer-contact-heading, .auto-quote-page .footer-reference-layout .footer-contact-phone{
        font-size: 11px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-hours{
        font-size: 9.8px !important;
    }
}

/* ===== MOBILE ONLY: move Need to talk row slightly right ===== */
/* Laptop / desktop untouched */
@media (max-width: 640px){
    .auto-quote-page .footer-reference-layout .footer-contact-title{
        transform: translateX(10px) !important;
    }
}

@media (max-width: 380px){
    .auto-quote-page .footer-reference-layout .footer-contact-title{
        transform: translateX(7px) !important;
    }
}

/* ===== MOBILE ONLY: move Need to talk row more right ===== */
/* Laptop / desktop untouched */
@media (max-width: 640px){
    .auto-quote-page .footer-reference-layout .footer-contact-title{
        transform: translateX(20px) !important;
    }
}

@media (max-width: 380px){
    .auto-quote-page .footer-reference-layout .footer-contact-title{
        transform: translateX(14px) !important;
    }
}

/* ===== MOBILE ONLY: adjust Need row slightly left ===== */
/* Laptop / desktop untouched */
@media (max-width: 640px){
    .auto-quote-page .footer-reference-layout .footer-contact-title{
        transform: translateX(16px) !important;
    }
}

@media (max-width: 380px){
    .auto-quote-page .footer-reference-layout .footer-contact-title{
        transform: translateX(11px) !important;
    }
}

/* ===== MOBILE ONLY: move Hours line to left ===== */
/* Laptop / desktop untouched */
@media (max-width: 640px){
    .auto-quote-page .footer-reference-layout .footer-hours{
        margin-left: 19px !important;
        margin-right: auto !important;
        transform: none !important;
        left: auto !important;
        text-align: left !important;
        white-space: nowrap !important;
        width: max-content !important;
        max-width: none !important;
    }
}

@media (max-width: 380px){
    .auto-quote-page .footer-reference-layout .footer-hours{
        margin-left: 8px !important;
    }
}

/* ===== LAPTOP/DESKTOP ONLY: move Hours line left ===== */
/* Mobile view untouched */
@media (min-width: 641px){
    .auto-quote-page .footer-reference-layout .footer-hours{
        position: relative !important;
        left: -100px !important;
        margin-top: 2px !important;
        text-align: center !important;
    }
}

/* ===== FINAL RESPONSIVE FOOTER CENTERING FIX (tablet + mobile only) ===== */
/* Desktop/laptop stays as it is. This block only cleans the footer below 900px. */
@media (max-width: 900px){
  .auto-quote-page .form-footer{
    padding: 28px 16px 24px !important;
    overflow-x: hidden !important;
  }

  .auto-quote-page .footer-container, .auto-quote-page .footer-reference-layout.footer-main-row{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 12px !important;
    transform: none !important;
    left: auto !important;
  }

  .auto-quote-page .footer-reference-layout .footer-support-agent{
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    text-align: left !important;
    transform: none !important;
    left: auto !important;
  }

  .auto-quote-page .footer-reference-layout .footer-support-avatar-wrap{
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }

  .auto-quote-page .footer-reference-layout .footer-support-avatar{
    width: 78px !important;
    height: 78px !important;
    min-width: 78px !important;
    max-width: 78px !important;
  }

  .auto-quote-page .footer-reference-layout .footer-support-content{
    width: auto !important;
    max-width: 360px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    text-align: left !important;
    transform: none !important;
  }

  .auto-quote-page .footer-reference-layout .footer-support-message{
    margin: 0 0 7px 0 !important;
    font-size: 18px !important;
    line-height: 1.12 !important;
    text-align: left !important;
  }

  .auto-quote-page .footer-reference-layout .footer-support-status-row{
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    text-align: left !important;
    transform: none !important;
  }

  .auto-quote-page .footer-reference-layout .footer-support-online{
    min-width: 86px !important;
    padding: 5px 11px !important;
    font-size: 11.5px !important;
  }

  .auto-quote-page .footer-reference-layout .footer-contact-block, .auto-quote-page .footer-reference-layout .footer-hours{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center !important;
    transform: none !important;
    left: auto !important;
  }

  .auto-quote-page .footer-reference-layout .footer-contact-title{
    width: 100% !important;
    max-width: 100% !important;
    margin: 2px auto 4px !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px 10px !important;
    text-align: center !important;
    white-space: normal !important;
    transform: none !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
  }

  .auto-quote-page .footer-reference-layout .footer-contact-heading, .auto-quote-page .footer-reference-layout .footer-contact-phone{
    width: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    transform: none !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
  }

  .auto-quote-page .footer-reference-layout .footer-contact-phone{
    gap: 6px !important;
  }

  .auto-quote-page .footer-reference-layout .footer-contact-phone i{
    font-size: 16px !important;
  }

  .auto-quote-page .footer-reference-layout .footer-hours{
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 3px !important;
    white-space: normal !important;
    font-size: 12.5px !important;
    line-height: 1.35 !important;
  }

  .auto-quote-page .footer-bottom-row{
    width: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 8px !important;
  }
}

@media (max-width: 520px){
  .auto-quote-page .form-footer{
    padding: 24px 14px 22px !important;
  }

  .auto-quote-page .footer-reference-layout .footer-support-agent{
    max-width: 330px !important;
    gap: 10px !important;
  }

  .auto-quote-page .footer-reference-layout .footer-support-avatar{
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
  }

  .auto-quote-page .footer-reference-layout .footer-support-content{
    max-width: 240px !important;
  }

  .auto-quote-page .footer-reference-layout .footer-support-message{
    font-size: 14.8px !important;
    line-height: 1.12 !important;
    margin-bottom: 6px !important;
  }

  .auto-quote-page .footer-reference-layout .footer-support-online{
    min-width: 78px !important;
    padding: 4px 9px !important;
    font-size: 10.5px !important;
  }

  .auto-quote-page .footer-reference-layout .footer-mini-icon{
    font-size: 18px !important;
  }

  .auto-quote-page .footer-reference-layout .footer-contact-title{
    flex-direction: column !important;
    gap: 5px !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    margin-top: 4px !important;
  }

  .auto-quote-page .footer-reference-layout .footer-contact-heading, .auto-quote-page .footer-reference-layout .footer-contact-phone{
    font-size: 16px !important;
    line-height: 1.25 !important;
  }

  .auto-quote-page .footer-reference-layout .footer-contact-phone i{
    font-size: 14px !important;
  }

  .auto-quote-page .footer-reference-layout .footer-hours{
    font-size: 11.5px !important;
    line-height: 1.35 !important;
  }
}

@media (max-width: 360px){
  .auto-quote-page .footer-reference-layout .footer-support-agent{
    max-width: 300px !important;
    gap: 8px !important;
  }

  .auto-quote-page .footer-reference-layout .footer-support-avatar{
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
  }

  .auto-quote-page .footer-reference-layout .footer-support-content{
    max-width: 220px !important;
  }

  .auto-quote-page .footer-reference-layout .footer-support-message{
    font-size: 13.8px !important;
  }

  .auto-quote-page .footer-reference-layout .footer-contact-title, .auto-quote-page .footer-reference-layout .footer-contact-heading, .auto-quote-page .footer-reference-layout .footer-contact-phone{
    font-size: 15px !important;
  }

  .auto-quote-page .footer-reference-layout .footer-hours{
    font-size: 10.8px !important;
  }
}

/* ===== FINAL USER REQUEST: smaller footer avatar ===== */
.auto-quote-page .footer-reference-layout .footer-support-agent{
    grid-template-columns: 92px 1fr !important;
    column-gap: 16px !important;
}

.auto-quote-page .footer-reference-layout .footer-support-avatar-wrap, .auto-quote-page .footer-reference-layout .footer-support-avatar{
    width: 92px !important;
    height: 92px !important;
    min-width: 92px !important;
    max-width: 92px !important;
}

@media (max-width: 900px){
    .auto-quote-page .footer-reference-layout .footer-support-avatar-wrap, .auto-quote-page .footer-reference-layout .footer-support-avatar{
        width: 70px !important;
        height: 70px !important;
        min-width: 70px !important;
        max-width: 70px !important;
    }
}

@media (max-width: 520px){
    .auto-quote-page .footer-reference-layout .footer-support-avatar-wrap, .auto-quote-page .footer-reference-layout .footer-support-avatar{
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        max-width: 56px !important;
    }
}

@media (max-width: 360px){
    .auto-quote-page .footer-reference-layout .footer-support-avatar-wrap, .auto-quote-page .footer-reference-layout .footer-support-avatar{
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        max-width: 50px !important;
    }
}

/* ===== FINAL USER REQUEST: even smaller footer avatar + mobile gap above contact row ===== */
.auto-quote-page .footer-reference-layout .footer-support-agent{
    grid-template-columns: 82px 1fr !important;
    column-gap: 14px !important;
}

.auto-quote-page .footer-reference-layout .footer-support-avatar-wrap, .auto-quote-page .footer-reference-layout .footer-support-avatar{
    width: 82px !important;
    height: 82px !important;
    min-width: 82px !important;
    max-width: 82px !important;
}

@media (max-width: 900px){
    .auto-quote-page .footer-reference-layout .footer-support-avatar-wrap, .auto-quote-page .footer-reference-layout .footer-support-avatar{
        width: 62px !important;
        height: 62px !important;
        min-width: 62px !important;
        max-width: 62px !important;
    }
}

@media (max-width: 520px){
    .auto-quote-page .footer-reference-layout .footer-support-agent{
        gap: 9px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-avatar-wrap, .auto-quote-page .footer-reference-layout .footer-support-avatar{
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        max-width: 48px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-contact-block{
        margin-top: 14px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-contact-title{
        margin-top: 12px !important;
    }
}

@media (max-width: 360px){
    .auto-quote-page .footer-reference-layout .footer-support-avatar-wrap, .auto-quote-page .footer-reference-layout .footer-support-avatar{
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-contact-block{
        margin-top: 16px !important;
    }
}

/* ===== FINAL USER REQUEST: keep avatar size, add a little gap below avatar/support row ===== */
@media (max-width: 520px){
    .auto-quote-page .footer-reference-layout .footer-support-agent{
        margin-bottom: 10px !important;
    }

    .auto-quote-page .footer-reference-layout .footer-support-avatar-wrap{
        margin-bottom: 6px !important;
    }
}

@media (max-width: 360px){
    .auto-quote-page .footer-reference-layout .footer-support-agent{
        margin-bottom: 12px !important;
    }
}
