/**
 * Sabit (fixed) telefon ve WhatsApp butonları — sağ alt
 */

.footer-sticky-contact {
    position: fixed;
    right: max(0.75rem, env(safe-area-inset-right, 0px));
    bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
    /* Bootstrap modal backdrop (1050) ve .modal (1055) altında kalsın */
    z-index: 1035;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.65rem;
    pointer-events: none;
}

.footer-sticky-contact__btn {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 48px;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
    color: #fff !important;
    border: none;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.footer-sticky-contact__btn:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
}

.footer-sticky-contact__btn:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.9);
    outline-offset: 3px;
}

.footer-sticky-contact__btn i {
    font-size: 1.25rem;
    line-height: 1;
}

.footer-sticky-contact__btn--phone {
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
}

.footer-sticky-contact__btn--whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.footer-sticky-contact__label {
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .footer-sticky-contact {
        right: max(0.5rem, env(safe-area-inset-right, 0px));
        bottom: max(0.5rem, env(safe-area-inset-bottom, 0px));
        gap: 0.5rem;
    }

    .footer-sticky-contact__btn {
        min-height: 50px;
        padding: 0.5rem 0.85rem;
        font-size: 0.85rem;
    }

    .footer-sticky-contact__btn i {
        font-size: 1.35rem;
    }
}

@media (min-width: 992px) {
    .footer-sticky-contact {
        right: max(1.25rem, env(safe-area-inset-right, 0px));
        bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
    }
}
