/* =========================================================
   PA BUNTOK — HUKUMAN DISIPLIN HASIL PENGAWASAN
   COMPACT INSTITUTIONAL
========================================================= */

.pa-hukuman-disiplin {
    width: 100%;
    box-sizing: border-box;
}

/* =========================================================
   HERO — COMPACT
========================================================= */

.pa-hd-hero {

    position: relative;

    width: calc(100% - 48px);
    max-width: 900px;

    min-height: 160px;

    margin: 0 auto 25px;

    padding: 22px 28px;

    box-sizing: border-box;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    overflow: hidden;

    border-radius: 16px;

    background: #0b633f;

    color: #fff;

    box-shadow:
        0 14px 35px rgba(0, 80, 50, .14);
}


/* =========================================================
   DECORATIVE CIRCLES
========================================================= */

.pa-hd-hero::before,
.pa-hd-hero::after {

    content: "";

    position: absolute;

    width: 140px;
    height: 140px;

    border:
        1px solid rgba(255,255,255,.12);

    border-radius: 50%;

    pointer-events: none;
}


.pa-hd-hero::before {

    top: -78px;
    right: -42px;

}


.pa-hd-hero::after {

    bottom: -88px;
    left: -52px;

}


/* =========================================================
   HERO CONTENT
========================================================= */

.pa-hd-eyebrow {

    position: relative;

    z-index: 1;

    display: inline-flex;

    padding: 4px 12px;

    margin-bottom: 7px;

    border:
        1px solid rgba(255,255,255,.25);

    border-radius: 999px;

    color: #f4c542;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}


.pa-hd-hero h2 {

    position: relative;

    z-index: 1;

    margin: 0;

    color: #fff;

    font-size:
        clamp(21px, 2.5vw, 28px);

    line-height: 1.2;

    font-weight: 800;
}


.pa-hd-hero p {

    position: relative;

    z-index: 1;

    margin: 5px 0 0;

    color: rgba(255,255,255,.9);

    font-size: 12px;

    line-height: 1.5;
}


.pa-hd-line {

    position: relative;

    z-index: 1;

    width: 44px;

    height: 3px;

    margin-top: 11px;

    background: #e7b92e;

    border-radius: 10px;
}

/* =========================================================
   CONTENT
========================================================= */

.pa-hd-content {
    width: calc(100% - 48px);
    max-width: 900px;

    margin: 0 auto;

    box-sizing: border-box;
}


/* =========================================================
   INTRO
========================================================= */

.pa-hd-intro {
    margin-bottom: 24px;
}


.pa-hd-section-label {
    display: block;

    margin-bottom: 7px;

    color: #08783f;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.5px;
}


.pa-hd-intro h3 {
    margin: 0 0 7px;

    color: #123f32;

    font-size: 22px;
    line-height: 1.3;

    font-weight: 800;
}


.pa-hd-intro p {
    margin: 0;

    color: #60716b;

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   YEAR TABS
========================================================= */

.pa-hd-years {
    display: flex;
    justify-content: center;
    gap: 6px;

    margin-bottom: 18px;
}


.pa-hd-year {
    border: 1px solid #d7e3de;

    background: #f6f9f7;

    color: #08783f;

    padding: 9px 20px;

    border-radius: 8px;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}


.pa-hd-year:hover {
    transform: translateY(-1px);
}


.pa-hd-year.is-active {
    background: #08783f;
    color: #fff;

    border-color: #08783f;

    box-shadow:
        0 7px 16px rgba(8,120,63,.16);
}


/* =========================================================
   PANEL
========================================================= */

.pa-hd-panel {
    width: 100%;
}


.pa-hd-panel[hidden] {
    display: none;
}


.pa-hd-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 14px;
}


.pa-hd-panel-label {
    display: block;

    margin-bottom: 5px;

    color: #08783f;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.4px;
}


.pa-hd-panel-header h3 {
    margin: 0;

    color: #123f32;

    font-size: 18px;

    line-height: 1.3;
}


.pa-hd-status {
    padding: 7px 11px;

    border-radius: 999px;

    background: #edf6f1;

    color: #08783f;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .8px;
}


/* =========================================================
   TABLE
========================================================= */

.pa-hd-table-wrap {
    width: 100%;

    overflow-x: auto;

    border: 1px solid #dfe9e4;
    border-radius: 12px;

    background: #fff;

    box-shadow:
        0 8px 24px rgba(20,70,50,.05);
}


.pa-hd-table {
    width: 100%;

    min-width: 850px;

    border-collapse: separate;
    border-spacing: 0;

    font-size: 11px;
}


.pa-hd-table th {
    padding: 10px 7px;

    background: #08783f;

    color: #fff;

    border-right: 1px solid rgba(255,255,255,.2);
    border-bottom: 1px solid #076a37;

    text-align: center;

    font-size: 9px;
    font-weight: 700;

    line-height: 1.3;
}


.pa-hd-table thead tr:nth-child(2) th {
    background: #e7b92e;

    color: #173d30;

    border-color: rgba(0,0,0,.08);
}


.pa-hd-table td {
    padding: 8px 7px;

    border-right: 1px solid #e2e9e6;
    border-bottom: 1px solid #e2e9e6;

    color: #52635d;

    line-height: 1.4;
}


.pa-hd-table tbody tr:last-child td {
    border-bottom: 0;
}


.pa-hd-month {
    color: #123f32 !important;

    font-weight: 700;

    white-space: nowrap;
}


.pa-hd-position {
    font-weight: 600;

    white-space: nowrap;
}


.pa-hd-number,
.pa-hd-value {
    text-align: center;

    white-space: nowrap;
}


.pa-hd-number {
    color: #08783f !important;

    font-weight: 800;
}


.pa-hd-note {
    min-width: 130px;

    text-align: center;

    white-space: nowrap;
}


/* =========================================================
   MOBILE LIST
========================================================= */

.pa-hd-mobile-list {
    display: none;
}


/* =========================================================
   LEGEND
========================================================= */

.pa-hd-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;

    margin-top: 16px;
    padding: 14px 16px;

    border: 1px solid #e1e9e5;
    border-radius: 10px;

    background: #f7faf8;

    color: #66756f;

    font-size: 10px;
    line-height: 1.5;
}


