
body{font-family:Inter,Poppins,system-ui,-apple-system,sans-serif;background:#f6f8f7;color:#17251d}
.sidebar{min-height:calc(100vh - 60px);
background:#fff;border-right:1px solid #e7ece9}
.card,
.stat-card{border:0;border-radius:16px;box-shadow:0 4px 20px rgba(0,0,0,.05)}
.stat-card{background:#fff;padding:20px;height:100%}
/* =========================================================
   LOGIN BACKGROUND — B.1.1
   ========================================================= */

.auth-bg {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 28px 20px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(22, 131, 75, .12),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(13, 92, 54, .09),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #eef9f2,
            #f8fbf9 48%,
            #edf7f1
        );
}
.auth-bg::before {
    content: "";

    position: absolute;

    width: 360px;
    height: 360px;

    top: -170px;
    right: -120px;

    background:
        radial-gradient(
            circle,
            rgba(22, 131, 75, .10),
            transparent 68%
        );

    border-radius: 50%;

    pointer-events: none;
}

.auth-bg::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    bottom: -150px;
    left: -100px;

    background:
        radial-gradient(
            circle,
            rgba(13, 92, 54, .08),
            transparent 68%
        );

    border-radius: 50%;

    pointer-events: none;
}
/* =========================================================
   LOGIN CARD — B.1.3
   ========================================================= */

.auth-card {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 440px;

    padding: 34px;

    background: rgba(255, 255, 255, .96);

    border: 1px solid rgba(22, 131, 75, .10);

    border-radius: 24px;

    box-shadow:
        0 20px 55px rgba(13, 92, 54, .10),
        0 4px 16px rgba(13, 92, 54, .04);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.auth-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 34px;
    right: 34px;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--green-dark),
            var(--green)
        );

    border-radius: 0 0 6px 6px;
}
/* =========================================================
   LOGIN BRAND — B.2
   ========================================================= */

.login-brand {
    text-align: center;
    margin-bottom: 28px;
}

.login-brand-icon {
    width: 64px;
    height: 64px;

    margin: 0 auto 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--green-dark),
            var(--green)
        );

    border: 1px solid rgba(22, 131, 75, .12);

    border-radius: 18px;

    box-shadow:
        0 8px 20px rgba(13, 92, 54, .16);
}

.login-brand-icon i {
    font-size: 1.7rem;
}

.login-brand-title {
    color: var(--green-dark);

    font-size: 1.28rem;
    font-weight: 800;

    letter-spacing: .02em;

    line-height: 1.2;
}

.login-brand-tagline {
    max-width: 300px;

    margin: 7px auto 0;

    color: var(--text-muted);

    font-size: .76rem;
    font-weight: 500;

    line-height: 1.45;
}
@media (max-width: 575.98px) {

    .auth-card {
        padding: 30px 22px;
        border-radius: 20px;
    }

    .login-brand {
        margin-bottom: 24px;
    }

    .login-brand-icon {
        width: 58px;
        height: 58px;
        border-radius: 16px;
    }

    .login-brand-icon i {
        font-size: 1.5rem;
    }

    .login-brand-title {
        font-size: 1.08rem;
    }

    .login-brand-tagline {
        font-size: .72rem;
    }

}
/* =========================================================
   LOGIN FORM FIELD — B.3
   ========================================================= */

.login-field {
    margin-bottom: 20px !important;
}

.login-field .form-label {
    display: block;
    margin-bottom: 8px;

    color: #24382f;

    font-size: .84rem;
    font-weight: 600;

    line-height: 1.3;
}

.login-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.login-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;

    width: 20px;
    height: 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #6c8277;

    transform: translateY(-50%);

    pointer-events: none;

    z-index: 2;

    transition:
        color .2s ease,
        transform .2s ease;
}

.login-input-icon i {
    font-size: .95rem;
}

.login-input {
    width: 100% !important;

    min-height: 50px;

    padding-left: 43px !important;
    padding-right: 14px !important;

    color: #24382f;

    background: #fff;

    border: 1px solid #d9e5de !important;
    border-radius: 11px !important;

    font-size: .90rem;

    box-shadow: none !important;

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

.login-input::placeholder {
    color: #9aa9a1;
}

.login-input:hover {
    border-color: rgba(22, 131, 75, .22) !important;
}

.login-input:focus {
    color: #24382f;

    background: #fff;

    border-color: var(--green) !important;

    box-shadow:
        0 0 0 3px rgba(22, 131, 75, .10) !important;

    outline: none;
}

.login-input-wrap:focus-within .login-input-icon {
    color: var(--green);

    transform:
        translateY(-50%)
        scale(1.06);
}
.login-input-wrap select.login-input {
    padding-left: 43px !important;
    cursor: pointer;
}

.login-input-wrap select.login-input option {
    color: #24382f;
}
/* =========================================================
   LOGIN BUTTON — B.4
   ========================================================= */

.login-submit {
    position: relative;

    min-height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    margin-top: 4px;

    padding: 12px 18px;

    color: #fff !important;

    background:
        linear-gradient(
            135deg,
            var(--green-dark),
            var(--green)
        ) !important;

    border: 1px solid var(--green) !important;
    border-radius: 11px !important;

    font-size: .92rem;
    font-weight: 700;

    letter-spacing: .01em;

    box-shadow:
        0 7px 16px rgba(13, 92, 54, .15) !important;

    overflow: hidden;

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

.login-submit::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 70%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, .16),
            transparent
        );

    transform: skewX(-20deg);

    transition: left .45s ease;

    pointer-events: none;
}

.login-submit:hover {
    color: #fff !important;

    background:
        linear-gradient(
            135deg,
            var(--green),
            var(--green-dark)
        ) !important;

    border-color: var(--green-dark) !important;

    transform: translateY(-1px);

    box-shadow:
        0 10px 22px rgba(13, 92, 54, .20) !important;
}

.login-submit:hover::before {
    left: 130%;
}

.login-submit:active {
    color: #fff !important;

    transform: translateY(0) scale(.985);

    box-shadow:
        0 4px 10px rgba(13, 92, 54, .13) !important;
}

.login-submit:focus-visible {
    color: #fff !important;

    border-color: var(--green-dark) !important;

    box-shadow:
        0 0 0 3px rgba(22, 131, 75, .14),
        0 7px 16px rgba(13, 92, 54, .15) !important;

    outline: none;
}

.login-submit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 1rem;

    transition:
        transform .2s ease;
}

.login-submit:hover .login-submit-icon {
    transform: translateX(2px);
}
@media (max-width: 575.98px) {

    .login-submit {
        min-height: 48px;
        font-size: .88rem;
    }

}
/* =========================================================
   LOGIN PASSWORD TOGGLE — B.5
   ========================================================= */

.login-password-input {
    padding-right: 48px !important;
}

.login-password-toggle {
    position: absolute;

    top: 50%;
    right: 10px;

    width: 34px;
    height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    color: #71847a;

    background: transparent;

    border: 0;
    border-radius: 8px;

    transform: translateY(-50%);

    cursor: pointer;

    z-index: 3;

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

.login-password-toggle i {
    font-size: 1rem;
}

.login-password-toggle:hover {
    color: var(--green);

    background:
        rgba(22, 131, 75, .07);
}

.login-password-toggle:active {
    transform:
        translateY(-50%)
        scale(.94);
}

.login-password-toggle:focus-visible {
    color: var(--green);

    background:
        rgba(22, 131, 75, .07);

    box-shadow:
        0 0 0 3px rgba(22, 131, 75, .10);

    outline: none;
}

/* =========================================================
   LANDING PAGE — C.3 SPLIT LAYOUT
   ========================================================= */

.landing {
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    background:
        radial-gradient(
            circle at 8% 15%,
            rgba(22, 131, 75, .10),
            transparent 28%
        ),
        radial-gradient(
            circle at 92% 85%,
            rgba(13, 92, 54, .08),
            transparent 28%
        ),
        #f4faf6;

    overflow-x: hidden;
}

.landing > .container {
    position: relative;
    z-index: 2;

    width: 100%;

    flex: 1;

    display: flex;
    align-items: center;

    padding-top: 24px !important;
    padding-bottom: 24px !important;
}


/* =========================================================
   SPLIT CARD
   ========================================================= */

.landing-split {
    width: 100%;
    max-width: 1180px;

    min-height: 650px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.05fr .95fr;

    overflow: hidden;

    background: #fff;

    border: 1px solid rgba(22, 131, 75, .10);

    border-radius: 28px;

    box-shadow:
        0 24px 65px rgba(13, 92, 54, .11),
        0 5px 18px rgba(13, 92, 54, .04);
}


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

.landing-panel-info {
    position: relative;

    display: flex;
    align-items: center;

    min-width: 0;

    padding: 58px 58px;

    color: #fff;

    background:
        radial-gradient(
            circle at 80% 18%,
            rgba(255, 255, 255, .10),
            transparent 25%
        ),
        linear-gradient(
            145deg,
            var(--green-deep),
            var(--green-dark) 55%,
            #0b7545
        );

    overflow: hidden;
}

.landing-panel-info::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -210px;
    top: -120px;

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

    border-radius: 50%;

    box-shadow:
        0 0 0 60px rgba(255, 255, 255, .025),
        0 0 0 120px rgba(255, 255, 255, .018);

    pointer-events: none;
}

