.modal-form {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-form div {
    background-color: white;
    padding: 2em;
    border-radius: 0.5em;
    width: 90%;
    max-width: 500px;
}


.modal-form h4 {
    margin-bottom: 0.5em;
}



/* modal.css */

/* Base Modal */
.modal {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 1000;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Active Modal */
.modal.active {
    opacity: 1;
    pointer-events: auto;
}

/* Modal Inner Content */
.modal .inner {
    display: flex;
    flex-direction: column;
    gap: 0.75em;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    position: relative;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Optional: Close Button Styling */
.close-action {
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
}


.modal-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.modal-description {
    margin: 0.5em 0 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}