.wuf-dealer-form .signature-component {
    position: relative;
    /* width: 100%;
    height: 200px; */
    /* border: 1px solid #b7b7b7;
    background-color: #fff;
    border-radius: 6px; */
}


.signature-component button {
    padding: 1em;
    background: transparent;
    box-shadow: 2px 2px 4px #777;
    margin-top: 0.5em;
    border: 1px solid #777;
    font-size: 1rem;
}

.signature-component button.toggle {
    background: rgba(255, 0, 0, 0.2);
}

.signature-component canvas {
    display: block;
    position: relative;
    border: 1px solid #e1dddd;
    border-radius: 7px;
    background: white;
}

.signature-component img {
    position: absolute;
    left: 0;
    top: 0;
}

.wuf-dealer-form #clear-cross {

    background-color: rgb(0 123 255);
    color: white;
    border: none;
    border-radius: 7px;
    width: 100px;
    height: 25px;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    line-height: 0px;

}

.wuf-dealer-submit {
    color: #fff !important;
    font-size: 22px !important;
}

/* .wuf-dealer-form .clear-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: rgb(63, 63, 63);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    line-height: 25px;
} */


.wuf-dealer-form {
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 30px;
}


.wuf-dealer-form label {
    font-weight: 500;
    color: #414141;
}

.wuf-dealer-form .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    padding: 5px 20px;
    font-size: 16px;
}

.wuf-dealer-form .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Full-screen black transparent overlay */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Spinner style */
.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

/* Spinner animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


@media (max-width: 768px) {
    .wuf-dealer-form {
        padding: 20px;
    }

    canvas#signature-pad {
        width: 100%;
    }
}