/* ======================================================
   Floating phone / WhatsApp icons (bottom-left)
   גודל אחיד בכל הדפים (כמו dashboard.php): עיגול 61px, אייקון 30px
====================================================== */

.float-contact {
    position: fixed;
    left: 14px;
    bottom: 18px;
    z-index: 1075;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .7rem;
}

.float-contact-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 61px !important;
    height: 61px !important;
    min-width: 61px !important;
    min-height: 61px !important;
    max-width: 61px !important;
    max-height: 61px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 10px 22px rgba(35, 43, 72, .18);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

/* SVG + גיבוי ל-bi אם יופיע שוב – אותו גודל בכל הדפים */
.float-contact-btn .float-contact-icon,
.float-contact-btn i,
.float-contact-btn .bi {
    display: block !important;
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 30px !important;
    font-size: 30px !important;
    line-height: 1 !important;
    color: inherit !important;
}

.float-contact-btn .float-contact-icon {
    overflow: visible;
}

.float-contact-btn:hover {
    color: #fff !important;
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 14px 28px rgba(35, 43, 72, .22);
}

.float-contact-btn:focus-visible {
    outline: 3px solid rgba(91, 76, 240, .4);
    outline-offset: 3px;
}

.float-contact-phone {
    background: #5b4cf0 !important;
}

.float-contact-whatsapp {
    background: #25d366 !important;
}

/*
  סלולר בדפי תורם/קמפיין:
  פס "תרמו עכשיו" (~70–90px) מסתיר את האייקון התחתון –
  מרים את כל הקבוצה מעליו.
*/
@media (max-width: 991.98px) {
    .float-contact.float-contact--elevated,
    body:has(.mobile-donate-bar) .float-contact {
        bottom: calc(120px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

@media (max-width: 575.98px) {
    .float-contact {
        left: 10px;
        bottom: 14px;
        gap: .5rem;
    }

    .float-contact.float-contact--elevated,
    body:has(.mobile-donate-bar) .float-contact {
        bottom: calc(120px + env(safe-area-inset-bottom, 0px)) !important;
    }
}
