canvas#signature-pad {
    width: 100%;
    cursor: crosshair;
    display: block;
    padding: 0.25rem 0.25rem;
    color: #212529;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    height: 200px;

}

button#clear {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    border: none;
    color: #212529;
    cursor: pointer;
}

#submitBtn {
    background-color: #CC0000;
    border-color: #CC0000;
    color: white;  /* Ensure the text color is white */
    min-width: 100px;  /* Set a minimum width so it doesn't shrink too much */
    width: 200px;
    min-height: 40px;  /* Set a minimum height */
    position: relative; /* Ensure spinner is positioned relative to button */
    text-align: center;  /* Center the content */
    display: inline-flex;  /* Align spinner and text in one row */
    justify-content: center; /* Center content horizontally */
    align-items: center;  /* Center content vertically */
    margin-bottom: 20px;
}

#submitBtn:disabled {
    cursor: not-allowed; /* Change cursor when button is disabled */
}

.spinner {
    border: 3px solid rgba(255, 255, 255, 0.3); /* Light border */
    border-top: 3px solid white;  /* The spinning part */
    border-radius: 50%;
    width: 20px;  /* Adjust width and height as needed */
    height: 20px;
    animation: spin 1s linear infinite;
    display: none;  /* Initially hidden */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.button-and-message-container {
    display: flex;
    align-items: center; 
    justify-content: right;
    gap: 10px; 
}

.message-text {
    font-size: 16px; 
    color: black;
    margin-right: 20px; 
}

.form-floating {
    position: relative;
}

