/* RESPONSIVE FIXES */

/* Tabel Responsif */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Form Responsif */
.form-input, .form-select, .form-textarea {
    max-width: 100%;
    box-sizing: border-box;
}

/* Dashboard Layout Mobile */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        position: fixed;
        z-index: 1001;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }

    /* Overlay saat sidebar terbuka */
    body.sidebar-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
    }

    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .wallet-overview {
        grid-template-columns: 1fr !important;
    }
    
    .packages-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Fix Form Button Mobile */
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .actions {
        flex-direction: column;
        gap: 0.5rem !important;
    }
}

/* MODAL NOTIFIKASI MENCOLONG */
.notification-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.notification-modal.show {
    opacity: 1;
    visibility: visible;
}

.notification-content {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-top: 5px solid var(--amazon-orange);
}

.notification-modal.show .notification-content {
    transform: scale(1);
}

.notification-icon {
    width: 60px;
    height: 60px;
    background: var(--amazon-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.notification-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--amazon-dark);
}

.notification-message {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--amazon-text);
    line-height: 1.6;
}