/* =========================================================
   SIGAP RATUJAYA
   STYLE.CSS FINAL
   ========================================================= */


/* =========================================================
   GLOBAL RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

img {
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}


/* =========================================================
   =========================================================
   LOGIN PAGE
   UI LOGIN DIPERTAHANKAN
   =========================================================
   ========================================================= */


/* PAGE */

.sigap-login-page {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    display: flex;
    justify-content: center;

    background:
        radial-gradient(circle at 50% 0%,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(239, 246, 255, 0.90) 30%,
            rgba(219, 234, 254, 0.95) 70%,
            #bfdbfe 100%);

    color: #0f172a;
}


/* BACKGROUND SHAPES */

.login-bg-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
}

.login-bg-shape-1 {
    width: 700px;
    height: 700px;
    left: -360px;
    bottom: -420px;
    border-radius: 50%;

    background:
        linear-gradient(145deg,
            #2563eb,
            #1d4ed8);

    opacity: 0.95;
}

.login-bg-shape-2 {
    width: 650px;
    height: 650px;
    right: -360px;
    bottom: -430px;
    border-radius: 50%;

    background:
        linear-gradient(145deg,
            #3b82f6,
            #1e40af);

    opacity: 0.85;
}

.login-bg-circle {
    position: fixed;
    border-radius: 50%;
    border: 1px solid rgba(37, 99, 235, 0.10);
    pointer-events: none;
}

.login-bg-circle-1 {
    width: 500px;
    height: 500px;
    left: -250px;
    top: -250px;
}

.login-bg-circle-2 {
    width: 400px;
    height: 400px;
    right: -200px;
    top: 100px;
}


/* HOME LINK */

.login-home-link {
    position: fixed;
    z-index: 10;
    top: 28px;
    right: 45px;

    padding-bottom: 7px;

    border-bottom: 1px solid rgba(37, 99, 235, 0.25);

    color: #1d4ed8;

    font-size: 14px;
    font-weight: 700;
    text-decoration: none;

    transition: 0.2s ease;
}

.login-home-link:hover {
    color: #1e3a8a;
    border-color: #1e3a8a;
}


/* MAIN WRAPPER */

.sigap-login-wrapper {
    position: relative;
    z-index: 2;

    width: min(100%, 500px);
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 45px 20px 30px;
}


/* BRAND */

.sigap-login-brand {
    width: 100%;
    text-align: center;
    margin-bottom: 25px;
}


/* LOGO */

.sigap-logo-box {
    width: 92px;
    height: 92px;

    margin: 0 auto 14px;
    padding: 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background: rgba(255, 255, 255, 0.96);

    box-shadow:
        0 12px 30px rgba(30, 64, 175, 0.15);
}

.sigap-logo-box img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* TITLE */

.sigap-login-brand h1 {
    margin: 0;

    color: #102f6b;

    font-size: clamp(31px, 5vw, 43px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -1.5px;
}

.sigap-login-brand h1 span {
    color: #2563eb;
}


/* TAGLINE */

.sigap-login-tagline {
    margin: 10px 0 0;

    color: #31558f;

    font-size: 15px;
    line-height: 1.55;
    font-weight: 500;
}


/* LOGIN CARD */

.sigap-login-card {
    width: 100%;
    max-width: 500px;

    padding: 36px 38px;

    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 22px;

    background: rgba(255, 255, 255, 0.97);

    box-shadow:
        0 25px 60px rgba(30, 64, 175, 0.13),
        0 5px 20px rgba(15, 23, 42, 0.05);

    backdrop-filter: blur(15px);

    overflow: hidden;
}


/* LOGIN CARD BOX SIZING */

.sigap-login-card,
.sigap-login-card *,
.sigap-login-card *::before,
.sigap-login-card *::after {
    box-sizing: border-box;
}

.sigap-login-card form {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}


/* CARD HEADER */

.sigap-login-card-header {
    text-align: center;
    margin-bottom: 25px;
}

.sigap-login-label {
    display: block;
    margin-bottom: 7px;

    color: #2563eb;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.8px;
}

.sigap-login-card-header h2 {
    margin: 0 0 7px;

    color: #15366f;

    font-size: 30px;
    font-weight: 900;
    letter-spacing: -0.7px;
}

.sigap-login-card-header p {
    margin: 0;

    color: #64748b;

    font-size: 14px;
}


/* MESSAGE */

.sigap-login-message {
    display: none;

    margin-bottom: 18px;
    padding: 12px 14px;

    border: 1px solid #fecaca;
    border-radius: 10px;

    color: #991b1b;
    background: #fef2f2;

    font-size: 12px;
    line-height: 1.5;
}


/* FIELD */

.sigap-field {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    margin-bottom: 18px;
}

.sigap-field label {
    display: block;
    margin-bottom: 7px;

    color: #243b64;

    font-size: 14px;
    font-weight: 800;
}


/* INPUT */

.sigap-input {
    position: relative;

    display: block;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}

.sigap-input input {
    display: block;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    height: 50px;

    margin: 0;
    padding: 0 44px;

    border: 1px solid #cbdcf5;
    border-radius: 9px;

    outline: none;

    color: #0f172a;
    background: #ffffff;

    font-family: inherit;
    font-size: 14px;

    transition: 0.2s ease;
}

.sigap-input input::placeholder {
    color: #9aafd0;
}

.sigap-input input:hover {
    border-color: #93b4e8;
}

.sigap-input input:focus {
    border-color: #2563eb;

    box-shadow:
        0 0 0 4px rgba(37, 99, 235, 0.08);
}

.sigap-input-icon {
    position: absolute;
    z-index: 2;

    left: 15px;
    top: 50%;

    transform: translateY(-50%);

    color: #4f76b6;
    font-size: 16px;

    pointer-events: none;
}

.sigap-password-toggle {
    position: absolute;
    z-index: 3;

    right: 7px;
    top: 50%;

    transform: translateY(-50%);

    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    border: none;
    border-radius: 8px;

    color: #6687bc;
    background: transparent;

    cursor: pointer;
}

.sigap-password-toggle:hover {
    color: #2563eb;
    background: #eff6ff;
}


/* LOGIN BUTTON */

.sigap-login-button {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    height: 53px;

    margin-top: 3px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border: none;
    border-radius: 10px;

    color: #ffffff;

    background:
        linear-gradient(135deg,
            #2878f0,
            #1557d4);

    box-shadow:
        0 10px 22px rgba(37, 99, 235, 0.20);

    font-family: inherit;
    font-size: 14px;
    font-weight: 800;

    cursor: pointer;

    transition: 0.2s ease;
}

.sigap-login-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 14px 28px rgba(37, 99, 235, 0.25);
}

.sigap-login-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.sigap-button-arrow {
    font-size: 17px;
}


/* DIVIDER */

.sigap-divider {
    display: flex;
    align-items: center;
    gap: 12px;

    margin: 25px 0 18px;

    color: #8aa1c3;

    font-size: 11px;
    font-weight: 600;
}

.sigap-divider::before,
.sigap-divider::after {
    content: "";

    flex: 1;

    height: 1px;

    background: #dbe7f5;
}


/* ACCESS BOX */

.sigap-access-box {
    display: flex;
    align-items: flex-start;
    gap: 11px;

    padding: 13px;

    border: 1px solid #d5e6ff;
    border-radius: 11px;

    background: #f5f9ff;
}

.sigap-access-icon {
    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: #e5efff;

    font-size: 14px;
}

.sigap-access-box strong {
    display: block;
    margin-bottom: 3px;

    color: #1e4b91;

    font-size: 12px;
}

.sigap-access-box p {
    margin: 0;

    color: #6680a7;

    font-size: 11px;
    line-height: 1.5;
}


/* DASHBOARD LINK */

.sigap-dashboard-link {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 13px;
    padding: 12px 14px;

    border: 1px solid #d5e1f0;
    border-radius: 10px;

    color: #2862b5;
    background: #ffffff;

    font-size: 12px;
    font-weight: 800;
    text-decoration: none;

    transition: 0.2s ease;
}

.sigap-dashboard-link:hover {
    border-color: #9bbff2;
    background: #f7fbff;
    color: #1557d4;
}


/* FOOTER */

.sigap-login-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    margin-top: 20px;

    color: #6680a7;

    font-size: 11px;
}

.sigap-login-footer strong {
    color: #31558f;
}


/* LOGIN RESPONSIVE */

@media (max-width: 700px) {

    .sigap-login-wrapper {
        width: 100%;
        padding: 65px 18px 25px;
    }

    .login-home-link {
        top: 18px;
        right: 18px;
        font-size: 12px;
    }

    .sigap-logo-box {
        width: 78px;
        height: 78px;
        margin-bottom: 12px;
    }

    .sigap-login-brand h1 {
        font-size: 36px;
    }

    .sigap-login-tagline {
        font-size: 14px;
    }

    .sigap-login-card {
        padding: 27px 22px;
        border-radius: 18px;
    }

    .sigap-login-card-header h2 {
        font-size: 24px;
    }

    .sigap-login-footer {
        flex-wrap: wrap;
        text-align: center;
    }
}

@media (max-width: 420px) {

    .sigap-login-wrapper {
        padding: 60px 13px 20px;
    }

    .sigap-login-card {
        width: 100%;
        max-width: 100%;
        padding: 24px 18px;
    }

    .sigap-login-brand h1 {
        font-size: 31px;
    }

    .sigap-login-tagline {
        font-size: 12px;
    }

    .sigap-login-card-header h2 {
        font-size: 22px;
    }

    .sigap-input input {
        height: 50px;
        padding-left: 42px;
        padding-right: 42px;
    }

    .sigap-login-button {
        height: 51px;
    }
}


/* =========================================================
   =========================================================
   HOME / BERANDA
   =========================================================
   ========================================================= */

:root {
    --sigap-blue: #155eef;
    --sigap-blue-dark: #1046b8;
    --sigap-blue-light: #eef4ff;

    --sigap-text: #101828;
    --sigap-text-soft: #475467;
    --sigap-muted: #667085;

    --sigap-border: #e5eaf2;

    --sigap-bg: #f8fafc;
}


/* BODY KHUSUS WEBSITE */

body {
    background: #f8fafc;
    color: var(--sigap-text);
}


/* =========================================================
   NAVBAR
   ========================================================= */

.site-navbar,
.navbar {
    width: 100%;

    background: #ffffff;

    border-bottom: 1px solid #e5eaf2;

    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.05);

    position: relative;
    z-index: 20;
}

.nav-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
    padding: 14px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--sigap-blue);
    text-decoration: none;
}

