
/* Action-sheet menu system (menu-box-bottom / menu-active) */
.menu-box-bottom {
    display: none !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    border-radius: 15px 15px 0 0;
    padding: 15px;
}
.menu-box-bottom.menu-active {
    display: block !important;
    animation: hxSlideUp 0.3s ease;
}
@keyframes hxSlideUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}
.menu-hider {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    display: none;
}
.menu-hider.menu-active {
    display: block;
}

canvas#signature-pad {
    background: #fff;
    width: 100%;
    height: 100%;
    cursor: crosshair;
    touch-action: none;
}

button#clear {
    height: 100%;
    background: #3BAFDA !important;
    border: 1px solid transparent;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}
    button#clear span {
        transform: rotate(270deg);
        display: block;
    }

.hx-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(0, 0, 0, 0.08);
    border-top-color: #e74c3c;
    border-radius: 50%;
    animation: hx-spin 0.75s linear infinite;
}
@keyframes hx-spin {
    to { transform: rotate(360deg); }
}