.landing-panel-info::after {
    content: "";

    position: absolute;

    width: 360px;
    height: 160px;

    left: -110px;
    bottom: -90px;

    background:
        rgba(255, 255, 255, .045);

    border-radius: 50%;

    transform: rotate(-14deg);

    pointer-events: none;
}

.landing-info-content {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 560px;

    margin: 0 auto;
}

.landing-info-brand {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 30px;
}

.landing-info-logo {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--green-dark);

    background: #fff;

    border-radius: 14px;

    box-shadow:
        0 7px 18px rgba(0, 0, 0, .10);
}

.landing-info-logo i {
    font-size: 1.35rem;
}

.landing-info-brand-text {
    font-size: 1.25rem;
    font-weight: 800;

    letter-spacing: .10em;

    line-height: 1.35;
}

.landing-info-title {
    font-size: clamp(1.65rem, 3vw, 2.00rem);

    font-weight: 700;

    line-height: 1.18;

    letter-spacing: -.01em;
}

.landing-info-description {
    max-width: 500px;

    margin: 18px 0 0;

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

    font-size: .91rem;

    font-weight: 400;

    line-height: 1.7;
}


/* =========================================================
   FEATURES
   ========================================================= */

.landing-features {
    display: flex;
    flex-direction: column;

    gap: 16px;

    margin-top: 38px;
}

.landing-feature {
    display: flex;
    align-items: center;

    gap: 15px;
}

.landing-feature-icon {
    width: 52px;
    height: 52px;

    flex: 0 0 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--green);

    background: #fff;

    border-radius: 14px;

    box-shadow:
        0 6px 16px rgba(0, 0, 0, .08);
}

.landing-feature-icon i {
    font-size: 1.25rem;
}

.landing-feature-text {
    min-width: 0;
}

.landing-feature-title {
    color: #fff;

    font-size: .94rem;
    font-weight: 700;

    line-height: 1.3;
}

.landing-feature-description {
    margin-top: 3px;

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

    font-size: .76rem;
    font-weight: 500;

    line-height: 1.4;
}


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

.landing-panel-action {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;

    padding: 55px 58px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #fbfdfc
        );
}

.landing-action-content {
    width: 100%;
    max-width: 410px;

    margin: 0 auto;

    text-align: center;
}

.landing-action-icon {
    width: 70px;
    height: 70px;

    margin: 0 auto 17px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--green-dark),
            var(--green)
        );

    border-radius: 19px;

    box-shadow:
        0 9px 22px rgba(13, 92, 54, .15);
}

.landing-action-icon i {
    font-size: 1.85rem;
}

.landing-action-eyebrow {
    margin-bottom: 7px;

    color: var(--text-muted);

    font-size: .62rem;
    font-weight: 800;

    letter-spacing: .12em;

    line-height: 1.4;
}

.landing-action-title {
    margin: 0;

    color: var(--green-dark);

    font-size: clamp(1.65rem, 3vw, 2.25rem);

    font-weight: 800;

    line-height: 1.15;

    letter-spacing: .01em;
}

.landing-action-tagline {
    margin: 10px auto 0;

    color: #547064;

    font-size: .82rem;
    font-weight: 500;

    line-height: 1.5;
}


/* =========================================================
   ACTION BUTTONS
   ========================================================= */

.landing-action-buttons {
    display: flex;
    flex-direction: column;

    gap: 10px;

    margin-top: 32px;
}

.landing-action-btn {
    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    width: 100%;

    padding: 11px 18px;

    border-radius: 10px;

    font-size: .88rem;
    font-weight: 700;

    text-decoration: none;

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

.landing-action-btn i {
    font-size: 1rem;
}

.landing-action-btn-primary {
    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--green-dark),
            var(--green)
        );

    border: 1px solid var(--green);

    box-shadow:
        0 7px 16px rgba(13, 92, 54, .14);
}

.landing-action-btn-primary:hover {
    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--green),
            var(--green-dark)
        );

    transform: translateY(-1px);

    box-shadow:
        0 10px 22px rgba(13, 92, 54, .19);
}

.landing-action-btn-outline {
    color: var(--green-dark);

    background: #fff;

    border: 1px solid rgba(22, 131, 75, .22);
}

.landing-action-btn-outline:hover {
    color: var(--green);

    background: var(--green-soft);

    border-color: rgba(22, 131, 75, .30);

    transform: translateY(-1px);

    box-shadow:
        0 7px 16px rgba(13, 92, 54, .07);
}


/* =========================================================
   DEVELOPER
   ========================================================= */

.landing-developer {
    margin-top: 30px;
}

.landing-developer-divider {
    width: 100%;
    height: 1px;

    margin-bottom: 18px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(22, 131, 75, .13),
            transparent
        );
}

.landing-developer-label {
    color: var(--text-muted);

    font-size: .59rem;
    font-weight: 800;

    letter-spacing: .13em;
}

.landing-developer-name {
    margin-top: 5px;

    color: var(--green-dark);

    font-size: .95rem;
    font-weight: 800;
}

.landing-developer-role {
    margin-top: 2px;

    color: #60766b;

    font-size: .91rem;
}

.landing-developer-office {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 5px;

    margin-top: 7px;

    color: var(--text-muted);

    font-size: .91rem;

    line-height: 1.4;
}

.landing-developer-office i {
    color: var(--green);

    font-size: .75rem;
}
@media (max-width: 991.98px) {

    .landing {
        align-items: flex-start;
    }

    .landing > .container {
        padding-top: 18px !important;
        padding-bottom: 18px !important;
    }

    .landing-split {
        grid-template-columns: 1fr;

        min-height: auto;

        border-radius: 22px;
    }

    .landing-panel-info {
        padding: 42px 34px;
    }

    .landing-info-content {
        max-width: 680px;
    }

    .landing-panel-action {
        padding: 42px 34px;
    }

    .landing-action-content {
        max-width: 460px;
    }

}
@media (max-width: 575.98px) {

    .landing > .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .landing-split {
        border-radius: 18px;
    }

    .landing-panel-info {
        padding: 34px 24px;
    }

    .landing-info-brand {
        margin-bottom: 23px;
    }

    .landing-info-logo {
        width: 42px;
        height: 42px;
        flex-basis: 42px;

        border-radius: 12px;
    }

    .landing-info-logo i {
        font-size: 1.15rem;
    }

    .landing-info-brand-text {
        font-size: .66rem;
        letter-spacing: .07em;
    }

    .landing-info-title {
        font-size: 1.55rem;
    }

    .landing-info-description {
        margin-top: 14px;

        font-size: .80rem;
    }

    .landing-features {
        gap: 13px;
        margin-top: 28px;
    }

    .landing-feature {
        gap: 11px;
    }

    .landing-feature-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;

        border-radius: 12px;
    }

    .landing-feature-icon i {
        font-size: 1.05rem;
    }

    .landing-feature-title {
        font-size: .84rem;
    }

    .landing-feature-description {
        font-size: .68rem;
    }

    .landing-panel-action {
        padding: 36px 24px;
    }

    .landing-action-icon {
        width: 60px;
        height: 60px;

        border-radius: 17px;
    }

    .landing-action-icon i {
        font-size: 1.6rem;
    }

    .landing-action-eyebrow {
        font-size: .55rem;
        letter-spacing: .09em;
    }

    .landing-action-title {
        font-size: 1.55rem;
    }

    .landing-action-tagline {
        font-size: .75rem;
    }

    .landing-action-buttons {
        margin-top: 25px;
    }

    .landing-developer {
        margin-top: 26px;
    }

    .landing-developer-office {
        align-items: flex-start;
        font-size: .60rem;
    }

}

