/* NOOR EYE CLINIC — standalone floating actions */
.noor-floating-actions {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* Native hidden attribute controls the initial state.
   No opacity/visibility animation is used. */
.noor-floating-actions[hidden] {
    display: none !important;
}

.noor-floating-btn {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,.22);
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.noor-floating-btn:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,.28);
}

.noor-back-to-top {
    background: #102a43;
    font-size: 21px;
}

.noor-back-to-top:hover {
    background: #087f9c;
}

.noor-whatsapp-float {
    background: #25D366;
    font-size: 28px;
}

.noor-whatsapp-float:hover {
    background: #1ebc59;
}

.noor-floating-btn:focus-visible {
    outline: 3px solid #70c6f5;
    outline-offset: 4px;
}

@media (max-width: 767.98px) {
    .noor-floating-actions {
        right: 15px;
        bottom: calc(86px + env(safe-area-inset-bottom));
        gap: 10px;
    }

    .noor-floating-btn {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .noor-back-to-top {
        font-size: 19px;
    }

    .noor-whatsapp-float {
        font-size: 25px;
    }
}

@media (max-width: 380px) {
    .noor-floating-actions {
        right: 12px;
        bottom: calc(80px + env(safe-area-inset-bottom));
    }

    .noor-floating-btn {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .noor-floating-btn {
        transition: none;
    }
}
