body{
    font-family:'Plus Jakarta Sans', sans-serif;
}

.hadir-wrapper{
    width:100%;
    max-width:1400px;
    margin:auto;
    padding:40px 24px 80px;
}

/* HERO */
.hero-box{
    background:linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #2563eb 100%);
    border-radius:36px;
    padding:70px 50px;
    color:#fff;
    margin-bottom:36px;
    position:relative;
    overflow:hidden;
}

.hero-box::before{
    content:'';
    position:absolute;
    inset:0;
    background:radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
    background-size:35px 35px;
}

.hero-content{
    position:relative;
    z-index:2;
}

.hero-label{
    display:inline-flex;
    align-items:center;
    gap:10px;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.18);
    padding:10px 18px;
    border-radius:999px;
    font-size:11px;
    font-weight:700;
    letter-spacing:1px;
    text-transform:uppercase;
    margin-bottom:22px;
}

.hero-title{
    font-size:54px;
    line-height:1.1;
    font-weight:800;
    margin-bottom:18px;
}

.hero-desc{
    max-width:760px;
    color:rgba(255,255,255,.88);
    font-size:15px;
    line-height:1.9;
}

/* EVENT TABS */
.event-tabs{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:28px;
}

.event-tab{
    padding:10px 20px;
    border-radius:999px;
    font-size:13px;
    font-weight:700;
    text-decoration:none;
    border:1.5px solid #e5e7eb;
    color:#374151;
    background:#fff;
    transition:.2s ease;
}

.event-tab:hover{
    border-color:#2563eb;
    color:#2563eb;
}

.event-tab.active{
    background:#2563eb;
    border-color:#2563eb;
    color:#fff;
}

/* TABLE BOX */
.table-box{
    background:#fff;
    border:1px solid #ececec;
    border-radius:32px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.03);
}

.table-header{
    padding:28px 32px;
    border-bottom:1px solid #f1f1f1;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
    background:#fafafa;
}

.table-title{
    font-size:28px;
    font-weight:800;
    color:#111827;
}

.table-subtitle{
    font-size:14px;
    color:#6b7280;
    margin-top:4px;
}

.status-live{
    display:inline-flex;
    align-items:center;
    gap:10px;
    background:#eff6ff;
    color:#1d4ed8;
    padding:14px 20px;
    border-radius:18px;
    font-size:13px;
    font-weight:700;
    border:1px solid #dbeafe;
}

.pulse{
    width:8px;
    height:8px;
    background:#2563eb;
    border-radius:999px;
    animation:pulseAnim 1.4s infinite;
}

@keyframes pulseAnim{
    0%{ opacity:1; transform:scale(1); }
    50%{ opacity:.4; transform:scale(1.4); }
    100%{ opacity:1; transform:scale(1); }
}

/* TABLE */
.table-responsive{ overflow-x:auto; }

.custom-table{
    width:100%;
    min-width:900px;
}

.custom-table thead{
    background:#fff;
    border-bottom:1px solid #f1f1f1;
}

.custom-table th{
    padding:22px 26px;
    font-size:11px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#64748b;
}

.custom-table td{
    padding:20px 26px;
    vertical-align:middle;
}

.custom-table tbody tr{
    border-bottom:1px solid #f8f8f8;
    transition:.15s ease;
}

.custom-table tbody tr:hover{
    background:#fafbff;
}

/* SERTIFIKAT BADGE */
.btn-sertifikat{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:#eff6ff;
    color:#1d4ed8;
    border:1px solid #bfdbfe;
    padding:8px 16px;
    border-radius:12px;
    font-size:12px;
    font-weight:700;
    text-decoration:none;
    transition:.2s ease;
}

.btn-sertifikat:hover{
    background:#2563eb;
    color:#fff;
    border-color:#2563eb;
}

.btn-sertifikat-disabled{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:#f3f4f6;
    color:#9ca3af;
    border:1px solid #e5e7eb;
    padding:8px 16px;
    border-radius:12px;
    font-size:12px;
    font-weight:700;
    cursor:not-allowed;
}

/* AVATAR */
.avatar-circle{
    width:44px;
    height:44px;
    border-radius:14px;
    background:linear-gradient(135deg, #dbeafe, #eff6ff);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:16px;
    font-weight:800;
    color:#1d4ed8;
    flex-shrink:0;
}

/* EMPTY */
.empty-state{
    padding:90px 20px;
    text-align:center;
}

.empty-icon{
    width:90px;
    height:90px;
    margin:auto;
    margin-bottom:24px;
    border-radius:28px;
    background:#eff6ff;
    color:#2563eb;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:34px;
}

.empty-title{
    font-size:28px;
    font-weight:800;
    color:#111827;
    margin-bottom:12px;
}

.empty-desc{
    max-width:520px;
    margin:auto;
    color:#6b7280;
    font-size:14px;
    line-height:1.9;
}

/*
|--------------------------------------------------------------------------
| RESPONSIVE — TABLET (≤ 768px)
|--------------------------------------------------------------------------
*/

@media(max-width:768px){

    .hadir-wrapper{
        padding:16px 14px 60px;
    }

    .hero-box{
        padding:40px 24px;
        border-radius:24px;
        margin-bottom:24px;
    }

    .hero-label{
        font-size:9px;
        padding:8px 12px;
        margin-bottom:14px;
    }

    .hero-title{
        font-size:30px;
        line-height:1.2;
    }

    .hero-desc{
        font-size:13px;
        line-height:1.7;
    }

    .event-tabs{
        gap:8px;
        margin-bottom:18px;
    }

    .event-tab{
        font-size:12px;
        padding:8px 16px;
    }

    .table-box{
        border-radius:20px;
    }

    .table-header{
        padding:20px 20px;
        gap:14px;
    }

    .table-title{
        font-size:20px;
    }

    .table-subtitle{
        font-size:13px;
    }

    .status-live{
        font-size:12px;
        padding:10px 14px;
    }

}

/*
|--------------------------------------------------------------------------
| RESPONSIVE — MOBILE (≤ 576px)
|--------------------------------------------------------------------------
*/

@media(max-width:576px){

    .hadir-wrapper{
        padding:12px 12px 48px;
    }

    .hero-box{
        padding:28px 18px;
        border-radius:20px;
    }

    .hero-title{
        font-size:24px;
        margin-bottom:12px;
    }

    .hero-desc{
        font-size:12px;
    }

    .event-tab{
        font-size:11px;
        padding:7px 12px;
    }

    .table-header{
        padding:16px;
        flex-direction:column;
        align-items:flex-start;
    }

    .table-title{
        font-size:18px;
    }

    .status-live{
        font-size:11px;
        padding:8px 12px;
        width:100%;
        justify-content:center;
    }

    .custom-table th{
        padding:14px 16px;
        font-size:10px;
    }

    .custom-table td{
        padding:14px 16px;
    }

    .avatar-circle{
        width:36px;
        height:36px;
        font-size:13px;
        border-radius:10px;
    }

    .empty-state{
        padding:60px 16px;
    }

    .empty-icon{
        width:72px;
        height:72px;
        font-size:26px;
        border-radius:22px;
    }

    .empty-title{
        font-size:22px;
    }

    .empty-desc{
        font-size:13px;
    }

}