/* =========================================================
   LANDING PAGE — C.4 PANEL LEFT POLISH
   ========================================================= */

.landing-panel-info {
    isolation: isolate;

    box-shadow:
        inset -1px 0 rgba(255, 255, 255, .06);
}

.landing-panel-info::before {
    z-index: -1;

    width: 520px;
    height: 520px;

    right: -250px;
    top: -150px;

    border-color: rgba(255, 255, 255, .075);

    box-shadow:
        0 0 0 70px rgba(255, 255, 255, .025),
        0 0 0 140px rgba(255, 255, 255, .018);
}

.landing-panel-info::after {
    z-index: -1;

    width: 460px;
    height: 190px;

    left: -150px;
    bottom: -105px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, .06),
            rgba(255, 255, 255, 0)
        );
}


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

.landing-info-logo {
    position: relative;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.landing-info-brand:hover .landing-info-logo {
    transform: translateY(-2px);

    box-shadow:
        0 10px 23px rgba(0, 0, 0, .14);
}

.landing-info-brand-text {
    color: rgba(255, 255, 255, .95);
}


/* =========================================================
   FEATURE ITEMS
   ========================================================= */

.landing-feature {
    position: relative;

    padding: 8px 10px 8px 0;

    border-radius: 15px;

    transition:
        background-color .22s ease,
        transform .22s ease;
}

.landing-feature:hover {
    background:
        rgba(255, 255, 255, .055);

    transform: translateX(4px);
}

.landing-feature-icon {
    transition:
        transform .22s ease,
        box-shadow .22s ease;
}

.landing-feature:hover .landing-feature-icon {
    transform: scale(1.05);

    box-shadow:
        0 9px 20px rgba(0, 0, 0, .12);
}

.landing-feature-icon i {
    transition:
        transform .22s ease;
}

.landing-feature:hover .landing-feature-icon i {
    transform: scale(1.08);
}

.landing-feature-title {
    transition:
        color .22s ease;
}

.landing-feature:hover .landing-feature-title {
    color: #fff;
}

.landing-feature-description {
    transition:
        color .22s ease;
}

.landing-feature:hover .landing-feature-description {
    color: rgba(255, 255, 255, .82);
}
.landing-feature {
    padding-left: 7px;
}

.landing-feature::before {
    content: "";

    position: absolute;

    left: 0;
    top: 10px;
    bottom: 10px;

    width: 2px;

    background:
        rgba(255, 255, 255, .18);

    border-radius: 4px;

    opacity: 0;

    transform: scaleY(.6);

    transition:
        opacity .22s ease,
        transform .22s ease;
}

.landing-feature:hover::before {
    opacity: 1;

    transform: scaleY(1);
}

/* =========================================================
   C.4 NAVIGATION BUTTON POLISH
   ========================================================= */

.landing-action-btn {
    position: relative;

    overflow: hidden;

    isolation: isolate;
}

.landing-action-btn::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 70%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, .16),
            transparent
        );

    transform: skewX(-20deg);

    transition:
        left .45s ease;

    pointer-events: none;

    z-index: -1;
}

.landing-action-btn:hover::before {
    left: 130%;
}

.landing-action-btn i,
.landing-action-btn span {
    position: relative;

    z-index: 2;
}
.landing-action-btn-primary {
    min-height: 50px;

    font-size: .90rem;

    box-shadow:
        0 8px 18px rgba(13, 92, 54, .16);

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

.landing-action-btn-primary:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(13, 92, 54, .21);
}

.landing-action-btn-primary:active {
    transform:
        translateY(0)
        scale(.985);

    box-shadow:
        0 5px 12px rgba(13, 92, 54, .14);
}

.landing-action-btn-primary i {
    transition:
        transform .2s ease;
}

.landing-action-btn-primary:hover i {
    transform: translateX(2px);
}
.landing-action-btn-outline {
    min-height: 50px;

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

.landing-action-btn-outline:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 18px rgba(13, 92, 54, .08);
}

.landing-action-btn-outline:active {
    transform:
        translateY(0)
        scale(.985);
}

.landing-action-btn-outline i {
    transition:
        transform .2s ease;
}

.landing-action-btn-outline:hover i {
    transform: translateX(1px);
}
.landing-panel-action::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -90px;
    top: -90px;

    background:
        radial-gradient(
            circle,
            rgba(22, 131, 75, .07),
            transparent 68%
        );

    border-radius: 50%;

    pointer-events: none;
}

.landing-panel-action::after {
    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    left: -80px;
    bottom: -80px;

    background:
        radial-gradient(
            circle,
            rgba(22, 131, 75, .055),
            transparent 68%
        );

    border-radius: 50%;

    pointer-events: none;
}
.landing-action-content {
    position: relative;

    z-index: 2;
}

/* =========================================================
   LANDING PAGE — C.5 FOOTER
   ========================================================= */

.landing-footer {
    position: relative;

    width: 100%;

    padding: 0 20px 26px;

    text-align: center;

    color: var(--text-muted);
}

.landing-footer-brand {
    color: var(--green-dark);

    font-size: .72rem;
    font-weight: 800;

    letter-spacing: .10em;

    line-height: 1.4;
}

.landing-footer-tagline {
    margin-top: 4px;

    color: #708078;

    font-size: .65rem;
    font-weight: 500;

    line-height: 1.4;
}

.landing-footer-divider {
    width: 110px;
    height: 1px;

    margin: 12px auto;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(22, 131, 75, .18),
            transparent
        );
}

.landing-footer-developer {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 6px;

    color: #60766b;

    font-size: .65rem;
    font-weight: 600;

    line-height: 1.4;
}

.landing-footer-developer span:first-child {
    color: var(--green-dark);

    font-weight: 700;
}

.landing-footer-dot {
    color: rgba(22, 131, 75, .45);
}

.landing-footer-office {
    margin-top: 3px;

    color: #7b8982;

    font-size: .61rem;
    font-weight: 500;

    line-height: 1.4;
}

.landing-footer-copy {
    margin-top: 0px;

    color: #000000;

    font-size: .75rem;
    font-weight: 500;

    line-height: .50;
}
@media (max-width: 575.98px) {

    .landing-footer {
        padding: 0 16px 20px;
    }

    .landing-footer-brand {
        font-size: .66rem;
    }

    .landing-footer-tagline {
        font-size: .60rem;
    }

    .landing-footer-developer {
        font-size: .61rem;
    }

    .landing-footer-office {
        max-width: 300px;

        margin-left: auto;
        margin-right: auto;

        font-size: .58rem;
    }

    .landing-footer-copy {
        font-size: .54rem;
    }

}

/* =========================================================
   LANDING PAGE — C.6 RESPONSIVE & MOBILE FINAL
   ========================================================= */

