/* css/modal.css — Reusable glassmorphic modal */
#modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 42, 0.75);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#modal.show {
    display: flex;
}

#modal-content {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(100, 180, 255, 0.5);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    max-width: 620px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    backdrop-filter: blur(12px);
}

#modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(186, 230, 253, 0.2);
    background: rgba(10, 20, 42, 0.6);
}

#modal-header h2 {
    margin: 0;
    color: #bae6fd;
    font-size: 1.35rem;
}

#modal-close {
    background: none;
    border: none;
    color: #e2f0ff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 8px;
    opacity: 0.7;
}

#modal-close:hover {
    opacity: 1;
    color: #ffe066;
}

#modal-body {
    padding: 24px 28px;
    color: #e2f0ff;
    font-size: 1.02rem;
    line-height: 1.65;
}

#modal-body h2 {
    color: #bae6fd;
    margin-top: 1.4rem;
    margin-bottom: 0.6rem;
    font-size: 1.25rem;
}

#modal-body ul {
    padding-left: 20px;
}

#modal-body li {
    margin-bottom: 8px;
}