/* =========================================================
   SISTEM SEMAKAN BANTUAN
   MAIN PROFESSIONAL STYLE
========================================================= */

:root {
    --primary: #063b73;
    --primary-dark: #042b54;
    --primary-light: #eaf2fb;

    --accent: #c62828;
    --accent-dark: #a91f1f;
    --accent-light: #fff0f0;

    --success: #16834c;
    --success-bg: #eaf8f0;

    --warning: #a56700;
    --warning-bg: #fff7e6;

    --danger: #c62828;
    --danger-bg: #fff0f0;

    --text: #172033;
    --text-soft: #64748b;

    --background: #f6f8fb;
    --surface: #ffffff;

    --border: #e5e9f0;

    --shadow-sm:
        0 2px 8px rgba(15, 23, 42, 0.04);

    --shadow-md:
        0 8px 24px rgba(15, 23, 42, 0.07);

    --shadow-lg:
        0 18px 45px rgba(15, 23, 42, 0.10);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: var(--background);

    color: var(--text);

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: none;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   TOP BAR
========================================================= */

.top-bar {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.9);

    font-size: 12px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);
}

.top-container {
    width: min(1180px, calc(100% - 40px));

    min-height: 38px;

    margin: 0 auto;

    display: flex;

    justify-content: space-between;

    align-items: center;
}

.top-left,
.top-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #53d488;
}

.top-divider {
    width: 1px;
    height: 14px;

    background:
        rgba(255, 255, 255, 0.18);
}


/* =========================================================
   MAIN HEADER
========================================================= */

header {
    background: var(--surface);

    border-bottom:
        1px solid var(--border);

    position: sticky;

    top: 0;

    z-index: 100;
}

.header-container {
    width: min(1180px, calc(100% - 40px));

    min-height: 76px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;
}


/* =========================================================
   BRAND
========================================================= */

.brand {
    display: flex;

    align-items: center;

    gap: 12px;

    min-width: 0;
}

.brand-logo {
    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    border-radius: 12px;

    display: grid;

    place-items: center;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            #0a579f
        );

    color: #fff;

    font-size: 14px;

    font-weight: 900;

    letter-spacing: 0.4px;

    box-shadow:
        0 8px 20px rgba(6, 59, 115, 0.20);
}

.brand-text {
    min-width: 0;

    display: flex;

    flex-direction: column;
}

.brand-text strong {
    font-size: 14px;

    line-height: 1.3;

    letter-spacing: 0.3px;

    color: var(--text);
}

.brand-text small {
    margin-top: 3px;

    font-size: 11px;

    line-height: 1.3;

    color: var(--text-soft);
}


/* =========================================================
   NAVIGATION
========================================================= */

nav {
    display: flex;

    align-items: center;

    gap: 4px;
}

nav a {
    position: relative;

    padding: 10px 13px;

    border-radius: 8px;

    font-size: 13px;

    font-weight: 700;

    color: #536175;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

nav a:hover {
    color: var(--primary);

    background: var(--primary-light);
}

nav a.active {
    color: var(--primary);

    background: var(--primary-light);
}

nav a.admin-link {
    margin-left: 4px;

    color: var(--accent);

    background: var(--accent-light);
}

nav a.admin-link:hover {
    background: #ffe4e4;
}


/* =========================================================
   HERO
========================================================= */

.hero-section {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #eef4fb 0%,
            #f7f9fc 60%,
            #ffffff 100%
        );

    padding: 88px 0 95px;
}

.hero-section::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -180px;
    top: -180px;

    border-radius: 50%;

    background:
        rgba(6, 59, 115, 0.05);
}

.hero-content {
    position: relative;

    max-width: 760px;

    z-index: 1;
}

.hero-content .eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 7px 11px;

    border-radius: 999px;

    background: #fff;

    border: 1px solid #d8e4f1;

    color: var(--primary);

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 1px;
}

.hero-content .eyebrow::before {
    content: "";

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #20a45d;
}

.hero-content h1 {
    margin-top: 20px;

    max-width: 760px;

    font-size:
        clamp(42px, 6vw, 72px);

    line-height: 0.98;

    letter-spacing: -2px;

    font-weight: 900;
}

.hero-content h1 span {
    color: var(--accent);
}