@media (max-width: 991.98px) {

    .landing > .container {
        flex: none;

        padding-top: 18px !important;
        padding-bottom: 18px !important;
    }

    .landing-split {
        width: 100%;
        max-width: 760px;

        grid-template-columns: 1fr;

        min-height: auto;
    }

    .landing-panel-info {
        padding: 46px 42px;
    }

    .landing-info-content {
        max-width: 650px;
    }

    .landing-info-title {
        font-size: 2rem;
    }

    .landing-info-description {
        max-width: 600px;
    }

    .landing-features {
        display: grid;
        grid-template-columns: repeat(3, 1fr);

        gap: 12px;

        margin-top: 30px;
    }

    .landing-feature {
        height: 100%;

        padding: 12px;

        align-items: flex-start;

        background:
            rgba(255, 255, 255, .045);

        border-radius: 13px;
    }

    .landing-feature:hover {
        transform: translateY(-2px);
    }

    .landing-feature::before {
        display: none;
    }

    .landing-feature-icon {
        width: 42px;
        height: 42px;

        flex-basis: 42px;
    }

    .landing-feature-description {
        font-size: .68rem;
    }

    .landing-panel-action {
        padding: 44px 42px;
    }

    .landing-action-content {
        max-width: 470px;
    }

}
@media (max-width: 575.98px) {

    .landing {
        min-height: 100vh;
    }

    .landing > .container {
        padding: 12px !important;
    }

    .landing-split {
        width: 100%;

        border-radius: 18px;

        box-shadow:
            0 14px 35px rgba(13, 92, 54, .10);
    }

    /* PANEL KIRI */

    .landing-panel-info {
        padding: 32px 22px;
    }

    .landing-info-brand {
        gap: 10px;

        margin-bottom: 21px;
    }

    .landing-info-logo {
        width: 40px;
        height: 40px;

        flex-basis: 40px;

        border-radius: 11px;
    }

    .landing-info-logo i {
        font-size: 1.08rem;
    }

    .landing-info-brand-text {
        font-size: .62rem;

        letter-spacing: .06em;
    }

    .landing-info-title {
        font-size: 1.45rem;

        line-height: 1.2;
    }

    .landing-info-description {
        margin-top: 13px;

        font-size: .78rem;

        line-height: 1.6;
    }

    /* FEATURES */

    .landing-features {
        display: flex;

        gap: 10px;

        margin-top: 25px;
    }

    .landing-feature {
        padding: 8px 4px;

        background: transparent;
    }

    .landing-feature:hover {
        background:
            rgba(255, 255, 255, .05);

        transform: translateX(3px);
    }

    .landing-feature-icon {
        width: 40px;
        height: 40px;

        flex-basis: 40px;

        border-radius: 11px;
    }

    .landing-feature-icon i {
        font-size: 1rem;
    }

    .landing-feature-title {
        font-size: .81rem;
    }

    .landing-feature-description {
        margin-top: 2px;

        font-size: .65rem;
    }

    /* PANEL KANAN */

    .landing-panel-action {
        padding: 34px 22px 30px;
    }

    .landing-action-icon {
        width: 58px;
        height: 58px;

        margin-bottom: 15px;

        border-radius: 16px;
    }

    .landing-action-icon i {
        font-size: 1.5rem;
    }

    .landing-action-eyebrow {
        font-size: .52rem;

        letter-spacing: .07em;
    }

    .landing-action-title {
        font-size: 1.48rem;
    }

    .landing-action-tagline {
        max-width: 300px;

        margin-top: 8px;

        font-size: .72rem;
    }

    /* BUTTONS */

    .landing-action-buttons {
        gap: 9px;

        margin-top: 23px;
    }

    .landing-action-btn {
        min-height: 46px;

        font-size: .82rem;
    }

    /* DEVELOPER */

    .landing-developer {
        margin-top: 24px;
    }

    .landing-developer-divider {
        margin-bottom: 15px;
    }

    .landing-developer-label {
        font-size: .55rem;
    }

    .landing-developer-name {
        font-size: .84rem;
    }

    .landing-developer-role {
        font-size: .67rem;
    }

    .landing-developer-office {
        max-width: 280px;

        margin-left: auto;
        margin-right: auto;

        font-size: .59rem;

        line-height: 1.45;
    }

    /* FOOTER */

    .landing-footer {
        padding:
            0 14px 18px;
    }

}
@media (max-width: 380px) {

    .landing > .container {
        padding: 8px !important;
    }

    .landing-split {
        border-radius: 16px;
    }

    .landing-panel-info {
        padding: 27px 18px;
    }

    .landing-info-title {
        font-size: 1.32rem;
    }

    .landing-info-description {
        font-size: .74rem;
    }

    .landing-feature {
        gap: 9px;
    }

    .landing-feature-icon {
        width: 36px;
        height: 36px;

        flex-basis: 36px;
    }

    .landing-feature-title {
        font-size: .76rem;
    }

    .landing-feature-description {
        font-size: .61rem;
    }

    .landing-panel-action {
        padding:
            29px 18px 26px;
    }

    .landing-action-title {
        font-size: 1.35rem;
    }

    .landing-action-eyebrow {
        font-size: .48rem;
    }

    .landing-action-btn {
        min-height: 44px;

        font-size: .79rem;
    }

}
@media (max-width: 991.98px) and (orientation: landscape) {

    .landing > .container {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }

    .landing-panel-info {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .landing-info-title {
        font-size: 1.65rem;
    }

    .landing-features {
        margin-top: 22px;
    }

    .landing-panel-action {
        padding-top: 30px;
        padding-bottom: 28px;
    }

    .landing-developer {
        margin-top: 20px;
    }

    .landing-footer {
        padding-bottom: 14px;
    }

}
.landing,
.landing-split,
.landing-panel-info,
.landing-panel-action {
    max-width: 100%;
}
.landing {
    overflow-x: hidden;
}
.auth-card.wide{max-width:760px}

.table{vertical-align:middle}


/* =========================================
   RESPONSIVE LAYOUT - SUPERVISI MADRASAH
   ========================================= */

/* Hindari halaman melebar karena konten */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.app-container {
    padding-left: 0;
    padding-right: 0;
}

.app-layout {
    margin-left: 0;
    margin-right: 0;
}

.app-main {
    min-width: 0;
    overflow-wrap: anywhere;
}

/* Header */
.app-navbar {
    min-height: 60px;
    padding: 8px 12px;
    flex-wrap: nowrap;
}

.app-navbar > .container-fluid {
    flex-wrap: nowrap;
    min-width: 0;
}

.app-navbar .navbar-brand {
    font-size: 1.15rem;
    white-space: normal;
    line-height: 1.2;
    min-width: 0;
    overflow: hidden;
}

.navbar-user {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.navbar-user-role {
    font-size: .88rem;
    font-weight: 600;
    letter-spacing: .02em;
}

.navbar-user-separator {
    opacity: .55;
    font-size: .85rem;
}

.navbar-user-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #fff !important;
    font-size: 1.15rem;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 9px;
    background: rgba(255, 255, 255, .08);
    transition:
        background-color .2s ease,
        opacity .2s ease,
        transform .2s ease,
        border-color .2s ease;
}

.navbar-user-logout:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .35);
    opacity: 1;
    transform: translateY(-1px);
}

.navbar-user-logout:active {
    transform: scale(.94);
}

.navbar-user-logout:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .18);
}

