body {
    font-family: Arial, sans-serif;
    background-image: url('images/acc1.avif'); /* Replace with your background image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
    color: #3b3b38; /* Text color matching the form title */
}
.required{
    color: red;
    margin: 1%;
}

.form-container {
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
    padding: 40px;
    background-color: rgba(19, 18, 18, 0.60); /* Slightly more opaque for better readability */
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.form-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    /* font-weight: bold; */
    color: #ffffff;
}

.form-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.form-group {
    width: 48%; /* Each input field takes almost half the width of the row */
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 14px;
    color: #ffffff;
}

.form-group input {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.7);
    color: #3b3b38;
}

.form-group input:focus {
    border-color: #ffc107; /* Yellow border on focus */
    outline: none;
    background-color: rgba(255, 255, 255, 0.85);
}

.form-row-button {
    display: flex;
    justify-content: center; /* Center the content horizontally */
    margin-top: 50px;
    margin-bottom: 15px;
}
.submit-btn {
    width: 30%;
    padding: 12px;
    font-size: 16px;
    background-color: #f5f5eb; /* Dark button color */
    color: #252424;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s;
    /* border-radius: 10%; */
    border-color: #555252 ;
    border-style: solid;
}

.submit-btn:hover {
    background-color: #c2c6ce; /* Yellow color on hover */
    color: #0c0c0c;
}

.add-btn {
    margin-left: 10px;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.add-btn:hover {
    background-color: #0056b3;
}


@media screen and (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }

    .form-group {
        width: 100%;
    }
}


#signature_pad {
    border: 1px solid #000; /* Border for better visibility */
    background-color: #f9f9f9; /* Light background color for better contrast */
}
.btn-warning {
    background-color: #f0ad4e; /* Button color for clear button */
    border-color: #eea236;
}
.btn-success {
    background-color: #5bc0de; /* Button color for submit button */
    border-color: #46b8da;
}

#loading {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 20px;
    border-radius: 5px;
}
/* Spinner styling */
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1); /* Light grey background */
    border-left: 4px solid #3498db; /* Blue spinner */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -20px; /* Half the height */
    margin-left: -20px; /* Half the width */
}

/* Spinner animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Message styling */
#message {
    padding: 10px;
    background-color: #28a745; /* Green background for success */
    color: white;
    border-radius: 5px;
    z-index: 1000;
}
   /* Lighten placeholder color */
   .light-placeholder::placeholder
{
    color: #c0c0c0; /* Light gray color */
    opacity: 7; /* Ensure full opacity for cross-browser consistency */
}