/* ==========================================================================
   SELLERFLY - GET IN TOUCH / CONTACT MODAL CSS
   ========================================================================== */

.consult-dialog {
  width: min(920px, calc(100vw - 24px));
  max-width: 920px;
  max-height: min(94vh, 880px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.22);
  overflow: hidden;
  position: relative;
}

.consult-dialog::backdrop {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(5px);
}

.consult-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.consult-close:hover {
  background: #fee2e2;
  color: #ef4444;
  transform: scale(1.05);
}

/* Modal Body Layout */
.contact-modal-body {
  display: grid;
  grid-template-columns: 370px 1fr;
  max-height: min(94vh, 880px);
  overflow-y: auto;
  background: #ffffff;
}

/* Left Panel - Branding & Contact Info */
.contact-left {
  background: #fff9f5;
  padding: 32px 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid #ffede0;
  overflow: hidden;
}

/* Background Dotted Map Pattern Overlay */
.contact-left::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(#ff6a00 0.75px, transparent 0.75px), radial-gradient(#ff6a00 0.75px, #fff9f5 0.75px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  opacity: 0.05;
  pointer-events: none;
}

.c-left-top {
  position: relative;
  z-index: 1;
}

.c-logo {
  height: 36px;
  width: auto;
  display: block;
  margin-bottom: 20px;
}

.c-heading {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  color: #0b192c;
  margin: 0 0 10px;
  letter-spacing: -0.8px;
}

.c-heading span {
  color: #ff5a00;
}

.c-lead {
  font-size: 13.5px;
  line-height: 1.5;
  color: #64748b;
  margin: 0 0 24px;
}

/* Contact Details List */
.c-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.c-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.c-icon-btn {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: #fff0e6;
  color: #ff5a00;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.c-icon-btn:hover {
  background: #ff5a00;
  color: #ffffff;
  transform: translateY(-2px);
}

.c-icon-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.c-info-text {
  display: flex;
  flex-direction: column;
}

.c-info-label {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 2px;
}

.c-info-val {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  text-decoration: none;
  line-height: 1.35;
}

.c-info-val:hover {
  color: #ff5a00;
}

.c-info-sub {
  font-size: 11.5px;
  color: #94a3b8;
  margin-top: 2px;
}

/* Left Bottom Artwork / Handwritten Note */
.c-left-art {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.c-plane-path {
  width: 140px;
  height: auto;
}

.c-together-text {
  font-family: 'Dancing Script', 'Brush Script MT', cursive, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #0b192c;
  transform: rotate(-6deg);
  line-height: 1.1;
  margin-top: -10px;
}

/* Right Panel - Form */
.contact-right {
  background: #ffffff;
  padding: 32px 32px 24px;
  display: flex;
  flex-direction: column;
}

/* Help Banner Box */
.c-help-banner {
  background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  border: 1px solid #dbeafe;
}

.c-help-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  display: grid;
  place-items: center;
}

.c-help-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.c-help-text strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.c-help-text span {
  font-size: 12.5px;
  color: #475569;
}

/* Form Styling */
.c-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.c-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.c-form-group {
  display: flex;
  flex-direction: column;
}

.c-form-group.full {
  grid-column: 1 / -1;
}

.c-form-group label {
  font-size: 12.5px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 6px;
}

.c-form-group label i {
  color: #ef4444;
  font-style: normal;
}

.c-input-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  padding: 0 12px;
  height: 44px;
  transition: all 0.2s ease;
}

.c-input-box:focus-within {
  border-color: #ff6a00;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.15);
}

.c-input-box svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  stroke: #94a3b8;
  fill: none;
  stroke-width: 2;
}

.c-input-box input,
.c-input-box select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 13.5px;
  color: #0f172a;
  padding: 10px 0;
}

.c-phone-box {
  padding-left: 8px;
}

.c-phone-box select {
  width: auto;
  max-width: 90px;
  font-weight: 700;
  padding-right: 4px;
  border-right: 1px solid #e2e8f0;
  margin-right: 4px;
}

.c-textarea-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  padding: 10px 12px;
  transition: all 0.2s ease;
}

.c-textarea-box:focus-within {
  border-color: #ff6a00;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.15);
}

.c-textarea-box svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  stroke: #94a3b8;
  fill: none;
  stroke-width: 2;
  margin-top: 2px;
}

.c-textarea-box textarea {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 13.5px;
  color: #0f172a;
  resize: vertical;
  min-height: 70px;
}

/* Submit Button */
.c-submit-btn {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(90deg, #ff7214 0%, #ff5000 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  box-shadow: 0 10px 24px rgba(255, 90, 0, 0.3);
  transition: all 0.2s ease;
}

.c-submit-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(255, 90, 0, 0.4);
}

.c-submit-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.c-privacy-text {
  text-align: center;
  font-size: 11.5px;
  color: #64748b;
  margin: 6px 0 0;
}

/* Bottom Bar - 4 Feature Badges */
.contact-bottom-bar {
  grid-column: 1 / -1;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 16px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.c-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.c-badge-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.c-badge-icon.orange { background: #fff0e6; color: #ff5a00; }
.c-badge-icon.blue { background: #eff6ff; color: #2563eb; }
.c-badge-icon.green { background: #f0fdf4; color: #16a34a; }
.c-badge-icon.purple { background: #faf5ff; color: #9333ea; }

.c-badge-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.c-badge-text strong {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.c-badge-text span {
  font-size: 11px;
  color: #64748b;
  line-height: 1.2;
  display: block;
  margin-top: 2px;
}

/* Responsive Media Queries */
@media (max-width: 860px) {
  .contact-modal-body {
    grid-template-columns: 1fr;
  }
  .contact-left {
    border-right: 0;
    border-bottom: 1px solid #ffede0;
    padding: 24px 20px;
  }
  .contact-right {
    padding: 24px 20px;
  }
  .contact-bottom-bar {
    grid-template-columns: repeat(2, 1fr);
    padding: 16px 20px;
  }
}

@media (max-width: 520px) {
  .c-form-grid {
    grid-template-columns: 1fr;
  }
  .contact-bottom-bar {
    grid-template-columns: 1fr;
  }
}