.navbar-user-logout:hover {
    color: #fff !important;
    opacity: .82;
    transform: translateY(-1px);
}
@media (max-width: 575.98px) {
    .app-navbar .navbar-brand {
        max-width: 42vw;
        font-size: .88rem;
        line-height: 1.15;
    }
    .navbar-user {
        font-size: .68rem;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .navbar-user-role {
        font-size: .84rem;
    }

    .navbar-user-separator {
        font-size: .9rem;
    }

    .navbar-user-logout {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
        border-radius: 10px;
    }
    .app-navbar .navbar-brand {
        max-width: 42vw;
        font-size: .88rem;
        line-height: 1.15;
    }
}
/* Sidebar desktop */
/* =========================================================
   SIDEBAR MODERN
   ========================================================= */

.sidebar {
    background: rgba(255, 255, 255, .96);

    border-right: 1px solid var(--border-soft);

    min-height: calc(100vh - 64px);

    box-shadow:
        4px 0 18px rgba(13, 92, 54, .035);

    padding-top: 20px !important;

    transition:
        background-color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

/* =========================================================
   IDENTITAS SIDEBAR
   ========================================================= */

.sidebar-heading {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 42px;

    margin: 0 4px 16px 4px !important;
    padding: 0 12px 0 18px;

    color: var(--text-muted) !important;

    font-size: .70rem;
    font-weight: 700;

    letter-spacing: .13em;
    text-transform: uppercase;

    background:
        linear-gradient(
            90deg,
            var(--green-pale),
            rgba(244, 250, 246, .35)
        );

    border: 1px solid rgba(22, 131, 75, .07);
    border-radius: 10px;
}

/* Aksen hijau di sisi kiri */
.sidebar-heading::before {
    content: "";

    position: absolute;

    left: 7px;
    top: 10px;
    bottom: 10px;

    width: 3px;

    background: var(--green);

    border-radius: 4px;
}

/* Menu */
.app-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.app-menu a {
    display: flex;
    align-items: center;

    gap: 11px;

    min-height: 44px;

    padding: 10px 12px;

    color: #315044;

    text-decoration: none;

    border: 1px solid transparent;

    border-radius: 12px;

    margin-bottom: 0;

    white-space: normal;

    line-height: 1.35;

    transition:
        color var(--transition),
        background-color var(--transition),
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

/* =========================================================
   ITEM MENU SIDEBAR — A.3.5
   ========================================================= */

.app-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Item menu */
.app-menu a {
    position: relative;

    display: flex;
    align-items: center;

    gap: 12px;

    min-height: 46px;

    padding: 10px 13px;

    color: #315044;
    text-decoration: none;

    border: 1px solid transparent;
    border-radius: 12px;

    margin-bottom: 0;

    white-space: normal;
    line-height: 1.35;

    transition:
        color var(--transition),
        background-color var(--transition),
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

/* Ikon */
.app-menu a i {
    width: 23px;
    min-width: 23px;
    flex: 0 0 23px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 0;

    font-size: 1.08rem;

    color: #60766b;

    transition:
        color var(--transition),
        transform var(--transition);
}

/* Teks */
.app-menu a span {
    min-width: 0;

    font-size: .91rem;
    font-weight: 500;

    color: inherit;

    transition:
        color var(--transition),
        font-weight var(--transition);
}

/* Hover */
.app-menu a:hover {
    background: var(--green-soft);
    color: var(--green);

    border-color: rgba(22, 131, 75, .08);

    transform: translateX(2px);

    box-shadow:
        0 3px 10px rgba(22, 131, 75, .05);
}

.app-menu a:hover i {
    color: var(--green);
    transform: scale(1.08);
}

/* Kartu statistik dashboard */
.dashboard-stat,
.stat-card {
    height: 100%;
}

.dashboard-stat .card-body {
    padding: 18px;
}

.dashboard-stat .stat-number {
    font-size: clamp(1.5rem, 4vw, 1.9rem);
    line-height: 1.15;
    overflow-wrap: anywhere;
}

/* Nama madrasah dan tombol aksi */
.madrasah-card .school-name {
    overflow-wrap: anywhere;
}

.dashboard-actions .btn {
    flex: 1 1 auto;
    white-space: normal;
}

/* Grafik tidak melampaui kartu */
.card canvas {
    max-width: 100%;
}

/* Tabel lebar: gulir di dalam pembungkus tabel */
.table-responsive {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
/* =========================================================
   SIDEBAR ACCOUNT — A.3.6
   ========================================================= */

.sidebar-account {
    margin: 22px 4px 4px 4px;

    padding: 13px;

    background:
        linear-gradient(
            135deg,
            rgba(22, 131, 75, .055),
            rgba(244, 250, 246, .75)
        );

    border: 1px solid rgba(22, 131, 75, .09);

    border-radius: 13px;

    box-shadow:
        0 4px 12px rgba(22, 131, 75, .035);
}

/* Label */
.sidebar-account-label {
    margin-bottom: 9px;

    color: var(--text-muted);

    font-size: .63rem;
    font-weight: 700;

    letter-spacing: .12em;
    text-transform: uppercase;
}

/* Baris akun */
.sidebar-account-body {
    display: flex;
    align-items: center;

    gap: 10px;
}

/* Ikon akun */
.sidebar-account-icon {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--green);

    background: #fff;

    border: 1px solid rgba(22, 131, 75, .10);
    border-radius: 10px;

    box-shadow:
        0 2px 7px rgba(22, 131, 75, .05);
}

.sidebar-account-icon i {
    font-size: 1.05rem;
}

/* Informasi akun */
.sidebar-account-info {
    min-width: 0;
}

.sidebar-account-role {
    color: #29473a;

    font-size: .78rem;
    font-weight: 700;

    line-height: 1.2;

    overflow-wrap: anywhere;
}

/* Status */
.sidebar-account-status {
    display: flex;
    align-items: center;

    gap: 5px;

    margin-top: 4px;

    color: var(--text-muted);

    font-size: .66rem;

    line-height: 1.2;
}

.sidebar-account-status span {
    width: 6px;
    height: 6px;

    flex: 0 0 6px;

    background: var(--green);

    border-radius: 50%;

    box-shadow:
        0 0 0 3px rgba(22, 131, 75, .08);
}

/* =========================================================
   SIDEBAR ACCOUNT HOVER — A.3.8
   ========================================================= */

.sidebar-account {
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.sidebar-account:hover {
    transform: translateY(-1px);

    border-color: rgba(22, 131, 75, .16);

    box-shadow:
        0 6px 16px rgba(22, 131, 75, .07);
}

.sidebar-account:hover .sidebar-account-icon {
    border-color: rgba(22, 131, 75, .16);

    box-shadow:
        0 3px 9px rgba(22, 131, 75, .08);
}
/* =========================================================
   SIDEBAR COLLAPSED — A.3.9
   ========================================================= */

@media (min-width: 992px) {

    body.sidebar-collapsed #appSidebar {
        display: flex !important;

        width: 78px !important;
        flex: 0 0 78px !important;
        max-width: 78px !important;

        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    body.sidebar-collapsed .app-main {
        flex: 0 0 calc(100% - 78px) !important;
        width: calc(100% - 78px) !important;
        max-width: calc(100% - 78px) !important;
    }

    body.sidebar-collapsed .sidebar-heading {
        justify-content: center;
        padding: 0;
        font-size: 0;
    }

    body.sidebar-collapsed .sidebar-heading::before {
        left: 50%;
        top: 12px;
        bottom: 12px;
        width: 3px;
        transform: translateX(-50%);
    }

    body.sidebar-collapsed .app-menu a {
        justify-content: center;
        gap: 0;
        padding-left: 8px;
        padding-right: 8px;
    }

    body.sidebar-collapsed .app-menu a span {
        display: none;
    }

    body.sidebar-collapsed .app-menu a i {
        width: 24px;
        min-width: 24px;
        flex: 0 0 24px;
        font-size: 1.15rem;
    }

    body.sidebar-collapsed .sidebar-account {
        padding: 10px 6px;
    }

    body.sidebar-collapsed .sidebar-account-label,
    body.sidebar-collapsed .sidebar-account-info {
        display: none;
    }

    body.sidebar-collapsed .sidebar-account-body {
        justify-content: center;
    }

    body.sidebar-collapsed .sidebar-account-icon {
        width: 36px;
        height: 36px;
    }
}
/* =========================================================
   TOOLTIP SIDEBAR — A.3.12
   ========================================================= */

@media (min-width: 992px) {

    body.sidebar-collapsed .app-menu a {
        position: relative;
    }

    body.sidebar-collapsed .app-menu a::after {
        content: attr(data-tooltip);

        position: absolute;

        left: calc(100% + 12px);
        top: 50%;

        transform:
            translateY(-50%)
            translateX(-6px);

        padding: 8px 11px;

        min-width: max-content;
        max-width: 220px;

        color: #fff;
        background: var(--green-deep);

        font-size: .76rem;
        font-weight: 600;
        line-height: 1.25;

        white-space: nowrap;

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

        box-shadow:
            0 6px 18px rgba(13, 92, 54, .18);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition:
            opacity .18s ease,
            transform .18s ease,
            visibility .18s ease;

        z-index: 3000;
    }

    body.sidebar-collapsed .app-menu a:hover::after {
        opacity: 1;
        visibility: visible;

        transform:
            translateY(-50%)
            translateX(0);
    }

}

/* =========================================================
   SIDEBAR TRANSITION — A.3.11
   ========================================================= */

@media (min-width: 992px) {

    #appSidebar {
        overflow-x: hidden;

        transition:
            width .25s ease,
            flex-basis .25s ease,
            max-width .25s ease,
            padding-left .25s ease,
            padding-right .25s ease,
            box-shadow .25s ease;
    }

    #appSidebar .offcanvas-body {
        overflow-x: hidden;
    }

    #appSidebar .app-menu a {
        transition:
            color .2s ease,
            background-color .2s ease,
            border-color .2s ease,
            transform .2s ease,
            box-shadow .2s ease,
            padding .25s ease;
    }

    #appSidebar .app-menu a i {
        transition:
            color .2s ease,
            transform .2s ease,
            width .25s ease;
    }

    #appSidebar .sidebar-account {
        transition:
            margin .25s ease,
            padding .25s ease,
            opacity .2s ease,
            transform .2s ease,
            box-shadow .2s ease;
    }

}

/* =========================================================
   TOOLTIP OVERFLOW — A.3.12
   ========================================================= */

