/* Global styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

/* General styling for the modal */
.modal-dialog {
    max-width: 900px;
    margin: 60px auto;
}

.modal-content {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    background-color: #fff; /* Ensuring a white background for the modal */
}

/* Header customization */
.modal-header, .sub{
    border-bottom: none;
    text-align: center;
    justify-content: center; /* Center align content */
    display: flex;
}


.modal-title{
    font-size: 30px;
    font-weight: bold;
    color: #333; /* Matching the title color */
}

.close {
    font-size: 24px;
    color: #333;
}

/* Form field styling */
.form-group {
    margin-bottom: 20px; /* Adding margin to the form group */
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #555; /* Matching label color */
}

.form-control {
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px; /* Increased font size for consistency */
    padding: 10px;
    transition: border-color 0.3s; /* Smooth transition on focus */
}

.form-control:focus {
    border-color: #007bff;
    outline: none; /* Removing the default outline */
}

.form-row .form-group {
    margin-bottom: 20px;
}

/* Styling for checkboxes */
.form-check-label {
    margin-left: 5px;
    font-size: 14px;
}

.form-check-input {
    margin-right: 10px;
}

/* Button styling */
.btn-primary {
    background-color: #6059f0;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 4px;
    width: 100%;
    color: #fff; /* Text color for button */
    cursor: pointer; /* Cursor change on hover */
}

.btn-primary:hover {
    background-color: #4f46e5; /* Darker shade on hover */
}

/* Custom text and spacing for required fields */
.text-danger {
    color: red;
}

/* Additional spacing and layout customization */
.form-group small {
    font-size: 12px;
    color: #666;
}

textarea {
    resize: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-dialog {
        max-width: 100%;
        margin: 20px auto;
    }
}
