/* Modal Styling */
.custom-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000; /* On top */
    left: 0;
    top: 0; /* Start from the top */
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow-y: auto; /* Enable vertical scroll if needed */
    background-color: rgba(0, 0, 0, 0.5); /* Black with opacity */
}
#customModal1{
top: -10px!important;
height: 175%!important;
}

/* Modal Content Box */
.custom-modal-content {
    background-color: #fefefe;
    margin: 20px auto; /* Add some top margin */
    padding: 20px;
    border: 1px solid #888;
    width: 90%; /* Default width */
    max-width: 600px; /* Limit the width on larger screens */
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Modal Header */
.custom-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

/* Modal Header Title */
.custom-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}

/* Close Button */
.custom-modal-close {
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}

/* Modal Body */
.custom-modal-body {
    font-size: 1rem;
    color: #555;
    max-height: 500px; /* Set a max height */
    overflow-y: auto; /* Add scroll if content exceeds max height */
}

/* Modal Footer */
.custom-modal-footer {
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
}

/* Footer Buttons */
.modal-button {
    background-color: #ccc;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
}

.modal-button-primary {
    background-color: #FA4318;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
}

.custom-modal-footer{
        margin-top: -8px!important;
}