@media (min-width: 992px) {

    body.sidebar-collapsed #appSidebar {
        overflow: visible !important;
    }

    body.sidebar-collapsed #appSidebar .offcanvas-body {
        overflow: visible !important;
    }

}
/* =========================================
   TABLET DAN HANDPHONE
   ========================================= */
@media (max-width: 991.98px) {
    .app-navbar {
        min-height: 56px;
    }

    .app-navbar .navbar-brand {
        font-size: clamp(.9rem, 3.5vw, 1.15rem);
    }

    .navbar-user {
        font-size: .75rem;
    }

    .app-main {
        padding: 16px !important;
    }

    /* Sidebar menjadi drawer */
    .sidebar {
        --bs-offcanvas-width: min(85vw, 310px);
        min-height: 100vh;
        height: 100vh;
        border: 0;
        border-right: 1px solid #e7ece9;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .sidebar .offcanvas-header {
        border-bottom: 1px solid #e7ece9;
        padding: 16px;
    }

    .sidebar .offcanvas-body {
        padding: 16px;
    }

    .app-menu a {
        display: flex;
        width: 100%;
        padding: 13px 12px;
        margin-bottom: 6px;
    }

    /* Judul halaman tidak bertabrakan dengan tombol */
    .app-main h3 {
        font-size: 1.45rem;
    }

    .app-main h4 {
        font-size: 1.25rem;
    }

    /* Kartu dashboard lebih ringkas */
    .dashboard-stat .card-body {
        padding: 14px;
    }

    .dashboard-stat .stat-number {
        font-size: 1.65rem;
    }

    .dashboard-stat .text-muted {
        overflow-wrap: anywhere;
    }

    .madrasah-card .card-body {
        padding: 16px;
    }

    .dashboard-actions .btn {
        font-size: .8rem;
    }
}

/* Handphone kecil */
@media (max-width: 575.98px) {
    .app-navbar {
        padding: 8px;
    }

    .app-navbar .navbar-brand {
        max-width: 55vw;
        font-size: .88rem;
    }

    .navbar-user {
        font-size: .7rem;
    }

    .app-menu-toggle {
        padding: 4px 8px;
    }

    .app-main {
        padding: 12px !important;
    }

    .app-main .mb-4 {
        margin-bottom: 1rem !important;
    }

    .dashboard-stat .card-body {
        padding: 12px;
    }

    .dashboard-stat .stat-number {
        font-size: 1.45rem;
    }

    .dashboard-stat .text-muted {
        font-size: .75rem !important;
        line-height: 1.3;
    }

    .dashboard-stat i {
        font-size: 1rem !important;
    }

    .madrasah-card .school-name {
        font-size: .95rem;
    }

    .dashboard-actions {
        display: grid !important;
        grid-template-columns: 1fr;
    }

    .dashboard-actions .btn {
        width: 100%;
    }

    .stat-card {
        padding: 14px;
    }

    .stat-card .fs-2 {
        font-size: 1.5rem !important;
    }

    .table {
        font-size: .85rem;
    }

    .form-control,
    .form-select {
        font-size: 16px;
    }
}


/* FIX: MENU DRAWER HANDPHONE TERSUSUN VERTIKAL */
@media (max-width: 991.98px) {
    #appSidebar .offcanvas-body {
        display: block !important;
        width: 100%;
        padding: 16px;
    }

    #appSidebar .app-menu {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 4px;
        width: 100%;
    }

    #appSidebar .app-menu a,
    #appSidebar .offcanvas-body > a {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        width: 100% !important;
        box-sizing: border-box;
        margin: 0 0 5px 0 !important;
        padding: 13px 12px !important;
        white-space: normal !important;
        text-align: left;
    }

    #appSidebar .app-menu a i,
    #appSidebar .offcanvas-body > a i {
        flex: 0 0 24px;
        width: 24px;
        margin: 0 !important;
        text-align: center;
    }

    #appSidebar .app-menu a span {
        display: block;
        flex: 1;
    }
}
/* =========================================================
   FIX MENU NAVIGASI MOBILE
   Menu harus tersusun VERTIKAL ke bawah
   ========================================================= */

@media (max-width: 991.98px) {

    /* Drawer sidebar */
    .sidebar {
        white-space: normal !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        width: min(85vw, 310px) !important;
        max-width: min(85vw, 310px) !important;
        min-height: 100vh !important;
        height: 100vh !important;
    }

    /* Area menu */
    .sidebar .offcanvas-body {
        display: block !important;
        width: 100% !important;
        padding: 16px !important;
    }

    /* Navigasi wajib satu kolom */
    .app-menu {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        width: 100% !important;
        gap: 5px !important;
    }

    /* Setiap menu satu baris penuh */
    .app-menu a,
    .sidebar a {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;

        width: 100% !important;
        max-width: 100% !important;

        box-sizing: border-box !important;

        margin: 0 0 5px 0 !important;
        padding: 13px 12px !important;

        white-space: normal !important;
        text-decoration: none !important;
    }

    /* Ikon */
    .app-menu a i,
    .sidebar a i {
        width: 24px !important;
        min-width: 24px !important;
        flex: 0 0 24px !important;

        margin-right: 10px !important;
        text-align: center !important;
    }

    /* Teks menu */
    .app-menu a span {
        display: block !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        white-space: normal !important;
    }

    /* Judul MENU */
    .sidebar-heading {
        display: block !important;
        width: 100% !important;
        margin-bottom: 12px !important;
    }
}


/* =========================================================
   MODERN HAMBURGER BUTTON
   ========================================================= */

.app-menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: 38px !important;
    height: 38px !important;

    padding: 0 !important;

    position: relative;

    border: 1px solid rgba(255, 255, 255, .28) !important;
    border-radius: 9px !important;

    background: rgba(255, 255, 255, .10) !important;

    color: #fff !important;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, .08);

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

.app-menu-toggle::before {
    content: "";

    display: block;

    width: 20px;
    height: 14px;

    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;

    position: relative;
}

.app-menu-toggle::after {
    content: "";

    position: absolute;

    width: 20px;
    height: 2px;

    background: #fff;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border-radius: 2px;
}
.app-menu-toggle:hover {
    background: rgba(255, 255, 255, .18) !important;

    transform: translateY(-1px);

    box-shadow:
        0 6px 16px rgba(0, 0, 0, .12);
}

.app-menu-toggle:active {
    transform: scale(.94);
}

.app-menu-toggle:focus {
    box-shadow:
        0 0 0 3px rgba(255, 255, 255, .18),
        0 4px 12px rgba(0, 0, 0, .08) !important;
}

/* =========================================================
   HAMBURGER ICON
   ========================================================= */

.app-menu-toggle i {
    display: none !important;
}

/* Garis hamburger */
.app-menu-toggle::before {
    content: "";

    display: block;

    width: 20px;
    height: 14px;

    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;

    position: relative;
}

/* Garis tengah */
.app-menu-toggle::after {
    content: "";

    position: absolute;

    width: 20px;
    height: 2px;

    background: #fff;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border-radius: 2px;
}

/* Mobile tetap konsisten */
@media (max-width: 575.98px) {

    .app-menu-toggle {
        width: 38px !important;
        height: 38px !important;
        border-radius: 9px !important;
    }

}

/* =========================================================
   MODERN UI FOUNDATION - SUPERVISI MADRASAH
   ========================================================= */

:root {
    --green: #16834b;
    --green-dark: #0d5c36;
    --green-deep: #08472b;
    --green-soft: #eaf6ef;
    --green-pale: #f4faf6;

    --text-main: #17251d;
    --text-muted: #68766f;

    --border-soft: #e4ebe7;
    --surface: #ffffff;
    --page-bg: #f5f8f6;

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;

    --shadow-sm: 0 3px 12px rgba(13, 92, 54, .06);
    --shadow-md: 0 8px 25px rgba(13, 92, 54, .09);
    --shadow-lg: 0 16px 40px rgba(13, 92, 54, .12);

    --transition: .2s ease;
}


/* =========================================================
   GLOBAL
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(
            circle at top right,
            rgba(22, 131, 75, .035),
            transparent 35%
        ),
        var(--page-bg);

    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}


/* =========================================================
   LINK
   ========================================================= */

a {
    transition:
        color var(--transition),
        background-color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}


/* =========================================================
   BUTTON
   ========================================================= */

