


.signature-pad {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    font-size: 10px;
    border: 1px solid #e8e8e8;
    background-color: var(--Theme-VPDashBoard-Widget-background);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.08) inset;
    border-radius: 4px;
}

    .signature-pad::before,
    .signature-pad::after {
        position: absolute;
        z-index: -1;
        content: "";
        width: 40%;
        height: 10px;
        bottom: 10px;
        background: transparent;
        box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4);
    }

    .signature-pad::before {
        left: 20px;
        -webkit-transform: skew(-3deg) rotate(-3deg);
        transform: skew(-3deg) rotate(-3deg);
    }

    .signature-pad::after {
        right: 20px;
        -webkit-transform: skew(3deg) rotate(3deg);
        transform: skew(3deg) rotate(3deg);
    }

.signature-pad--body {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    /* border: 1px solid #f4f4f4; */
}

    .signature-pad--body
    canvas {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
        background-size: auto !important;
        background-position: inherit !important;
    }

.signature-pad-disabled {
    cursor: not-allowed;
}

.signature-pad-blocked {
    pointer-events: none;
}

.signature-pad--footer {
    color: #C3C3C3;
    text-align: center;
    font-size: 1.2em;
    margin-top: 8px;
}

.signature-pad--actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: 8px;
    min-width: 44%;
    max-width: 700px;
}

/* Signature extension css */
.signature-btn-clear {
    background: var(--Theme-Button-Color);
    color: var(--Theme-txt-color);
    margin-top: 4px;
    border-radius: 11px;
}

.signature-tag {
    float: right;
    margin-left: 20px;
}

.signature-chk-box {
    position: relative;
    width: 25px !important;
    height: 25px !important;
    -webkit-appearance: checkbox !important;
    margin-left: 1rem !important;
    float: left;
    top: 9px;
}

.signature-chk-label {
    position: relative;
    top: 15px;
    float: left;
    margin-right: auto;
    margin-left: 5px;
}

@media only screen and (max-width: 600px) {
    .signature-pad {
        min-height: 25vh !important;
    }
}