.hero-content p {
    max-width: 700px;

    margin-top: 25px;

    font-size: 17px;

    color: var(--text-soft);

    line-height: 1.8;
}

.hero-buttons {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 30px;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    min-height: 44px;

    padding: 0 18px;

    border-radius: 9px;

    font-size: 13px;

    font-weight: 800;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-red {
    background: var(--accent);

    color: #fff;

    box-shadow:
        0 8px 20px rgba(198, 40, 40, 0.18);
}

.btn-red:hover {
    background: var(--accent-dark);

    box-shadow:
        0 10px 24px rgba(198, 40, 40, 0.24);
}

.btn-blue {
    background: var(--primary);

    color: #fff;
}

.btn-blue:hover {
    background: var(--primary-dark);
}

.btn-light {
    background: #eef2f6;

    color: #334155;
}

.btn-outline {
    background: transparent;

    color: var(--primary);

    border: 1px solid #bac8d8;
}

.btn-outline:hover {
    background: var(--primary-light);
}


/* =========================================================
   TRUST
========================================================= */

.hero-trust {
    display: flex;

    flex-wrap: wrap;

    gap: 20px;

    margin-top: 25px;
}

.trust-item {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    font-size: 12px;

    color: var(--text-soft);
}

.trust-item strong {
    width: 20px;
    height: 20px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: var(--success-bg);

    color: var(--success);

    font-size: 10px;
}


/* =========================================================
   SECTION
========================================================= */

.section {
    padding: 85px 0;
}

.section.white {
    background: #fff;
}

.section.grey {
    background: var(--background);
}

.section-title {
    max-width: 700px;

    margin-bottom: 38px;
}

.section-title.center {
    text-align: center;

    margin-left: auto;

    margin-right: auto;
}

.section-title > span,
.eyebrow {
    color: var(--accent);

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 1.2px;
}

.section-title h1,
.section-title h2 {
    margin-top: 7px;

    font-size: 35px;

    line-height: 1.15;

    letter-spacing: -0.6px;
}

.section-title p {
    margin-top: 10px;

    color: var(--text-soft);

    font-size: 14px;
}


/* =========================================================
   SERVICE GRID
========================================================= */

.service-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}

.service-card {
    position: relative;

    min-height: 320px;

    padding: 28px;

    background: #fff;

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);

    display: flex;

    flex-direction: column;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);

    border-color: #cbd7e5;

    box-shadow: var(--shadow-lg);
}

.service-number {
    position: absolute;

    right: 22px;
    top: 20px;

    font-size: 12px;

    font-weight: 900;

    color: #d6dee8;
}

.service-icon {
    width: 52px;
    height: 52px;

    display: grid;

    place-items: center;

    border-radius: 14px;

    font-size: 20px;

    font-weight: 900;

    margin-bottom: 18px;
}

.service-icon.blue {
    background: #eaf3fd;

    color: var(--primary);
}

.service-icon.red {
    background: var(--accent-light);

    color: var(--accent);
}

.service-icon.yellow {
    background: #fff7e5;

    color: var(--warning);
}

.service-card h3 {
    font-size: 18px;

    margin-bottom: 9px;
}

.service-card p {
    color: var(--text-soft);

    font-size: 13px;

    line-height: 1.75;
}

.service-card > span {
    margin-top: auto;

    padding-top: 20px;

    color: var(--primary);

    font-size: 13px;

    font-weight: 900;
}


/* =========================================================
   PROCESS
========================================================= */

.process {
    display: grid;

    grid-template-columns:
        1fr 80px 1fr 80px 1fr;

    align-items: center;
}

.process-item {
    text-align: center;
}

.process-number {
    width: 52px;
    height: 52px;

    margin: 0 auto 16px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            #0b5da5
        );

    font-weight: 900;

    box-shadow:
        0 10px 22px rgba(6,59,115,.18);
}

.process-item h3 {
    font-size: 16px;
}

.process-item p {
    margin-top: 7px;

    color: var(--text-soft);

    font-size: 13px;
}

.process-line {
    height: 1px;

    background: #cfd8e3;
}


/* =========================================================
   INFORMATION
========================================================= */

.information-box {
    display: flex;

    gap: 18px;

    align-items: flex-start;

    padding: 24px;

    border-radius: 16px;

    border: 1px solid #d7e2ee;

    background:
        linear-gradient(
            180deg,
            #f9fbfe,
            #f3f7fb
        );
}

