
/* Modal styles */
.modal-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal {
    background-color: white;
    border:2px solid #666;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    min-width: 200px;
    animation: modalFadeIn 0.3s ease-out;
}

    .modal.sm {
        max-width:300px;
    }
    .modal.lg {
        max-width: 800px;
    }

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 1px solid #ddd;
}

.modal-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}


.modal-body {
    padding: 1rem 2rem;
    max-height: 600px;
    overflow: scroll;
}
@media (max-width: 768px) {
    .modal-body {
        max-height: calc(100vh - 300px);
    }

}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 0rem 1rem .5rem 1rem;
}

.modal .modal-hide {
    display:none;
}


@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 
