/* ===== NOTIF WRAPPER (penting) =====
   Pembungkus yang menjaga slider hanya bergerak di dalam area,
   sehingga topbar / layout utama tidak ikut bergeser.
======================================*/
.notif-wrapper {
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;      /* <-- wajib */
    background: transparent;
    box-sizing: border-box;
}

/* HEADER */
.notif-header {
    font-size: 20px;
    font-weight: 700;
    padding: 18px;
    background: #1A73E8;
    color: white;
}

/* TABS */
.notif-tabs {
    display: flex;
    position: relative;
    background: white;
    border-bottom: 1px solid #e5e5e5;
    box-sizing: border-box;
    height: 48px;
    align-items: center;
}

.notif-tabs .tab {
    flex: 1;
    text-align: center;
    padding: 12px 6px;
    font-weight: 500;
    color: #777;
    cursor: pointer;
    user-select: none;
    box-sizing: border-box;
}

.notif-tabs .tab.active {
    color: #0a74ff;
}

/* Garis Biru (indicator) */
.indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: calc(100% / 3); /* 3 tab */
    background: #0a74ff;
    transition: transform .28s cubic-bezier(.2,.9,.3,1);
    will-change: transform;
    pointer-events: none;
}

/* SLIDER
   NOTE: jangan set fixed width (300%). Biarkan flex & .notif-page mengatur.
*/
.notif-slider {
    display: flex;
    transition: transform .28s ease;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y; /* biarkan vertical scroll tetap berfungsi */
    box-sizing: border-box;

    scroll-behavior: auto !important;
}

/* Setiap halaman mengambil 100% lebar wrapper */
.notif-page {
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 70vh;
    padding: 20px;
}

/* EMPTY STATE */
.empty-wrapper {
    text-align: center;
    padding: 20px;
    color: #555;
}

.empty-img {
    width: 180px;
    max-width: 60%;
    height: auto;
    margin: 20px auto;
    display: block;
}

.empty-wrapper h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 10px 0;
}

.empty-wrapper p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    max-width: 320px;
    margin: 0 auto;
}

/* small helpers untuk mobile */
@media (max-width:420px) {
    .notif-wrapper { padding: 0; }
    .notif-header { padding-left: 14px; padding-right: 14px; }
    .notif-tabs .tab { font-size: 13px; padding: 10px 6px; }
    .empty-img { width: 150px; }
}