.information-icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    border-radius: 12px;

    display: grid;

    place-items: center;

    background: var(--primary-light);

    color: var(--primary);

    font-weight: 900;
}

.information-content h3 {
    margin-top: 4px;

    font-size: 18px;
}

.information-content p {
    margin-top: 7px;

    color: var(--text-soft);

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   CTA
========================================================= */

.cta {
    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary)
        );

    color: #fff;

    padding: 60px 0;
}

.cta-inner {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;
}

.cta small {
    font-size: 10px;

    letter-spacing: 1.1px;

    font-weight: 900;

    opacity: 0.75;
}

.cta h2 {
    margin-top: 4px;

    font-size: 29px;
}

.cta p {
    margin-top: 4px;

    color: rgba(255,255,255,.72);

    font-size: 13px;
}

.cta .btn-red {
    background: #fff;

    color: var(--primary);

    box-shadow: none;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    background: #081d33;

    color: #d7e2ee;
}

.footer-content {
    padding: 34px 0;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;
}

.footer-links {
    display: flex;

    flex-wrap: wrap;

    gap: 18px;
}

.footer-links a {
    color: #b9c8d8;

    font-size: 12px;

    transition: color .2s ease;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    border-top:
        1px solid rgba(255,255,255,.08);

    padding: 15px 20px;

    text-align: center;

    color: #8fa3b8;

    font-size: 11px;
}


/* =========================================================
   LOGIN
========================================================= */

.login-page {
    min-height:
        calc(100vh - 155px);

    display: grid;

    place-items: center;

    padding: 65px 20px;

    background:
        linear-gradient(
            180deg,
            #eef4fa 0%,
            #f7f9fc 55%,
            #ffffff 100%
        );
}

.login-box {
    width: min(450px, 100%);

    background: #fff;

    border: 1px solid var(--border);

    border-radius: 20px;

    padding: 34px;

    box-shadow: var(--shadow-lg);
}

.login-header {
    text-align: center;

    margin-bottom: 25px;
}

.login-logo {
    margin: 0 auto 15px;
}

.login-label {
    display: inline-block;

    color: var(--accent);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1.2px;
}

.login-header h1 {
    margin-top: 5px;

    font-size: 28px;

    letter-spacing: -0.5px;
}

.login-header p {
    margin-top: 8px;

    color: var(--text-soft);

    font-size: 13px;

    line-height: 1.7;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    font-size: 12px;

    font-weight: 800;

    color: #334155;
}

.form-control {
    width: 100%;

    height: 46px;

    padding: 0 13px;

    border: 1px solid #cfd8e3;

    border-radius: 9px;

    background: #fff;

    color: var(--text);

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.form-control:focus {
    border-color: #5485b5;

    box-shadow:
        0 0 0 3px rgba(6,59,115,.08);
}

textarea.form-control {
    min-height: 120px;

    height: auto;

    padding: 12px;

    resize: vertical;
}

select.form-control {
    padding-right: 35px;
}

.form-submit {
    width: 100%;

    margin-top: 6px;
}

.login-options {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 10px;

    margin: 10px 0 18px;

    font-size: 12px;
}

.remember {
    display: flex;

    align-items: center;

    gap: 7px;

    color: #526175;
}

.login-divider {
    display: flex;

    align-items: center;

    gap: 12px;

    margin: 23px 0;

    color: #96a2b0;

    font-size: 11px;
}

.login-divider::before,
.login-divider::after {
    content: "";

    height: 1px;

    flex: 1;

    background: var(--border);
}

.login-link {
    display: block;

    text-align: center;

    color: var(--primary);

    font-size: 12px;

    font-weight: 800;
}

.security-note {
    display: flex;

    gap: 10px;

    margin-top: 22px;

    padding: 13px;

    border-radius: 10px;

    background: var(--success-bg);

    color: var(--success);

    font-size: 11px;
}

.security-note p {
    margin: 0;
}

.alert {
    padding: 13px 15px;

    border-radius: 10px;

    margin-bottom: 18px;

    font-size: 12px;

    border: 1px solid;
}

.alert-success {
    background: var(--success-bg);

    color: var(--success);

    border-color: #c2e7d1;
}

.alert-error {
    background: var(--danger-bg);

    color: var(--danger);

    border-color: #efc7c7;
}


/* =========================================================
   PUBLIC SEMAKAN
========================================================= */

.public-main {
    min-height: 72vh;

    padding: 65px 0;

    background: var(--background);
}

.public-container {
    width: min(1000px, calc(100% - 40px));

    margin: 0 auto;
}


/* =========================================================
   SEARCH
========================================================= */

.search-form {
    display: grid;

    grid-template-columns: 1fr auto;

    gap: 10px;
}


/* =========================================================
   PANEL
========================================================= */

.panel {
    background: #fff;

    border: 1px solid var(--border);

    border-radius: 15px;

    padding: 24px;

    box-shadow: var(--shadow-sm);

    margin-bottom: 20px;
}

.panel-heading {
    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 20px;

    margin-bottom: 20px;
}

.panel-heading h2 {
    font-size: 20px;

    margin-bottom: 3px;
}

.panel-heading p {
    color: var(--text-soft);

    font-size: 12px;
}


/* =========================================================
   DETAILS
========================================================= */

.detail-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;
}

