2026-05-12 23:58:18 +00:00
|
|
|
/* Modals */
|
|
|
|
|
.modal {
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0; left: 0; width: 100%; height: 100%;
|
|
|
|
|
background: rgba(0,0,0,0.5);
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
z-index: 2000;
|
|
|
|
|
backdrop-filter: blur(2px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.modal.hidden { display: none; }
|
|
|
|
|
|
|
|
|
|
.modal-content {
|
|
|
|
|
background: white;
|
|
|
|
|
padding: 25px;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
width: 90%;
|
|
|
|
|
max-width: 400px;
|
|
|
|
|
position: relative;
|
|
|
|
|
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
|
2026-06-02 04:02:39 +00:00
|
|
|
max-height: 90vh;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width: 600px) {
|
|
|
|
|
.modal {
|
|
|
|
|
align-items: flex-end; /* Align to bottom for better mobile reach or use full height */
|
|
|
|
|
}
|
|
|
|
|
.modal-content {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
max-width: none;
|
|
|
|
|
max-height: 100%;
|
|
|
|
|
border-radius: 0;
|
|
|
|
|
padding: 20px;
|
|
|
|
|
}
|
2026-05-12 23:58:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.close-modal {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 10px; right: 15px;
|
|
|
|
|
font-size: 1.5rem;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
color: #aaa;
|
|
|
|
|
transition: color 0.2s;
|
|
|
|
|
}
|
|
|
|
|
.close-modal:hover { color: #333; }
|