/* CCP Mobile Optimizations */

/* ── Side-slide action button: "Customer Portal" CTA ── */
#Side_slide .extras .action_button {
  display: block;
  text-align: center;
  margin: 15px 20px;
  padding: 14px 20px;
  background: #68bd45;
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}
#Side_slide .extras .action_button:hover,
#Side_slide .extras .action_button:focus {
  background: #539937;
  color: #fff;
}

/* ── Side-slide menu touch-friendly spacing ── */
#Side_slide .menu li a {
  padding: 13px 20px;
  font-size: 15px;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
#Side_slide .menu li.submenu > a .menu-arrow {
  padding: 13px 15px;
}

/* ── Phone numbers in header: tap-friendly ── */
@media only screen and (max-width: 767px) {
  /* Sticky mobile CTA bar */
  .ccp-mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #0d2244;
    padding: 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
  }
  .ccp-mobile-cta a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    transition: background 0.2s;
  }
  .ccp-mobile-cta a:first-child {
    border-right: 1px solid rgba(255,255,255,0.15);
  }
  .ccp-mobile-cta a svg {
    flex-shrink: 0;
  }
  .ccp-mobile-cta .ccp-cta-portal {
    background: #68bd45;
  }
  .ccp-mobile-cta .ccp-cta-portal:hover,
  .ccp-mobile-cta .ccp-cta-portal:active {
    background: #539937;
  }
  .ccp-mobile-cta .ccp-cta-call:hover,
  .ccp-mobile-cta .ccp-cta-call:active {
    background: rgba(255,255,255,0.1);
  }

  /* Prevent content from being hidden behind sticky bar */
  body {
    padding-bottom: 56px;
  }
  #Footer {
    padding-bottom: 56px;
  }

  /* Better touch targets for form elements */
  .ccp-form input[type="text"],
  .ccp-form input[type="email"],
  .ccp-form input[type="tel"],
  .ccp-form select,
  .ccp-form textarea {
    font-size: 16px; /* Prevents iOS zoom on focus */
    min-height: 48px;
    padding: 12px;
  }
  .ccp-form .ccp-submit-btn {
    min-height: 50px;
    font-size: 16px;
  }

  /* Stack form fields on small screens */
  .ccp-form .ccp-field-row {
    flex-direction: column;
  }

  /* Assessment CTA sections: tighter on mobile */
  .mcb-section .column_attr h3 {
    font-size: 22px;
    line-height: 1.3;
  }
}

/* Tablet adjustments */
@media only screen and (min-width: 768px) and (max-width: 1239px) {
  .ccp-mobile-cta {
    display: none;
  }
}
@media only screen and (min-width: 768px) {
  .ccp-mobile-cta {
    display: none;
  }
}