.pa-hd-legend strong {
    margin-right: 3px;

    color: #08783f;
}


/* =========================================================
   FOOTER
========================================================= */

.pa-hd-footer {
    margin-top: 24px;
    padding-top: 16px;

    border-top: 1px solid #e2e9e6;

    color: #7b8984;

    font-size: 10px;
    line-height: 1.6;

    text-align: center;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 768px) {

    .pa-hd-hero {

        width: calc(100% - 28px);

        min-height: 135px;

        padding: 20px 18px;

        margin-bottom: 20px;

        border-radius: 12px;
    }


    .pa-hd-hero h2 {

        font-size: 20px;

        line-height: 1.2;
    }


    .pa-hd-hero p {

        font-size: 11px;

        line-height: 1.45;
    }


    .pa-hd-content {

        width: calc(100% - 28px);
    }


    .pa-hd-intro h3 {

        font-size: 19px;
    }


    /* =====================================================
       YEAR
    ===================================================== */

    .pa-hd-years {

        overflow-x: auto;

        justify-content: flex-start;

        padding-bottom: 4px;
    }


    .pa-hd-year {

        flex: 0 0 auto;

        padding: 8px 16px;
    }


    /* =====================================================
       PANEL
    ===================================================== */

    .pa-hd-panel-header {

        align-items: flex-start;
    }


    .pa-hd-status {

        display: none;
    }


    /* =====================================================
       DESKTOP TABLE HIDDEN
    ===================================================== */

    .pa-hd-table-wrap {

        display: none;
    }


    /* =====================================================
       MOBILE LIST
    ===================================================== */

    .pa-hd-mobile-list {

        display: flex;

        flex-direction: column;

        gap: 9px;
    }


    .pa-hd-mobile-month {

        border: 1px solid #dfe9e4;

        border-radius: 11px;

        overflow: hidden;

        background: #fff;
    }


    .pa-hd-mobile-month-title {

        padding: 9px 12px;

        background: #08783f;

        color: #fff;

        font-size: 11px;

        font-weight: 800;
    }


    .pa-hd-mobile-row {

        padding: 12px;

        border-bottom: 1px solid #e7ece9;
    }


    .pa-hd-mobile-row:last-child {

        border-bottom: 0;
    }


    .pa-hd-mobile-top {

        display: flex;

        align-items: center;

        justify-content: space-between;

        gap: 10px;
    }


    .pa-hd-mobile-top strong {

        color: #123f32;

        font-size: 12px;
    }


    .pa-hd-mobile-top span {

        color: #08783f;

        font-size: 10px;

        font-weight: 700;
    }


    .pa-hd-mobile-note {

        margin-top: 5px;

        color: #697871;

        font-size: 10px;

        line-height: 1.5;
    }


    .pa-hd-legend {

        display: none;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .pa-hd-hero {

        width: calc(100% - 20px);

        min-height: 125px;

        padding: 17px 15px;

        margin-bottom: 18px;

        border-radius: 11px;
    }


    .pa-hd-content {

        width: calc(100% - 20px);
    }


    .pa-hd-hero h2 {

        font-size: 19px;

        line-height: 1.2;
    }


    .pa-hd-hero p {

        font-size: 10px;

        line-height: 1.4;
    }

}