/* DC Recovery floating contact actions — final responsive layout */

/* Desktop: Call + WhatsApp only, side by side, no container block */
@media (min-width:769px){
  html body .mobile-actions{
    position:fixed!important;
    left:auto!important;
    right:20px!important;
    bottom:20px!important;
    width:auto!important;
    height:auto!important;
    z-index:9999!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:8px!important;
    padding:0!important;
    margin:0!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
  }

  html body .mobile-actions .btn{
    display:inline-flex!important;
    flex:0 0 auto!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    min-width:0!important;
    min-height:50px!important;
    height:50px!important;
    padding:0 17px!important;
    margin:0!important;
    border-radius:9px!important;
    box-shadow:none!important;
    text-decoration:none!important;
    font-weight:900!important;
    line-height:1!important;
    white-space:nowrap!important;
    box-sizing:border-box!important;
  }

  html body .mobile-actions .btn-sms{
    display:none!important;
    visibility:hidden!important;
  }

  html body .mobile-actions .btn-call{
    background:#d62828!important;
    border:1px solid #d62828!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    font-size:0!important;
  }

  html body .mobile-actions .btn-call::after{
    content:"Call 07751 147411"!important;
    display:inline!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    font-size:14px!important;
    font-weight:900!important;
    line-height:1!important;
  }

  html body .mobile-actions .btn-wa{
    background:#25D366!important;
    border:1px solid #25D366!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    font-size:14px!important;
  }
}

/* Mobile: Call + SMS + WhatsApp, three equal buttons in one row */
@media (max-width:768px){
  html body .mobile-actions{
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    width:100%!important;
    height:auto!important;
    z-index:9999!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    grid-template-rows:1fr!important;
    gap:6px!important;
    padding:7px 8px calc(7px + env(safe-area-inset-bottom))!important;
    margin:0!important;
    background:#fff!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:0 -4px 18px rgba(0,0,0,.12)!important;
    backdrop-filter:none!important;
    box-sizing:border-box!important;
  }

  html body .mobile-actions .btn{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    min-height:54px!important;
    height:54px!important;
    padding:0 4px!important;
    margin:0!important;
    border-radius:9px!important;
    box-shadow:none!important;
    text-align:center!important;
    text-decoration:none!important;
    font-size:13px!important;
    font-weight:900!important;
    line-height:1!important;
    white-space:nowrap!important;
    box-sizing:border-box!important;
  }

  html body .mobile-actions .btn-call{
    background:#d62828!important;
    border:1px solid #d62828!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    font-size:13px!important;
  }

  html body .mobile-actions .btn-call::after{
    content:none!important;
  }

  html body .mobile-actions .btn-sms{
    display:flex!important;
    visibility:visible!important;
    background:#1769d2!important;
    border:1px solid #1769d2!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
  }

  html body .mobile-actions .btn-wa{
    background:#25D366!important;
    border:1px solid #25D366!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
  }
}

/* DC Recovery — top header call button only */
header ~ * {}
body .topbar a[href^="tel:"],
body .top-bar a[href^="tel:"] {
    background: transparent !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.45) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    padding: 10px 18px !important;
    font-weight: 600 !important;
}

body .topbar a[href^="tel:"]:hover,
body .top-bar a[href^="tel:"]:hover {
    background: rgba(255,255,255,.12) !important;
    border-color: #fff !important;
}

/* Emergency bar — refined call button */
body .emergency-bar .desktop-call {
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,.4) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    padding: 9px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background .2s ease, border-color .2s ease !important;
}

body .emergency-bar .desktop-call:hover {
    background: rgba(255,255,255,.1) !important;
    border-color: #ffffff !important;
}

/* Emergency bar — refined call button */
body .emergency-bar .desktop-call {
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,.4) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    padding: 9px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background .2s ease, border-color .2s ease !important;
}

body .emergency-bar .desktop-call:hover {
    background: rgba(255,255,255,.1) !important;
    border-color: #ffffff !important;
}
