.is-invalid {
    border-color: #dc3545 !important;
}
.is-invalid + .custom-control-label::before {
    border-color: #dc3545 !important;
}

.step {
    display: none;
}
.step.active {
    display: block;
}
/* Style for the modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}

/* Error Modal */
#errorModal .modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.modal {
    transition: none !important;
}
#errorModal h2 {
    margin: 0;
    font-size: 24px;
    color: #dc3545; /* Red for error */
}

#errorModal p {
    font-size: 16px;
    color: #dc3545; /* Red for error message */
    margin-bottom: 20px;
}

/* Style for error message */
#errorModal .error-message {
    color: red; /* Ensure the error message is in red */
    font-size: 16px;
    font-weight: bold;
}
.close{
    color: red;
}
/* Button inside the modal */
#errorModal .btn {
    padding: 10px 15px;
    background-color: #dc3545; /* Red for the error button */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#errorModal .btn:hover {
    background-color: #c82333; /* Darker red on hover */
}

/* Style for invalid inputs */
.is-invalid {
    border: 2px solid red;
    background-color: #f8d7da;
}

.is-invalid:focus {
    outline: none;
    border-color: red;
}
