.modal {
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center; 
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    position: fixed;
}
.modal-dialog {
    background-color: #fefefe;
    padding: 30px;
    border-radius: 5px;
    width: 80%; 
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-out;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-header h3 {
    margin: 0;
    font-size: 20px;
}
.modal-body {
    margin: 10px 0;
}
.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
.btn-close {
    font-weight: bold;
    color: #aaa;
    font-size: 28px;
    cursor: pointer;
    line-height: 20px;
}
.btn-close:hover, .btn-close:focus {
    color: #333;
    text-decoration: none;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}