.brand-mark {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    color: #ffffff;
    background: var(--sigap-blue);

    font-weight: 800;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 17px;
    line-height: 1.2;
    font-weight: 800;
}

.brand-subtitle {
    font-size: 11px;
    color: #667085;
    font-weight: 500;
}


/* MENU */

.main-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-menu a {
    padding: 9px 12px;

    border-radius: 8px;

    text-decoration: none;

    color: #475467;

    font-size: 13px;
    font-weight: 600;

    transition: 0.2s ease;
}

.main-menu a:hover,
.main-menu a.active {
    background: #eef4ff;
    color: #155eef;
}


/* NAV ACTIONS */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-info {
    color: #475467;
    font-size: 13px;
}


/* LOGIN BUTTON NAV */

.btn-login,
.login-link,
#loginLink {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 9px 15px;

    border-radius: 8px;

    color: #155eef;
    background: #eef4ff;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition: 0.2s ease;
}

.btn-login:hover,
.login-link:hover,
#loginLink:hover {
    background: #dbeafe;
}


/* LOGOUT */

.btn-logout,
#logoutButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: none;

    background: #155eef;
    color: #ffffff;

    padding: 9px 16px;

    border-radius: 8px;

    cursor: pointer;

    font-size: 13px;
    font-weight: 600;

    transition: 0.2s ease;
}