.btn {
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background-color var(--transition),
        border-color var(--transition);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-success {
    background-color: var(--green);
    border-color: var(--green);
}

.btn-success:hover,
.btn-success:focus {
    background-color: var(--green-dark);
    border-color: var(--green-dark);
    box-shadow: 0 5px 15px rgba(22, 131, 75, .20);
}


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

.card {
    background: var(--surface);
    border: 1px solid rgba(228, 235, 231, .8);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition:
        box-shadow var(--transition),
        transform var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border-soft);
}


/* =========================================================
   FORM CONTROL
   ========================================================= */

.form-control,
.form-select {
    border: 1px solid #dce5e0;
    border-radius: var(--radius-sm);
    min-height: 42px;
    color: var(--text-main);
    background-color: #fff;
    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(22, 131, 75, .55);
    box-shadow: 0 0 0 .2rem rgba(22, 131, 75, .10);
}

.form-control::placeholder {
    color: #9aa6a0;
}


/* =========================================================
   LABEL
   ========================================================= */

label {
    color: var(--text-main);
    font-weight: 600;
}


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

.table {
    color: var(--text-main);
}

.table > :not(caption) > * > * {
    border-color: var(--border-soft);
}

.table thead th {
    font-weight: 700;
    color: #30483b;
}

.table-hover > tbody > tr:hover > * {
    background-color: var(--green-pale);
}


/* =========================================================
   BADGE
   ========================================================= */

.badge {
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: .01em;
}


/* =========================================================
   ALERT
   ========================================================= */

.alert {
    border-radius: var(--radius-md);
    border: 0;
}


/* =========================================================
   TEXT MUTED
   ========================================================= */

.text-muted {
    color: var(--text-muted) !important;
}


/* =========================================================
   FOCUS ACCESSIBILITY
   ========================================================= */

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(22, 131, 75, .18);
    outline-offset: 2px;
}


/* =========================================================
   SMOOTH PAGE ELEMENTS
   ========================================================= */

.navbar,
.sidebar,
.app-main,
.card,
.stat-card,
.dashboard-stat {
    transition:
        background-color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

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

.navbar {
    min-height: 64px;
    padding: 8px 18px;
    background:
        linear-gradient(
            135deg,
            var(--green-dark),
            var(--green)
        ) !important;

    border-bottom: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 4px 18px rgba(13, 92, 54, .16) !important;
    position: relative;
    z-index: 1030;
}


/* Nama aplikasi */

.navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin: 0;
    padding: 7px 12px;

    color: #fff !important;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: .02em;

    border-radius: 10px;

    transition:
        background-color var(--transition),
        transform var(--transition);
}

.navbar .navbar-brand:hover {
    background: rgba(255, 255, 255, .08);
    transform: translateY(-1px);
}


/* Ikon identitas aplikasi */

.navbar .navbar-brand::before {
    content: "\F4DA";

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

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

    background: rgba(255, 255, 255, .12);

    font-family: "bootstrap-icons";
    font-size: 1rem;
}


/* Area pengguna */

.navbar .text-white.small {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 6px 10px;

    color: rgba(255, 255, 255, .95) !important;
    font-size: .82rem !important;

    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;

    background: rgba(255, 255, 255, .08);
}


/* Role */

.navbar .text-white.small::first-letter {
    text-transform: uppercase;
}


/* Logout */

.navbar .text-white.small a {
    display: inline-flex;
    align-items: center;

    padding: 4px 9px;

    color: #fff !important;
    text-decoration: none;

    border-radius: 7px;
    background: rgba(255, 255, 255, .10);
}

.navbar .text-white.small a:hover {
    background: rgba(255, 255, 255, .20);
}


/* Responsive header */

@media (max-width: 575.98px) {

    .navbar {
        min-height: 58px;
        padding: 7px 10px;
    }

    .navbar .navbar-brand {
        font-size: .88rem;
        padding: 5px 7px;
        gap: 7px;
    }

    .navbar .navbar-brand::before {
        width: 30px;
        height: 30px;
        font-size: .9rem;
    }

    .navbar .text-white.small {
        padding: 4px 7px;
        font-size: .7rem !important;
    }

    .navbar .text-white.small a {
        padding: 3px 6px;
    }
}
/* =========================================
   SIDEBAR TOGGLE DESKTOP
   ========================================= */

@media (min-width: 992px) {

    #appSidebar,
    .app-main {
        transition:
            width .25s ease,
            flex-basis .25s ease;
    }

}

/* =========================================================
   MENU AKTIF
   ========================================================= */

.app-menu a.is-active {
    position: relative;

    background: var(--green-soft);

    color: var(--green);

    border-color: rgba(22, 131, 75, .12);

    font-weight: 600;

    box-shadow:
        0 3px 10px rgba(22, 131, 75, .06);
}

/* Aksen hijau di sisi kiri */
.app-menu a.is-active::before {
    content: "";

    position: absolute;

    left: -1px;
    top: 8px;
    bottom: 8px;

    width: 4px;

    background: var(--green);

    border-radius: 0 6px 6px 0;
}

.app-menu a.is-active i {
    color: var(--green);

    transform: scale(1.05);
}

.app-menu a.is-active:hover {
    background: var(--green-soft);

    color: var(--green);

    transform: none;
}

/* =========================================================
   PROFIL / FOOTER SIDEBAR
   ========================================================= */

.app-menu a[href*="page=profile"] {
    position: relative;

    margin-top: 18px;
    padding: 11px 12px;

    background:
        linear-gradient(
            135deg,
            rgba(244, 250, 246, .90),
            rgba(255, 255, 255, .95)
        );

    border: 1px solid rgba(22, 131, 75, .10);

    border-radius: 12px;

    color: #315044;

    box-shadow:
        0 2px 8px rgba(13, 92, 54, .035);

    transition:
        color var(--transition),
        background-color var(--transition),
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}
.app-menu a[href*="page=profile"]::after {
    content: "";

    position: absolute;

    left: 10px;
    right: 10px;
    top: -10px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(22, 131, 75, .10),
            transparent
        );
}

@media (min-width: 992px) {

    body.sidebar-collapsed .app-menu a[href*="page=profile"]::after {
        content: attr(data-tooltip);

        position: absolute;

        left: calc(100% + 12px);
        right: auto;
        top: 50%;

        width: auto;
        height: auto;

        padding: 8px 11px;

        background: var(--green-deep);

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

        color: #fff;

        font-size: .76rem;
        font-weight: 600;
        line-height: 1.25;

        white-space: nowrap;

        box-shadow:
            0 6px 18px rgba(13, 92, 54, .18);

        opacity: 0;
        visibility: hidden;

        pointer-events: none;

        transform:
            translateY(-50%)
            translateX(-6px);

        z-index: 3000;

        transition:
            opacity .18s ease,
            transform .18s ease,
            visibility .18s ease;
    }

    body.sidebar-collapsed
    .app-menu a[href*="page=profile"]:hover::after {
        opacity: 1;
        visibility: visible;

        transform:
            translateY(-50%)
            translateX(0);
    }

}
/* =========================================================
   C.6-FIX.1 — LANDING MOBILE FINAL
   ========================================================= */

