/* ================================================================
   Drop1Taxi - Mobile Sticky Action Bar
   High-converting, thumb-friendly sticky bar for mobile users.
   Includes "Zero Advance • Pay After Ride" trust badge, direct WhatsApp & Call CTAs.
   ================================================================ */

.d1t-mobile-sticky-bar {
  display: none;
}

@media (max-width: 768px) {
  /* Push page content up so footer and inputs are never obscured */
  body {
    padding-bottom: 74px !important;
  }

  /* Suppress the old floating bubble widget on mobile to avoid UI overlap */
  .wa-widget-container {
    display: none !important;
  }

  /* Hide sticky bar when soft keyboard or location dropdown is active */
  html.d1t-keyboard-open .d1t-mobile-sticky-bar,
  html.d1t-dropdown-active .d1t-mobile-sticky-bar,
  body.keyboard-open .d1t-mobile-sticky-bar {
    display: none !important;
  }

  .d1t-mobile-sticky-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 99999;
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
    padding: 5px 10px 7px 10px;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  }

  /* Micro trust strip above action buttons */
  .d1t-sticky-trust-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #e2e8f0;
    padding-bottom: 4px;
    text-transform: uppercase;
  }

  .d1t-sticky-trust-badge {
    color: #34d399;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .d1t-sticky-trust-badge svg {
    width: 13px;
    height: 13px;
    fill: #34d399;
    flex-shrink: 0;
  }

  .d1t-sticky-dot {
    color: #64748b;
    font-size: 8px;
  }

  .d1t-sticky-rating {
    color: #fbbf24;
    display: flex;
    align-items: center;
    gap: 2px;
  }

  /* Action buttons container */
  .d1t-sticky-actions {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 8px;
  }

  .d1t-sticky-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    box-sizing: border-box;
    transition: transform 0.15s ease, filter 0.15s ease;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
  }

  .d1t-sticky-btn:active {
    transform: scale(0.97);
  }

  .d1t-sticky-btn svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
    flex-shrink: 0;
  }

  /* WhatsApp CTA button */
  .d1t-sticky-btn--wa {
    background: #25D366;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
  }

  .d1t-sticky-btn--wa:hover {
    filter: brightness(1.08);
  }

  /* Call CTA button */
  .d1t-sticky-btn--call {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4);
    letter-spacing: 0.2px;
  }

  .d1t-sticky-btn--call:hover {
    filter: brightness(1.08);
  }

  .d1t-sticky-btn-text {
    line-height: 1;
  }
}