.btn-logout:hover,
#logoutButton:hover {
    background: #0f4dcc;
    transform: translateY(-1px);
}


/* INPUT DATA NAV */

.btn-input,
.input-nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 9px 14px;

    border-radius: 8px;

    color: #ffffff;
    background: #155eef;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;
}

.btn-input:hover,
.input-nav-button:hover {
    background: #0f4dcc;
}


/* =========================================================
   HOME MAIN
   ========================================================= */

.home-page,
.home-main,
main {
    width: 100%;
}


/* =========================================================
   HOME HERO
   ========================================================= */

.hero {
    width: 100%;

    background:
        linear-gradient(135deg,
            #eff6ff 0%,
            #ffffff 55%,
            #f8fbff 100%);

    border-bottom: 1px solid #e5edf7;
}

.hero-container,
.hero-inner {
    width: 100%;
    max-width: 1200px;

    min-height: 440px;

    margin: 0 auto;
    padding: 60px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 680px;
}

.hero-badge,
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 7px 12px;

    border: 1px solid #dbeafe;
    border-radius: 100px;

    color: #2563eb;
    background: #ffffff;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.7px;
}

.hero h1 {
    margin: 18px 0 14px;

    color: #102f6b;

    font-size: clamp(36px, 5vw, 52px);
    line-height: 1.08;
    letter-spacing: -1.8px;
}