@media (max-width: 575.98px) {

    body.landing {
        width: 100%;
        min-width: 0;
        min-height: 100vh;

        font-size: 16px;

        overflow-x: hidden;
    }

    body.landing > .container {
        width: 100%;
        max-width: 100%;

        margin: 0;
        padding: 10px !important;

        box-sizing: border-box;
    }

    body.landing .landing-split {
        width: 100%;
        max-width: 100%;

        display: grid !important;
        grid-template-columns: 1fr !important;

        min-height: auto !important;

        margin: 0;

        overflow: hidden;

        border-radius: 18px;
    }

    /* PANEL KIRI */

    body.landing .landing-panel-info {
        width: 100%;
        min-width: 0;

        padding: 30px 20px !important;

        box-sizing: border-box;
    }

    body.landing .landing-info-content {
        width: 100%;
        max-width: 100%;

        margin: 0;
    }

    body.landing .landing-info-brand {
        display: flex;
        align-items: center;

        gap: 10px;

        margin-bottom: 20px;
    }

    body.landing .landing-info-logo {
        width: 42px;
        height: 42px;

        min-width: 42px;
        flex: 0 0 42px;

        border-radius: 11px;
    }

    body.landing .landing-info-brand-text {
        font-size: .68rem;
        line-height: 1.3;

        letter-spacing: .05em;
    }

    body.landing .landing-info-title {
        font-size: 1.48rem !important;
        line-height: 1.22 !important;

        letter-spacing: 0;

        overflow-wrap: normal;
    }

    body.landing .landing-info-description {
        width: 100%;
        max-width: 100%;

        margin-top: 13px;

        font-size: .79rem !important;
        line-height: 1.55 !important;
    }

    /* FEATURES */

    body.landing .landing-features {
        width: 100%;

        display: flex !important;
        flex-direction: column !important;

        gap: 10px !important;

        margin-top: 25px;
    }

    body.landing .landing-feature {
        width: 100%;

        display: flex !important;
        align-items: center !important;

        gap: 11px;

        padding: 7px 4px;

        box-sizing: border-box;
    }

    body.landing .landing-feature-icon {
        width: 40px;
        height: 40px;

        min-width: 40px;
        flex: 0 0 40px;

        border-radius: 11px;
    }

    body.landing .landing-feature-title {
        font-size: .82rem !important;
        line-height: 1.25;
    }

    body.landing .landing-feature-description {
        font-size: .65rem !important;
        line-height: 1.35;
    }

    /* PANEL KANAN */

    body.landing .landing-panel-action {
        width: 100%;
        min-width: 0;

        padding: 32px 20px 28px !important;

        box-sizing: border-box;
    }

    body.landing .landing-action-content {
        width: 100%;
        max-width: 100%;

        margin: 0;
    }

    body.landing .landing-action-icon {
        width: 58px;
        height: 58px;

        margin-bottom: 14px;

        border-radius: 16px;
    }

    body.landing .landing-action-eyebrow {
        font-size: .52rem !important;

        line-height: 1.35;

        letter-spacing: .07em;
    }

    body.landing .landing-action-title {
        font-size: 1.48rem !important;
        line-height: 1.18 !important;
    }

    body.landing .landing-action-tagline {
        width: 100%;
        max-width: 300px;

        margin: 8px auto 0;

        font-size: .73rem !important;
        line-height: 1.45;
    }

    /* TOMBOL */

    body.landing .landing-action-buttons {
        width: 100%;

        display: flex;
        flex-direction: column;

        gap: 9px;

        margin-top: 23px;
    }

    body.landing .landing-action-btn {
        width: 100%;

        min-height: 46px;

        box-sizing: border-box;

        font-size: .82rem !important;
    }

    /* DEVELOPER */

    body.landing .landing-developer {
        width: 100%;

        margin-top: 24px;
    }

    body.landing .landing-developer-office {
        width: 100%;
        max-width: 280px;

        margin-left: auto;
        margin-right: auto;

        font-size: .59rem !important;

        line-height: 1.4;
    }

}
/* =========================================================
   C.6-FIX.2 — LOGIN MOBILE FINAL
   ========================================================= */

@media (max-width: 575.98px) {

    body.auth-bg {
        width: 100%;
        min-width: 0;
        min-height: 100vh;

        padding: 14px !important;

        box-sizing: border-box;

        overflow-x: hidden;
    }

    body.auth-bg .auth-card {
        width: 100%;
        max-width: 440px;

        margin: 0 auto;

        padding: 28px 20px !important;

        box-sizing: border-box;

        border-radius: 20px;
    }

    /* BRAND */

    body.auth-bg .login-brand {
        width: 100%;

        margin-bottom: 23px;
    }

    body.auth-bg .login-brand-icon {
        width: 58px;
        height: 58px;

        margin-bottom: 13px;

        border-radius: 16px;
    }

    body.auth-bg .login-brand-title {
        font-size: 1.08rem !important;
        line-height: 1.2;
    }

    body.auth-bg .login-brand-tagline {
        max-width: 280px;

        margin-top: 6px;

        font-size: .70rem !important;
        line-height: 1.4;
    }

    /* FIELD */

    body.auth-bg .login-field {
        width: 100%;

        margin-bottom: 18px !important;
    }

    body.auth-bg .login-field .form-label {
        display: block;

        margin-bottom: 7px;

        font-size: .80rem !important;
        line-height: 1.3;
    }

    body.auth-bg .login-input-wrap {
        position: relative !important;

        display: flex !important;
        align-items: center !important;

        width: 100%;

        min-height: 48px;
    }

    /* ICON KIRI */

    body.auth-bg .login-input-icon {
        position: absolute !important;

        left: 13px !important;
        top: 50% !important;

        width: 20px !important;
        height: 20px !important;

        margin: 0 !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        transform: translateY(-50%) !important;

        z-index: 5;

        pointer-events: none;
    }

    body.auth-bg .login-input-icon i {
        font-size: .90rem !important;
    }

    /* INPUT */

    body.auth-bg .login-input {
        width: 100% !important;

        min-height: 48px !important;

        margin: 0 !important;

        padding-top: 10px !important;
        padding-bottom: 10px !important;
        padding-left: 42px !important;
        padding-right: 13px !important;

        box-sizing: border-box !important;

        font-size: 16px !important;

        border-radius: 10px !important;
    }

    body.auth-bg select.login-input {
        padding-left: 42px !important;
    }

    /* PASSWORD */

    body.auth-bg .login-password-input {
        padding-right: 48px !important;
    }

    body.auth-bg .login-password-toggle {
        position: absolute !important;

        top: 50% !important;
        right: 8px !important;

        width: 34px !important;
        height: 34px !important;

        margin: 0 !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        padding: 0 !important;

        transform: translateY(-50%) !important;

        z-index: 6;
    }

    body.auth-bg .login-password-toggle i {
        font-size: .95rem !important;
    }

    /* LOGIN BUTTON */

    body.auth-bg .login-submit {
        width: 100% !important;

        min-height: 48px !important;

        margin-top: 3px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        font-size: .86rem !important;
    }
}

/* =========================================================
   HEADER MOBILE — SATU BARIS
   ========================================================= */
@media (max-width: 991.98px) {

    .app-navbar .container-fluid {
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .app-navbar .container-fluid > .d-flex {
        min-width: 0 !important;
        flex: 1 1 auto !important;
        gap: 6px !important;
    }

    .app-navbar .navbar-brand {
        min-width: 0 !important;
        max-width: none !important;
        padding: 5px 4px !important;
        font-size: .88rem !important;
        line-height: 1.05 !important;
        white-space: normal !important;
    }

    .navbar-user {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 5px !important;
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }

    .navbar-user-role {
        font-size: .76rem !important;
        font-weight: 600 !important;
    }

    .navbar-user-separator {
        font-size: .8rem !important;
    }

    .navbar-user-logout {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 40px !important;
        min-width: 40px !important;
        height: 40px !important;
        min-height: 40px !important;

        padding: 0 !important;

        font-size: 1.3rem !important;
        line-height: 1 !important;

        border-radius: 9px !important;
        flex: 0 0 40px !important;
    }

    .navbar-user-logout i {
        display: inline-block !important;
        font-size: 1.3rem !important;
        line-height: 1 !important;
    }
}
/* =========================================================
   HEADER — HANDPHONE SANGAT KECIL
   ========================================================= */
@media (max-width: 400px) {

    .app-navbar .navbar-brand {
        max-width: 105px !important;
        padding: 4px 2px !important;
        font-size: .78rem !important;
        line-height: 1.05 !important;
        letter-spacing: .01em !important;
    }

    .app-navbar .navbar-brand::before {
        width: 28px !important;
        height: 28px !important;
        font-size: .85rem !important;
        border-radius: 8px !important;
    }

    .navbar-user-role {
        font-size: .72rem !important;
    }

    .navbar-user-separator {
        font-size: .75rem !important;
    }

    .navbar-user-logout {
        width: 38px !important;
        min-width: 38px !important;
        height: 38px !important;
        min-height: 38px !important;
        flex-basis: 38px !important;
        font-size: 1.2rem !important;
    }

    .navbar-user-logout i {
        font-size: 1.2rem !important;
    }
}
/* =========================================================
   FIX HEADER MOBILE — IDENTITAS USER TETAP SEJAJAR
   ========================================================= */
@media (max-width: 575.98px) {

    .app-navbar > .container-fluid {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        width: 100%;
    }

    .app-navbar > .container-fluid > .d-flex {
        flex: 1 1 auto;
        min-width: 0;
    }

    .app-navbar .navbar-user {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        white-space: nowrap;
        margin-left: 6px;
    }
}