.fsa-signature-wrapper {
    margin-top: 10px;
    margin-bottom: 15px;
}

.fsa-signature-canvas {
    display: block;
    width: 100%;
    max-width: 600px;
    height: 200px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    cursor: crosshair;
    touch-action: none;
    box-sizing: border-box;
}

.fsa-btn-row {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.fsa-btn {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #ccc;
    background: #f5f5f5;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.2;
    user-select: none;
    transition: background 0.2s ease;
}

.fsa-btn:hover {
    background: transparent;
    color:red;
    border-color: black;
}

.fsa-save-btn {
    background: transparent;
    color: #000000;
    border-color: #e72e29;
}

.fsa-save-btn:hover {
    background: #e72e29;
    border-color: #e72e29;
}
.fsa-status {
    font-size: 13px;
    color: #555;
}

.fsa-status.success {
    color: #1a7f37;
    font-weight: 600;
}

.fsa-status.error {
    color: #c0392b;
    font-weight: 600;
}

/* Hide the raw signature URL input from users. */
.sig-base64,
.forminator-field-text.signature input.forminator-input.sig-base64 {
    display: none !important;
}