.hero p {
    margin: 0;

    max-width: 650px;

    color: #64748b;

    font-size: 15px;
    line-height: 1.75;
}


/* HERO BUTTONS */

.hero-actions,
.hero-buttons {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 25px;
}

.hero-primary,
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 45px;

    padding: 0 18px;

    border: none;
    border-radius: 10px;

    color: #ffffff;
    background: #155eef;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    cursor: pointer;

    box-shadow:
        0 8px 18px rgba(21, 94, 239, 0.18);

    transition: 0.2s ease;
}

.hero-primary:hover,
.btn-primary:hover {
    background: #104dcc;
    transform: translateY(-1px);
}

.hero-secondary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 45px;

    padding: 0 18px;

    border: 1px solid #dbe3ee;
    border-radius: 10px;

    color: #475467;
    background: #ffffff;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition: 0.2s ease;
}

.hero-secondary:hover,
.btn-secondary:hover {
    border-color: #b9cdf0;
    background: #f8fbff;
    color: #155eef;
}


/* HERO VISUAL */

.hero-card,
.hero-visual {
    width: 390px;
    flex-shrink: 0;

    padding: 24px;

    border: 1px solid #dbeafe;
    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 20px 50px rgba(37, 99, 235, 0.10);
}

.hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 20px;
}

.hero-card-header strong {
    color: #172033;
    font-size: 14px;
}

.hero-card-status {
    padding: 6px 9px;

    border-radius: 100px;

    color: #15803d;
    background: #dcfce7;

    font-size: 10px;
    font-weight: 700;
}

.hero-stat {
    padding: 17px;

    margin-bottom: 10px;

    border: 1px solid #edf1f6;
    border-radius: 14px;

    background: #f8fafc;
}

.hero-stat span {
    display: block;

    margin-bottom: 5px;

    color: #64748b;

    font-size: 10px;
}

.hero-stat strong {
    color: #155eef;

    font-size: 27px;
}


/* =========================================================
   HOME SECTION
   ========================================================= */

.section,
.home-section,
.statistics-section,
.features-section {
    width: 100%;
}

.section-container,
.home-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
    padding: 55px 24px;
}

.section-heading,
.home-section-heading {
    margin-bottom: 25px;
}

.section-heading h2,
.home-section-heading h2 {
    margin: 0 0 7px;

    color: #101828;

    font-size: 28px;
    letter-spacing: -0.7px;
}

.section-heading p,
.home-section-heading p {
    margin: 0;

    color: #667085;

    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   HOME STATISTICS
   ========================================================= */

.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;
}

