/* =========================================================
   PA BUNTOK — SURVEI PELAYANAN PUBLIK
   ========================================================= */

.pa-survei {

    width: 100%;

    max-width: 900px;

    margin: 0 auto;

    padding:
        10px 0 35px;

    box-sizing: border-box;

    color: #334155;
}


/* =========================================================
   HEADER
   ========================================================= */

.pa-survei-header {

    position: relative;

    overflow: hidden;

    margin-bottom: 25px;

    padding: 30px 20px 25px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #0f5132,
            #176b45
        );

    border-radius: 16px;

    color: #fff;

    box-shadow:
        0 8px 25px rgba(15,81,50,.15);

}


.pa-survei-header::before {

    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    right: -50px;
    top: -65px;

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

    border-radius: 50%;

}


.pa-survei-header::after {

    content: "";

    position: absolute;

    width: 100px;
    height: 100px;

    left: -35px;
    bottom: -65px;

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

    border-radius: 50%;

}


.pa-survei-eyebrow {

    position: relative;

    z-index: 2;

    display: inline-block;

    margin-bottom: 10px;

    padding: 5px 12px;

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

    border-radius: 50px;

    color: #f4d77d;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.4px;

}


.pa-survei-header h2 {

    position: relative;

    z-index: 2;

    margin: 0;

    color: #fff;

    font-size: 27px;

    line-height: 1.2;

}


.pa-survei-header p {

    position: relative;

    z-index: 2;

    margin: 8px 0 0;

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

    font-size: 14px;

}


.pa-survei-line {

    position: relative;

    z-index: 2;

    width: 45px;

    height: 3px;

    margin: 17px auto 0;

    background: #d4af37;

    border-radius: 5px;

}


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

.pa-survei-intro {

    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 25px;

    padding: 18px 20px;

    background: #f8faf9;

    border-left: 4px solid #d4af37;

    border-radius: 9px;

    color: #475569;

    font-size: 14px;

    line-height: 1.6;

}


.pa-survei-intro-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    background: #e7f4ee;

    border-radius: 10px;

    color: #0f5132;

    font-size: 17px;

}


.pa-survei-intro strong {

    display: block;

    margin-bottom: 3px;

    color: #0f5132;

}


.pa-survei-intro p {

    margin: 0;

}


/* =========================================================
   CATEGORY TABS
   ========================================================= */

.pa-survei-tabs {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0,1fr));

    gap: 10px;

    margin-bottom: 25px;

    padding: 6px;

    background: #f1f6f3;

    border: 1px solid #dfe9e4;

    border-radius: 14px;

}


.pa-survei-tab {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    min-height: 50px;

    padding: 10px 14px;

    border: 0;

    border-radius: 10px;

    background: transparent;

    color: #64748b;

    font-family: inherit;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

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

}


.pa-survei-tab:hover {

    color: #0f5132;

}


.pa-survei-tab.is-active {

    background: #fff;

    color: #0f5132;

    box-shadow:
        0 4px 14px rgba(15,81,50,.08);

}


.pa-survei-tab-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 30px;
    height: 30px;

    background: #e7f4ee;

    border-radius: 8px;

    color: #0f5132;

    font-size: 13px;

}


/* =========================================================
   PANELS
   ========================================================= */

.pa-survei-panel {

    display: none;

}


.pa-survei-panel.is-active {

    display: block;

    animation:
        paSurveiFade .25s ease;

}


@keyframes paSurveiFade {

    from {

        opacity: 0;

        transform: translateY(5px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}


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

.pa-survei-panel-heading {

    margin-bottom: 20px;

}


.pa-survei-heading-eyebrow {

    display: block;

    margin-bottom: 5px;

    padding-left: 13px;

    border-left: 4px solid #0b7a3b;

    color: #0b7a3b;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.4px;

}


.pa-survei-panel-heading h3 {

    margin: 0 0 5px;

    color: #0f5132;

    font-size: 22px;

    line-height: 1.3;

}


.pa-survei-panel-heading p {

    margin: 0;

    color: #64748b;

    font-size: 12px;

}


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

.pa-survei-year {

    margin-bottom: 22px;

}


.pa-survei-year-title {

    display: flex;

    align-items: baseline;

    gap: 10px;

    margin-bottom: 10px;

}


.pa-survei-year-title span {

    color: #0f5132;

    font-size: 18px;

    font-weight: 800;

}


.pa-survei-year-title small {

    color: #94a3b8;

    font-size: 10px;

}


/* =========================================================
   QUARTER GRID
   ========================================================= */

.pa-survei-quarter-grid {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0,1fr));

    gap: 10px;

}


