@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.animate-slide-up {
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hide Scrollbar but keep functionality */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.payment-package {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}
.payment-package.selected {
    border-color: #db2777;
    background-color: #fdf2f8;
    box-shadow: 0 0 0 2px rgba(219, 39, 119, 0.2);
}

/* BASE OVERLAY STYLE */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    z-index: 50;
    align-items: center; /* Default: Center everything */
}

/* MOBILE BOTTOM SHEET LOGIC */
@media (max-width: 640px) {
    /* Only apply bottom alignment to the PROFILE modal, not the loader */
    #profile-modal.modal-overlay {
        align-items: flex-end;
    }
    
    /* Only round the top corners for the profile modal on mobile */
    #profile-modal .modal-content {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
}

/* Fullscreen animation */
#fullscreen-modal.flex {
    opacity: 1 !important;
}