.stat-card {
    padding: 21px;

    border: 1px solid #e5eaf2;
    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 5px 18px rgba(16, 24, 40, 0.04);

    transition: 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 28px rgba(16, 24, 40, 0.07);
}

.stat-icon {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 15px;

    border-radius: 11px;

    color: #155eef;
    background: #eef4ff;

    font-size: 19px;
}

.stat-card h3 {
    margin: 0;

    color: #667085;

    font-size: 13px;
    font-weight: 600;
}

.stat-number {
    margin: 7px 0 4px;

    color: #101828;

    font-size: 29px;
    font-weight: 800;
}

.stat-description {
    margin: 0;

    color: #98a2b3;

    font-size: 12px;
}


/* =========================================================
   HOME FEATURE CARDS
   ========================================================= */

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}

.feature-card {
    padding: 24px;

    border: 1px solid #e5eaf2;
    border-radius: 17px;

    background: #ffffff;

    box-shadow:
        0 5px 18px rgba(16, 24, 40, 0.04);

    transition: 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-3px);

    border-color: #c7dafb;

    box-shadow:
        0 15px 35px rgba(16, 24, 40, 0.07);
}

.feature-icon {
    width: 47px;
    height: 47px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 16px;

    border-radius: 13px;

    color: #155eef;
    background: #eef4ff;

    font-size: 20px;
}

.feature-card h3 {
    margin: 0 0 7px;

    color: #172033;

    font-size: 16px;
}

.feature-card p {
    margin: 0;

    color: #667085;

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   CTA
   ========================================================= */

.cta-section {
    width: 100%;
    padding: 0 24px 60px;
}

.cta-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 35px 40px;

    border-radius: 20px;

    background:
        linear-gradient(135deg,
            #155eef,
            #2563eb);

    color: #ffffff;

    box-shadow:
        0 15px 35px rgba(21, 94, 239, 0.18);
}

.cta-container h2 {
    margin: 0 0 8px;

    font-size: 26px;
}

.cta-container p {
    margin: 0;

    max-width: 700px;

    color: rgba(255, 255, 255, 0.85);

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer,
.site-footer {
    width: 100%;

    border-top: 1px solid #e5eaf2;

    background: #ffffff;
}

.footer-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
    padding: 25px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.footer-container p {
    margin: 0;

    color: #667085;

    font-size: 12px;
}

.footer-container strong {
    color: #155eef;
}


/* =========================================================
   =========================================================
   DASHBOARD PAGE
   =========================================================
   ========================================================= */

.dashboard-page {
    min-height: 100vh;
    background: #f8fafc;
}

.dashboard-main {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 40px 24px 60px;
}


/* DASHBOARD HERO */

.dashboard-hero {
    margin-bottom: 28px;
    padding: 38px 42px;

    border-radius: 22px;

    color: #ffffff;

    background:
        linear-gradient(135deg,
            #155eef,
            #2563eb);

    box-shadow:
        0 12px 30px rgba(21, 94, 239, 0.18);
}

.dashboard-hero .eyebrow {
    margin: 0 0 8px;

    font-size: 13px;
    font-weight: 700;

    opacity: 0.85;

    letter-spacing: 0.5px;
}

.dashboard-hero h1 {
    margin: 0 0 10px;

    font-size: 34px;
    line-height: 1.2;
}

.dashboard-hero p {
    margin: 0;

    max-width: 700px;

    font-size: 15px;
    line-height: 1.7;

    opacity: 0.9;
}


/* DASHBOARD STAT */

.dashboard-stat-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;

    margin-bottom: 20px;
}

.dashboard-stat-card {
    padding: 20px;

    display: flex;
    align-items: center;

    gap: 14px;

    background: #ffffff;

    border: 1px solid #e5eaf1;
    border-radius: 17px;

    transition: 0.2s ease;
}

.dashboard-stat-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(15, 23, 42, 0.06);
}

.dashboard-stat-icon {
    width: 49px;
    height: 49px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    font-size: 21px;
}

.dashboard-stat-icon.blue {
    background: #dbeafe;
}

.dashboard-stat-icon.green {
    background: #dcfce7;
}

.dashboard-stat-icon.purple {
    background: #ede9fe;
}

.dashboard-stat-icon.cyan {
    background: #cffafe;
}

.dashboard-stat-content span {
    display: block;

    margin-bottom: 3px;

    color: #64748b;

    font-size: 11px;
}

.dashboard-stat-content strong {
    display: block;

    color: #172033;

    font-size: 25px;
    line-height: 1.1;
}

.dashboard-stat-content small {
    display: block;

    margin-top: 4px;

    color: #94a3b8;

    font-size: 10px;
}


/* DASHBOARD GRID */

.dashboard-main-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}