.detail-grid > div {
    padding: 15px;

    background: #f9fbfd;

    border:
        1px solid var(--border);

    border-radius: 10px;
}

.detail-grid span {
    display: block;

    color: var(--text-soft);

    font-size: 11px;
}

.detail-grid strong {
    display: block;

    margin-top: 5px;

    font-size: 13px;
}


/* =========================================================
   STATUS
========================================================= */

.status {
    display: inline-flex;

    align-items: center;

    padding: 5px 9px;

    border-radius: 999px;

    font-size: 10px;

    font-weight: 900;
}

.status-approved {
    color: var(--success);

    background: var(--success-bg);
}

.status-pending {
    color: var(--warning);

    background: var(--warning-bg);
}

.status-rejected {
    color: var(--danger);

    background: var(--danger-bg);
}


/* =========================================================
   TABLE
========================================================= */

.table-wrap {
    width: 100%;

    overflow-x: auto;
}

table {
    width: 100%;

    border-collapse: collapse;

    min-width: 760px;
}

th,
td {
    padding: 13px 12px;

    border-bottom:
        1px solid var(--border);

    text-align: left;

    font-size: 12px;

    white-space: nowrap;
}

th {
    background: #f8fafc;

    color: #66758a;

    font-size: 10px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: .4px;
}

tbody tr {
    transition: background .15s ease;
}

tbody tr:hover {
    background: #fafcff;
}


/* =========================================================
   PAGE HEADER
========================================================= */

.page-header {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 20px;

    margin-bottom: 24px;
}

.page-header h1 {
    margin-top: 4px;

    font-size: 30px;

    line-height: 1.15;

    letter-spacing: -.6px;
}

.page-header p {
    margin-top: 6px;

    color: var(--text-soft);

    font-size: 13px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .service-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process {
        grid-template-columns:
            1fr 40px 1fr 40px 1fr;
    }

    .detail-grid {
        grid-template-columns:
            1fr 1fr;
    }

}


@media (max-width: 760px) {

    .top-right {
        display: none;
    }

    .header-container {
        flex-direction: column;

        align-items: flex-start;

        padding: 14px 0;
    }

    nav {
        width: 100%;

        overflow-x: auto;

        padding-bottom: 2px;
    }

    nav a {
        flex: 0 0 auto;
    }

    .hero-section {
        padding: 60px 0 70px;
    }

    .hero-content h1 {
        letter-spacing: -1px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .process {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .process-line {
        display: none;
    }

    .cta-inner {
        flex-direction: column;

        align-items: flex-start;
    }

    .cta .btn {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;

        align-items: flex-start;
    }

    .page-header {
        flex-direction: column;

        align-items: flex-start;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .search-form {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 500px) {

    .container,
    .top-container,
    .header-container,
    .public-container {
        width: min(100% - 28px, 1180px);
    }

    .login-box {
        padding: 24px;
    }

    .section {
        padding: 60px 0;
    }

}
.back-link{
    margin-bottom:20px;
}

.back-link a{
    color:#003b7a;
    text-decoration:none;
    font-weight:600;
}