/* Contact form two-column layout */
.contact-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  /* Increase usable width of the inner grid so fields are wider */
  max-width: 1200px; /* increase as needed */
  width: 100%;
  margin: 0 auto; /* center grid within the form card */
  justify-content: center; /* center the grid tracks if grid narrower than container */
  justify-items: stretch; /* make items fill their grid cell horizontally */
}

/* Ensure the form element itself is centered inside the .contact-form card */
.contact-form form {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.contact-form .form-col {
  grid-column: span 1;
}
.contact-form .form-row-full {
  grid-column: 1 / span 2;
}

/* Ensure any element marked as full-row spans both columns on desktop and fills width */
.contact-form .form-grid > .input-wrapper.form-row-full,
.contact-form .form-grid > .form-row-full,
.styled-contact-form .form-grid > .input-wrapper.form-row-full {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  display: block;
}
/* Make Send Message button icon appear to the right of the text */
.contact-form .btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.contact-form .btn-primary span {
  display: inline-block;
  text-align: center;
  width: auto;
}
/* Center the text inside the Send Message button */
.contact-form .btn-primary span {
  display: block;
  text-align: center;
  width: 100%;
}
/* Ensure contact-info and contact-form have equal height */
.contact-content.contact-card {
  display: flex;
  align-items: stretch;
  gap: 32px; /* Adjust gap as needed */
}

.contact-info.contact-info-panel,
.contact-form {
  flex: 1;
  min-width: 0;
}
/* Design overrides to refine typography, spacing, and interactions without breaking existing layout */
:root {
  /* Tighter, consistent container max width */
  --max-width: 1200px;
  /* Softer rounded corners for modern look */
  --border-radius: 12px;
  /* Accessible focus color */
  --focus-ring: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

/* Global type scale and readability */
html { font-size: 16px; }
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #f7f9fc;
}

h1.hero-title {
  font-size: clamp(2rem, 4vw + 1rem, 3.2rem);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.hero-subtitle { font-size: clamp(0.95rem, 1vw + 0.8rem, 1.2rem); opacity: .95; }

/* Hero background overlay for better contrast */
.hero-background {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=70');
  background-size: cover;
  background-position: center;
}

/* Container refinement */
.container { max-width: var(--max-width); }

/* Inputs and selects – subtle, consistent styling */
.search-grid-input input,
.search-grid-row-2 select,
.search-grid-row-2 .responsive-select,
.search-grid-row-2 .search-btn,
.styled-contact-form input,
.styled-contact-form textarea {
  border-radius: var(--border-radius);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

/* Focus visible for keyboard users */
:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring) !important;
}

/* Button system – consistent padding and hover */
button, .btn-primary, .search-btn, .sell-nav-btn, .favorites-nav-btn, .newsletter-button {
  border-radius: var(--border-radius) !important;
}
button:hover:not(:disabled), .btn-primary:hover, .search-btn:hover, .newsletter-button:hover {
  filter: none;
}

/* Navigation tweaks */
.desktop-navbar { border-bottom: 1px solid rgba(0,0,0,0.06); }
.desktop-nav-link { color: #1f2a44; }
.desktop-nav-link:hover { color: var(--accent-color); }

/* Featured header spacing */
.section-header h2 { letter-spacing: -0.02em; }
.section-header p { color: #64748b; }

/* Property grid – slightly larger gap on desktop, cleaner card */
.properties-grid { gap: clamp(1rem, 2vw, 2rem); }
.property-card {
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.04);
}
.property-content { gap: 0.5rem; }
.property-title { color: #1e293b; }
.property-location { background: transparent; padding-left: 0; }
.property-features span {
  background: #f1f5f9;
  border-color: rgba(0,0,0,0.05);
}

/* Price – make it pop but subtle */
.property-price {
  background: none;
  -webkit-text-fill-color: inherit;
  color: #0f172a;
}
.property-card:hover .property-price::after { background: linear-gradient(90deg, var(--accent-color), #ffb84d); }

/* Back to top alignment for mobile bottom tab */
@media (max-width: 768px) {
}

/* About section – soften card look */
.about-text { background: rgba(255,255,255,0.85); }
.about-feature { background: rgba(255,255,255,0.85); }

/* Footer – improve readability */
.footer { background: #0b2545; }
.footer-section p, .footer-section ul li a { color: #cbd5e1; }
.footer-section ul li a:hover { color: #ffd18a; }
.footer-bottom { border-top-color: rgba(255,255,255,0.14); color: #9fb3c8; }
@media (min-width: 769px) {
  .footer-brand {
    text-align: left; /* Left-align footer-brand on desktop */
    align-items: flex-start;
    justify-content: flex-start;
    transform: translateY(-6px); /* nudge up a bit on desktop */
  }
  .footer-brand h3,
  .footer-brand p {
    display: block; /* override flex applied in base */
    text-align: left;
    margin-top: 0.25rem; /* reduce vertical offset */
  }
  .footer-brand .social-links {
    justify-content: flex-start; /* align with other columns */
  }
}

/* Slight upward nudge on mobile too, but smaller */
@media (max-width: 768px) {
  .footer-brand { transform: translateY(-4px); }
  .footer-brand h3 { margin-top: 0; }
}

/* Newsletter – compact on large screens */
.newsletter-form { align-items: center; }
.newsletter-input-group input { font-size: 0.95rem; }

/* Modern Favorite Button (property cards) */
.favorite-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(15,23,42,0.06);
  box-shadow: 0 4px 14px rgba(2,6,23,0.12);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.favorite-btn i { color: #64748b; font-size: 1.15rem; transition: color .18s ease, transform .18s ease; }
.favorite-btn:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 8px 18px rgba(2,6,23,0.18); }
.favorite-btn:hover i { color: #ef476f; }
.favorite-btn:active { transform: translateY(0) scale(0.98); }

.favorite-btn.favorited {
  background: linear-gradient(135deg, #ef476f, #ff7aa2);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(239,71,111,0.35);
}
.favorite-btn.favorited i { color: #ffffff; }

/* Burst ripple on click */
.favorite-btn.burst::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(239,71,111,0.35);
  animation: fav-ripple .45s ease-out forwards;
}
@keyframes fav-ripple { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* Heart pop */
.favorite-btn.burst i { animation: fav-pop .28s ease-out; }
@keyframes fav-pop { 0% { transform: scale(1); } 50% { transform: scale(1.25); } 100% { transform: scale(1); } }

/* Apply dashboard_ernie card styling to final-property-card */
.final-property-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0,0,0,0.04);
}
.final-property-card:hover {
  box-shadow: 0 8px 32px rgba(37,99,235,0.12);
}
.final-property-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #e0e7ef;
  overflow: hidden;
}
.final-property-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.final-property-details {
  padding: 1.2rem 1rem 0.5rem 1rem;
  flex: 1;
}
.final-property-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}
.final-property-location {
  font-size: 1rem;
  color: var(--muted-text);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Keep location on a single line; truncate with ellipsis when too long */
.final-property-location {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.final-property-location i { margin-right: 0.35rem; flex: 0 0 auto; }
.final-spec-list { display:flex; gap:0.5rem; flex-wrap:wrap; margin-bottom:0.75rem; }
.final-spec-item {
  background: #f1f5f9;
  color: var(--text-color);
  border-radius: 12px;
  padding: 0.4rem 0.8rem;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.2s ease;
}
.final-spec-item:hover { background:#e2e8f0; transform: translateY(-1px); }
.final-property-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  background: linear-gradient(135deg, #fafbfc 0%, #f1f3f4 100%);
}
.final-property-price { font-size: 1.3rem; font-weight: 800; color: var(--primary-color); }
.final-property-link {
  background: var(--primary-color);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(37,99,235,0.2);
}
.final-property-link:hover { background: var(--accent-color); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,99,235,0.3); }

/* Ensure images inside final cards are responsive and lazy-loaded classes work */
.final-property-card img.lazy-property-image { width:100%; height:100%; object-fit:cover; display:block; }

/* Compatibility and polish for runtime-generated markup */
#properties .final-property-card,
.final-property-card {
  /* ensure consistent sizing and spacing when used in different contexts */
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

/* Image container used by the generator */
.final-property-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(180deg, #eef2f6, #f8fafc);
}

/* Lazy image transitions: generator uses .lazy-property-image */
.final-property-card img.lazy-property-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 280ms ease, transform 300ms ease;
}
.final-property-card img.lazy-property-image.loaded { opacity: 1; }
.final-property-card:hover img.lazy-property-image { transform: scale(1.03); }

/* Align generator spec list class with our design rules */
.final-property-specs, .final-spec-list { display:flex; gap:0.5rem; flex-wrap:wrap; margin-bottom:0.75rem; }
.final-property-specs .final-spec-item, .final-spec-list .final-spec-item, .final-spec-item {
  background: #f1f5f9;
  color: var(--text-color, #0f172a);
  border-radius: 12px;
  padding: 0.35rem 0.7rem;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid rgba(0,0,0,0.04);
}

/* Hide icons inside spec items (use high specificity to avoid affecting other icons) */
.final-property-specs .final-spec-item i,
.final-spec-list .final-spec-item i,
.final-spec-item i {
  display: none !important;
}

/* Favorite button positioning inside image container */
.final-property-image-container .favorite-btn,
.final-property-card .favorite-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

/* Details/footer refinements to match dashboard look */
.final-property-details { padding: 1.15rem 1rem 0.75rem 1rem; }
.final-property-footer { display:flex; align-items:center; justify-content:space-between; padding:1rem 1rem 1.2rem; border-top:1px solid rgba(0,0,0,0.06); }
.final-property-price { font-size:1.3rem; font-weight:800; color: var(--primary-color, #2563eb); }
.final-property-link { border-radius:8px; padding:0.6rem 1rem; }


/* Scroll progress bar */
.scroll-progress-bar { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: rgba(0,0,0,0.06); z-index: 1100; }
.scroll-progress { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent-color), #ffb84d); transition: width 0.1s linear; }

/* Mobile polish */
@media (max-width: 600px) {
  .search-bar { padding: 1.2rem; }
  .section-header h2 { font-size: 1.8rem; }
}

/* Mobile: stack property spec items vertically for better readability */
@media (max-width: 600px) {
  .final-property-specs, .final-spec-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .final-spec-item {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0.45rem 0.7rem;
  }

  .final-spec-item i {
    margin-right: 0.5rem;
    min-width: 18px;
    text-align: center;
  }

  /* Increase property image height for mobile */
  .final-property-image-container {
    aspect-ratio: unset;
    height: 220px;
    min-height: 180px;
    max-height: 260px;
  }
}

/* Desktop: align spec items into a 2-column grid (up to 2 rows) for consistent layout */
@media (min-width: 601px) {
  .final-property-specs, .final-spec-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 0.75rem;
    align-items: start;
    margin-bottom: 0.75rem;
  }

  .final-spec-item {
    width: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.4rem 0.8rem;
  }
}

/* Contact section enhancements */
.contact .section-header h2 { letter-spacing: -0.01em; }
.contact .section-header p { color: #64748b; }

.contact-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 20px 50px rgba(2, 6, 23, 0.08);
  padding: clamp(1rem, 2.5vw, 2rem);
}

.contact-info-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.7));
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}
.contact-heading { font-size: 1.5rem; font-weight: 700; color: #0f172a; margin-bottom: .25rem; }
.contact-subheading { color: #64748b; margin-bottom: 1rem; }
.contact-badges { display: none; }
.badge { display: none; }
.contact-items { display: grid; gap: .75rem; margin: 1rem 0; }
.contact-channels { display: none; }
.channel-pill { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border-radius: 999px; background: #0ea5e9; color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 4px 12px rgba(14,165,233,.25); }
.channel-pill i { font-size: 1rem; }
.channel-pill:hover { background: #0284c7; }

.styled-contact-form {
  position: relative;
  display: block;
}
.styled-contact-form.modern-contact { margin-top: .5rem; }
.styled-contact-form .form-intro { display: none; }

/* Modern grid */
.styled-contact-form .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.styled-contact-form .form-full { grid-column: 1 / -1; }
@media (max-width: 768px) { .styled-contact-form .form-grid { grid-template-columns: 1fr; } }

/* Floating labels with icons */
.styled-contact-form .input-wrapper.float-group { position: relative; }
.styled-contact-form .input-wrapper.float-group i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #94a3b8; pointer-events: none; font-size: .95rem; }
.styled-contact-form .textarea-wrapper i { top: 18px; transform: none; }
.styled-contact-form .float-group input,
.styled-contact-form .float-group textarea {
  width: 100%;
  padding: 1rem 1rem 1rem 40px;
  border: 1.5px solid #dbe2ea;
  border-radius: 12px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.styled-contact-form .float-group textarea { min-height: 130px; }
.styled-contact-form .float-group label { position: absolute; left: 40px; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: .95rem; pointer-events: none; transition: all .15s ease; background: transparent; }
.styled-contact-form .float-group input:focus + label,
.styled-contact-form .float-group input:not(:placeholder-shown) + label,
.styled-contact-form .float-group textarea:focus + label,
.styled-contact-form .float-group textarea:not(:placeholder-shown) + label { top: 0; transform: translateY(-50%) scale(.85); background: #fff; padding: 0 .3rem; color: var(--accent-color); }
.styled-contact-form input:focus,
.styled-contact-form textarea:focus { border-color: var(--accent-color); box-shadow: var(--focus-ring); }

/* Subject chips row */
.styled-contact-form .chips-label, .styled-contact-form .subject-chips, .styled-contact-form .chip { display: none; }

/* Submit + feedback */
.styled-contact-form .btn-primary { display: inline-flex; align-items: center; gap: .5rem; margin-top: .75rem; }
.styled-contact-form .form-feedback { margin-top: .75rem; padding: .75rem; border-radius: 10px; font-weight: 600; }
.styled-contact-form .form-feedback.success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.styled-contact-form .form-feedback.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* Success card */
.form-success { margin-top: 1rem; }
.form-success-card { background: linear-gradient(180deg, #ffffff, #f8fbff); border: 1px solid rgba(2,6,23,.08); border-radius: 16px; padding: 1.25rem; box-shadow: 0 12px 32px rgba(2,6,23,.08); text-align: center; animation: pop-in .22s ease-out; }
.form-success-card .icon { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: .5rem; background: #ecfdf5; border: 1px solid #a7f3d0; color: #059669; }
.form-success-card h4 { margin: .25rem 0 .25rem; color: #0f172a; }
.form-success-card p { margin: 0 0 .75rem; color: #475569; }
.form-success-card .success-actions { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; }
.form-success-card .success-actions .success-reset { background: #0b2545; color: #fff; border: none; padding: .5rem .9rem; border-radius: 10px; cursor: pointer; }
@keyframes pop-in { from { transform: scale(.98); opacity: .0; } to { transform: scale(1); opacity: 1; } }
.styled-contact-form.simple-contact .form-group { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.styled-contact-form.simple-contact .field { display: flex; flex-direction: column; gap: .4rem; }
.styled-contact-form.simple-contact label { font-weight: 600; color: #0f172a; font-size: .95rem; }
.styled-contact-form.simple-contact input,
.styled-contact-form.simple-contact textarea { padding: .8rem 1rem; border: 1.5px solid #dbe2ea; border-radius: 10px; background: #fff; box-shadow: 0 1px 1px rgba(2,6,23,0.02); }
.styled-contact-form.simple-contact input:focus,
.styled-contact-form.simple-contact textarea:focus { border-color: var(--accent-color); box-shadow: var(--focus-ring); outline: none; }
.styled-contact-form.simple-contact .btn-primary { width: 100%; margin-top: .5rem; }

/* Remove advanced styles inside simple form */
.simple-contact .input-wrapper,
.simple-contact .float-group,
.simple-contact .subject-chips { display: contents; }
.simple-contact .input-wrapper i,
.simple-contact .float-group label { display: none; }
.styled-contact-form .form-intro { margin-bottom: .75rem; }
.styled-contact-form .form-intro h4 { margin: 0 0 .25rem; font-size: 1.2rem; color: #0f172a; }
.styled-contact-form .form-intro p { margin: 0; color: #64748b; font-size: .95rem; }
.styled-contact-form .form-group { gap: 1rem; }
.styled-contact-form .input-wrapper {
  position: relative;
}
.styled-contact-form .input-wrapper i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
  font-size: 0.95rem;
}
.styled-contact-form .textarea-wrapper i {
  top: 18px;
  transform: none;
}
.styled-contact-form .float-group { position: relative; }
.styled-contact-form .float-group input,
.styled-contact-form .float-group textarea {
  width: 100%;
  padding: 1rem 1rem 1rem 40px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.styled-contact-form .float-group textarea { min-height: 130px; }
.styled-contact-form .float-group label {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: .95rem;
  pointer-events: none;
  transition: all .15s ease;
  background: transparent;
}
.styled-contact-form .float-group input:focus + label,
.styled-contact-form .float-group input:not(:placeholder-shown) + label,
.styled-contact-form .float-group textarea:focus + label,
.styled-contact-form .float-group textarea:not(:placeholder-shown) + label {
  top: 0;
  transform: translateY(-50%) scale(.85);
  background: #fff;
  padding: 0 .3rem;
  color: var(--accent-color);
}
.styled-contact-form select { padding-left: 40px; height: 48px; border: 2px solid var(--border-color); border-radius: 12px; }
.styled-contact-form input:focus,
.styled-contact-form select:focus,
.styled-contact-form textarea:focus { border-color: var(--accent-color); box-shadow: var(--focus-ring); }
.styled-contact-form input:focus,
.styled-contact-form select:focus,
.styled-contact-form textarea:focus {
  border-color: var(--accent-color);
  box-shadow: var(--focus-ring);
}

.styled-contact-form .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.styled-contact-form .btn-primary.is-loading {
  opacity: .85;
  cursor: wait;
}
.styled-contact-form .btn-primary.is-loading::after {
  content: '';
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.6);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg) } }

@media (max-width: 768px) {
  .styled-contact-form .input-wrapper i { left: 12px; }
  .styled-contact-form select { padding-left: 38px; }
  /* Force the contact form to a single-column grid and make each input wrapper full-width */
  .contact-form .form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .contact-form .form-grid > .input-wrapper.float-group,
  .contact-form .form-grid > .input-wrapper.float-group.form-row-full,
  .styled-contact-form .form-grid > .input-wrapper.float-group {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    display: block;
  }
  /* Ensure floating label positioning doesn't break the flow */
  .styled-contact-form .input-wrapper.float-group i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
  }
}

/* Subject chips */
.subject-chips, .chip { display: none; }
