/* --- Modal Shared Styles --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 1;
}

.modal-bottom {
    background: #fff;
    border-radius: 24px 24px 0 0;
    padding: 20px 16px;
    max-height: 90vh;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1);
}

.modal-overlay.show .modal-bottom {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
}

.modal-close {
    padding: 8px;
    color: #9ca3af;
    border-radius: 50%;
    background: #f3f4f6;
}