.dashboard-panel {
    padding: 25px;
    margin-bottom: 18px;

    background: #ffffff;

    border: 1px solid #e5eaf1;
    border-radius: 18px;

    box-shadow:
        0 6px 22px rgba(15, 23, 42, 0.025);
}

.dashboard-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 24px;
}

.dashboard-panel-header>div:first-child>span {
    color: #2563eb;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.3px;
}

.dashboard-panel-header h2 {
    margin: 5px 0;

    color: #172033;

    font-size: 20px;
}

.dashboard-panel-header p {
    margin: 0;

    color: #94a3b8;

    font-size: 11px;
}

.panel-icon {
    width: 39px;
    height: 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: #eff6ff;

    font-size: 17px;
}


/* CATEGORY */

.category-item {
    margin-bottom: 20px;
}

.category-item:last-child {
    margin-bottom: 0;
}

.category-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 8px;
}

.category-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-name strong {
    font-size: 13px;
}

.category-top>strong {
    color: #2563eb;

    font-size: 13px;
}

.category-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #2563eb;
}

.category-progress {
    height: 8px;

    overflow: hidden;

    background: #f1f5f9;

    border-radius: 100px;
}

.category-progress div {
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(90deg,
            #60a5fa,
            #2563eb);
}

.category-item small {
    display: block;

    margin-top: 6px;

    color: #94a3b8;

    font-size: 10px;
}


/* GENDER */

.gender-dashboard-item {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 13px;
    margin-bottom: 10px;

    background: #f8fafc;

    border: 1px solid #edf1f6;
    border-radius: 13px;
}

.gender-dashboard-icon {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    font-size: 22px;
}

.gender-dashboard-icon.male {
    background: #dbeafe;
    color: #2563eb;
}

.gender-dashboard-icon.female {
    background: #fce7f3;
    color: #db2777;
}

.gender-dashboard-info {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gender-dashboard-info strong {
    display: block;

    font-size: 13px;
}

.gender-dashboard-info span {
    display: block;

    margin-top: 3px;

    color: #94a3b8;

    font-size: 10px;
}

.gender-dashboard-info>strong:last-child {
    color: #2563eb;

    font-size: 16px;
}


/* POSYANDU */

.posyandu-dashboard-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 11px;
}

.posyandu-dashboard-card {
    padding: 13px;

    display: flex;
    align-items: center;

    gap: 10px;

    border: 1px solid #edf1f6;
    border-radius: 13px;

    transition: 0.2s ease;
}

.posyandu-dashboard-card:hover {
    border-color: #bfdbfe;
    background: #f8fbff;
}

.posyandu-dashboard-number {
    width: 37px;
    height: 37px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #eff6ff;
    color: #2563eb;

    font-size: 11px;
    font-weight: 800;
}

.posyandu-dashboard-info strong {
    display: block;

    font-size: 11px;
}

.posyandu-dashboard-info span {
    display: block;

    margin-top: 3px;

    color: #94a3b8;

    font-size: 10px;
}


/* RW */

.rw-dashboard-grid {
    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 10px;
}

.rw-dashboard-card {
    padding: 16px 10px;

    text-align: center;

    border: 1px solid #edf1f6;
    border-radius: 13px;

    background: #ffffff;

    transition: 0.2s ease;
}

.rw-dashboard-card:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.rw-dashboard-card span {
    display: block;

    color: #94a3b8;

    font-size: 9px;
    font-weight: 700;
}

.rw-dashboard-card strong {
    display: block;

    margin: 3px 0;

    color: #2563eb;

    font-size: 23px;
}

.rw-dashboard-card small {
    color: #94a3b8;

    font-size: 9px;
}


/* EMPTY */

.dashboard-empty {
    padding: 30px;

    text-align: center;

    color: #94a3b8;

    font-size: 12px;
}

.dashboard-empty.error {
    color: #dc2626;
}


/* =========================================================
   INPUT PAGE
   CSS FORM DETAIL TETAP ADA DI input.css
   ========================================================= */

.input-page {
    min-height: 100vh;
    background: #f8fafc;
}


/* =========================================================
   RESPONSIVE WEBSITE
   ========================================================= */

@media (max-width: 1000px) {

    .nav-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .main-menu {
        gap: 2px;
    }

    .main-menu a {
        padding: 8px 9px;
        font-size: 12px;
    }

    .hero-container,
    .hero-inner {
        gap: 30px;
    }

    .hero-card,
    .hero-visual {
        width: 340px;
    }

    .stats-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .feature-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .dashboard-stat-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .posyandu-dashboard-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .rw-dashboard-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 800px) {

    .nav-container {
        flex-wrap: wrap;
    }

    .main-menu {
        order: 3;

        width: 100%;

        justify-content: center;

        padding-top: 4px;

        overflow-x: auto;
    }

    .hero-container,
    .hero-inner {
        min-height: auto;

        flex-direction: column;

        align-items: flex-start;

        padding-top: 45px;
        padding-bottom: 45px;
    }

    .hero-card,
    .hero-visual {
        width: 100%;
        max-width: 520px;
    }

    .dashboard-main-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-hero {
        padding: 30px;
    }

    .dashboard-hero h1 {
        font-size: 30px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .nav-container {
        padding: 12px 15px;
    }

    .brand-subtitle {
        display: none;
    }

    .main-menu {
        justify-content: flex-start;
    }

    .main-menu a {
        white-space: nowrap;
    }

    .nav-actions {
        gap: 6px;
    }

    .user-info {
        display: none;
    }

    .hero-container,
    .hero-inner {
        padding: 38px 18px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 14px;
    }

    .hero-actions,
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-primary,
    .hero-secondary,
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .section-container,
    .home-container {
        padding: 42px 18px;
    }

    .section-heading h2,
    .home-section-heading h2 {
        font-size: 24px;
    }

    .stats-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .cta-container {
        padding: 28px 22px;
    }

    .footer-container {
        padding: 22px 18px;

        flex-direction: column;

        text-align: center;
    }

    .dashboard-main {
        padding: 25px 15px 45px;
    }

    .dashboard-hero {
        padding: 28px 22px;

        border-radius: 17px;
    }

    .dashboard-hero h1 {
        font-size: 27px;
    }

    .dashboard-stat-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .posyandu-dashboard-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .rw-dashboard-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .dashboard-panel {
        padding: 19px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .brand-title {
        font-size: 15px;
    }

    .nav-actions #loginLink,
    .nav-actions #logoutButton {
        padding: 8px 11px;

        font-size: 11px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-card,
    .hero-visual {
        padding: 18px;
    }

    .dashboard-stat-grid {
        grid-template-columns: 1fr;
    }

    .posyandu-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .rw-dashboard-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    /* =====================================================
        LOGO KOTA DEPOK - DASHBOARD NAVBAR
   ===================================================== */

    /* LOGO DASHBOARD - SUPER SMALL */
    .site-navbar .brand-logo {
        width: 30px !important;
        height: 30px !important;
        flex: 0 0 30px !important;

        display: flex;
        align-items: center;
        justify-content: center;

        background: transparent !important;
        border-radius: 6px;
        overflow: hidden;
    }

    .site-navbar .brand-logo img {
        width: 27px !important;
        height: 27px !important;
        max-width: 27px !important;
        max-height: 27px !important;

        object-fit: contain;
        display: block;
    }

    /* =========================================================
       FIX LOGO KOTA DEPOK - DASHBOARD NAVBAR
       ========================================================= */

    .site-navbar {
        width: 100%;
        background: #ffffff;
        border-bottom: 1px solid #e5eaf2;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .nav-container {
        max-width: 1200px;
        height: 72px;
        margin: 0 auto;
        padding: 0 24px;

        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }

    /* BRAND */
    .brand {
        display: flex;
        align-items: center;
        gap: 9px;

        flex-shrink: 0;

        text-decoration: none;
        color: #155eef;
    }

    /* LOGO KOTA DEPOK */
    .brand-logo {
        width: 34px;
        height: 34px;

        flex: 0 0 34px;

        display: flex;
        align-items: center;
        justify-content: center;

        overflow: hidden;
        background: #ffffff;
    }

    .brand-logo img {
        display: block;

        width: 30px !important;
        height: 30px !important;

        max-width: 30px !important;
        max-height: 30px !important;

        min-width: 30px !important;
        min-height: 30px !important;

        object-fit: contain;
    }

    /* TEXT SIGAP */
    .brand-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0;
    }

    .brand-title {
        font-size: 15px;
        line-height: 1.1;
        font-weight: 800;
        color: #155eef;
        white-space: nowrap;
    }

    .brand-subtitle {
        margin-top: 3px;

        font-size: 8px;
        line-height: 1.2;

        color: #667085;

        max-width: 150px;
    }

    /* MENU */
    .main-menu {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .main-menu a {
        padding: 8px 11px;

        border-radius: 8px;

        text-decoration: none;

        color: #475467;

        font-size: 12px;
        font-weight: 600;

        transition: 0.2s ease;
    }

    .main-menu a:hover,
    .main-menu a.active {
        background: #eef4ff;
        color: #155eef;
    }

    /* ACTION */
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 9px;

        flex-shrink: 0;
    }

    .user-info {
        font-size: 11px;
        color: #475467;
    }

    /* LOGIN */
    .btn-login {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        height: 34px;
        padding: 0 13px;

        border: 1px solid #155eef;
        border-radius: 8px;

        background: #ffffff;
        color: #155eef;

        text-decoration: none;

        font-size: 11px;
        font-weight: 700;

        transition: 0.2s ease;
    }

    .btn-login:hover {
        background: #eef4ff;
    }

    /* LOGOUT */
    .btn-logout {
        height: 34px;
        padding: 0 13px;

        border: 1px solid #155eef;
        border-radius: 8px;

        background: #155eef;
        color: #ffffff;

        font-size: 11px;
        font-weight: 700;

        cursor: pointer;

        transition: 0.2s ease;
    }

    .btn-logout:hover {
        background: #0f4dcc;
    }


    /* =========================================================
       RESPONSIVE
       ========================================================= */

    @media (max-width: 1000px) {

        .nav-container {
            height: 68px;
            padding: 0 18px;
        }

        .main-menu {
            display: none;
        }

        .brand-logo {
            width: 32px;
            height: 32px;
            flex-basis: 32px;
        }

        .brand-logo img {
            width: 28px !important;
            height: 28px !important;
            max-width: 28px !important;
            max-height: 28px !important;
            min-width: 28px !important;
            min-height: 28px !important;
        }
    }

    @media (max-width: 650px) {

        .nav-container {
            height: 64px;
            padding: 0 14px;
        }

        .brand-title {
            font-size: 14px;
        }

        .brand-subtitle {
            display: none;
        }

        .user-info {
            display: none;
        }

        .brand-logo {
            width: 30px;
            height: 30px;
            flex-basis: 30px;
        }

        .brand-logo img {
            width: 26px !important;
            height: 26px !important;
            max-width: 26px !important;
            max-height: 26px !important;
            min-width: 26px !important;
            min-height: 26px !important;
        }
    }
}