/* =========================================================
   QUARTER CARD
   ========================================================= */

.pa-survei-quarter {

    display: flex;

    align-items: center;

    gap: 10px;

    min-width: 0;

    padding: 12px;

    background: #fff;

    border: 1px solid #dfe9e4;

    border-radius: 12px;

    color: inherit;

    text-decoration: none;

    box-shadow:
        0 4px 14px rgba(15,23,42,.035);

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

}


.pa-survei-quarter:hover {

    transform: translateY(-3px);

    border-color: #b8d9c9;

    background: #fbfdfc;

    box-shadow:
        0 9px 20px rgba(15,81,50,.08);

}


.pa-survei-quarter-number {

    display: flex;

    align-items: center;

    justify-content: center;

    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    background: #e7f4ee;

    border-radius: 9px;

    color: #0f5132;

    font-size: 10px;

    font-weight: 800;

}


.pa-survei-quarter-info {

    min-width: 0;

    flex: 1;

}


.pa-survei-quarter-info strong {

    display: block;

    overflow: hidden;

    margin-bottom: 2px;

    color: #0f5132;

    font-size: 11px;

    line-height: 1.3;

    text-overflow: ellipsis;

    white-space: nowrap;

}


.pa-survei-quarter-info small {

    display: block;

    color: #64748b;

    font-size: 9px;

    line-height: 1.3;

}


.pa-survei-arrow {

    flex: 0 0 auto;

    color: #d4af37;

    font-size: 15px;

    transition:
        transform .2s ease;

}


.pa-survei-quarter:hover
.pa-survei-arrow {

    transform: translateX(3px);

}


/* =========================================================
   DISABLED
   ========================================================= */

.pa-survei-quarter.is-disabled {

    background: #f8faf9;

    border-color: #edf1ef;

    cursor: default;

    box-shadow: none;

    opacity: .75;

}


.pa-survei-quarter.is-disabled:hover {

    transform: none;

    background: #f8faf9;

    border-color: #edf1ef;

}


.pa-survei-quarter.is-disabled
.pa-survei-quarter-number {

    background: #eef2f0;

    color: #94a3b8;

}


.pa-survei-quarter.is-disabled
.pa-survei-quarter-info strong {

    color: #64748b;

}


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

.pa-survei-footer {

    margin-top: 25px;

    padding: 10px 15px;

    text-align: center;

    color: #64748b;

    font-size: 11px;

}


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

@media (max-width: 850px) {

    .pa-survei-quarter-grid {

        grid-template-columns:
            repeat(2, minmax(0,1fr));

    }

}


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

@media (max-width: 700px) {

    .pa-survei {

   width: 100%;

        max-width: none;

        padding:
            5px 0 25px;

    }


    .pa-survei-header {

        padding:
            25px 16px 22px;

        border-radius: 13px;

    }


    .pa-survei-header h2 {

        font-size: 23px;

    }


    .pa-survei-header p {

        font-size: 13px;

    }


    .pa-survei-intro {

        align-items: flex-start;

        padding: 15px;

        font-size: 13px;

    }


    .pa-survei-tabs {

        grid-template-columns: 1fr;

        gap: 5px;

    }


    .pa-survei-tab {

        justify-content: flex-start;

        min-height: 44px;

        padding: 8px 12px;

    }


    .pa-survei-panel-heading h3 {

        font-size: 20px;

    }


    .pa-survei-quarter-grid {

        grid-template-columns: 1fr;

    }


    .pa-survei-quarter {

        padding: 12px;

    }

}


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

@media (max-width: 420px) {

    .pa-survei-header h2 {

        font-size: 21px;

    }


    .pa-survei-panel-heading h3 {

        font-size: 19px;

    }


    .pa-survei-year-title span {

        font-size: 17px;

    }

}