/* UpSkillio clean navbar & typography nnmmojnhuijmok,mjn
   Public folder target: public_html/assets/css/pandai-site.css */


:root {
    --pdv-primary: var(--pd-primary, #ff8a34);
    --pdv-secondary: var(--pd-secondary, #ff7a1a);
    --pdv-accent: var(--pd-accent, #10b981);
    --pdv-ink: #0f172a;
    --pdv-muted: #64748b;
    --pdv-soft: #f8fafc;
    --pdv-border: rgba(15, 23, 42, .08);
    --pdv-shadow: 0 22px 50px rgba(15, 23, 42, .10);
    --pdv-font: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--pdv-font) !important;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    background: #ffffff;
    color: var(--pdv-ink);
}

button,
input,
select,
textarea {
    font-family: inherit;
}

.pdv-navbar,
.pdv-navbar *,
.pdv-mobile-menu,
.pdv-mobile-menu * {
    box-sizing: border-box;
}

.pdv-navbar {
    position: sticky;
    top: 0;
    z-index: 80;
    width: 100%;
    background:
        linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.88));
    border-bottom: 1px solid rgba(15, 23, 42, .06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: box-shadow .22s ease, background .22s ease, border-color .22s ease;
}

.pdv-navbar.is-scrolled {
    background: rgba(255,255,255,.96);
    border-bottom-color: rgba(15, 23, 42, .10);
    box-shadow: 0 14px 35px rgba(15, 23, 42, .08);
}

.pdv-nav-shell {
    width: min(1120px, calc(100% - 42px));
    margin: 0 auto;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.pdv-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
}

.pdv-brand img {
    width: auto;
    height: 44px;
    object-fit: contain;
    display: block;
}

.pdv-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1 1 auto;
}

.pdv-nav-link {
    position: relative;
    min-height: 44px;
    padding: 0 15px;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    color: #152238;
    text-decoration: none;
    font-size: 14px;
    font-weight: 780;
    line-height: 1;
    letter-spacing: -.01em;
    cursor: pointer;
    transition: color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.pdv-nav-link:hover {
    color: var(--pdv-primary);
    background: rgba(255, 138, 52, .09);
    text-decoration: none;
}

.pdv-nav-link.is-active {
    color: var(--pdv-primary);
    background: rgba(255, 138, 52, .13);
    box-shadow: inset 0 0 0 1px rgba(255, 138, 52, .16);
}

.pdv-nav-link.is-active::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 7px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.pdv-icon,
.pdv-chevron {
    width: 16px;
    height: 16px;
    display: block;
    flex: none;
}

.pdv-dropdown {
    position: relative;
}

.pdv-dropdown-toggle[aria-expanded="true"] .pdv-chevron,
.pdv-dropdown.is-open .pdv-chevron {
    transform: rotate(180deg);
}

.pdv-dropdown-menu {
    position: absolute;
    left: 50%;
    top: calc(100% + 14px);
    width: 340px;
    padding: 12px;
    border-radius: 26px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 26px 70px rgba(15, 23, 42, .15);
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.pdv-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
}

.pdv-dropdown:hover .pdv-dropdown-menu,
.pdv-dropdown.is-open .pdv-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.pdv-dropdown-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 10px 12px;
    margin-bottom: 4px;
    border-bottom: 1px solid #eef2f7;
}

.pdv-dropdown-heading strong {
    display: block;
    color: #0f172a;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.25;
}

.pdv-dropdown-heading small {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 12px;
    font-weight: 620;
}

.pdv-dropdown-icon {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--pdv-primary);
    background: rgba(255, 138, 52, .12);
    flex: none;
}

.pdv-program-icon {
    width: 21px;
    height: 21px;
}

.pdv-dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 13px 12px;
    border-radius: 18px;
    color: #172033;
    text-decoration: none;
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.pdv-dropdown-item:hover,
.pdv-dropdown-item.is-active {
    background: #fff7ed;
    text-decoration: none;
    transform: translateX(2px);
}

.pdv-dot {
    width: 9px;
    height: 9px;
    margin-top: 6px;
    border-radius: 50%;
    background: var(--pdv-primary);
    box-shadow: 0 0 0 5px rgba(255, 138, 52, .14);
    flex: none;
}

.pdv-dropdown-item strong {
    display: block;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.3;
}

.pdv-dropdown-item small {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
    font-weight: 620;
    line-height: 1.45;
}

.pdv-nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 0 0 auto;
}

.pdv-auth {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pdv-login,
.pdv-register {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.pdv-login {
    color: #172033;
}

.pdv-login:hover {
    color: var(--pdv-primary);
    text-decoration: none;
}

.pdv-register {
    color: #fff;
    background: var(--pdv-primary);
    box-shadow: 0 12px 26px rgba(255, 138, 52, .24);
}

.pdv-register:hover {
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}

.pdv-account {
    position: relative;
}

.pdv-account-toggle {
    border: 1px solid rgba(15, 23, 42, .08);
    background: #fff;
    min-height: 48px;
    padding: 4px 12px 4px 4px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #172033;
    cursor: pointer;
    font-weight: 850;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.pdv-account-toggle:hover,
.pdv-account.is-open .pdv-account-toggle {
    border-color: rgba(255, 138, 52, .28);
    box-shadow: 0 16px 38px rgba(15, 23, 42, .12);
}

.pdv-account.is-open .pdv-chevron {
    transform: rotate(180deg);
}

.pdv-avatar {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    flex: none;
}

.pdv-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pdv-account-name {
    max-width: 116px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    line-height: 1;
}

.pdv-account-menu {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: 230px;
    padding: 8px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 26px 70px rgba(15, 23, 42, .15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.pdv-account-menu::before {
    content: "";
    position: absolute;
    top: -14px;
    right: 0;
    width: 100%;
    height: 14px;
}

.pdv-account.is-open .pdv-account-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.pdv-account-item {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0 13px;
    border: 0;
    border-radius: 15px;
    background: transparent;
    color: #172033;
    text-decoration: none;
    text-align: left;
    font-size: 13px;
    font-weight: 760;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
}

.pdv-account-item:hover {
    background: #fff7ed;
    color: var(--pdv-primary);
    text-decoration: none;
}

.pdv-account-item.pdv-danger {
    color: #dc2626;
}

.pdv-account-item.pdv-danger:hover {
    background: #fef2f2;
    color: #b91c1c;
}

.pdv-account-separator {
    height: 1px;
    background: #eef2f7;
    margin: 6px;
}

.pdv-mobile-open,
.pdv-mobile-close {
    width: 44px;
    height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    color: #172033;
    background: #fff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .08);
    cursor: pointer;
}

.pdv-menu-icon {
    width: 22px;
    height: 22px;
    display: block;
}

.pdv-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 100;
    visibility: hidden;
    pointer-events: none;
}

.pdv-mobile-menu.is-open {
    visibility: visible;
    pointer-events: auto;
}

.pdv-mobile-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .48);
    opacity: 0;
    transition: opacity .2s ease;
}

.pdv-mobile-menu.is-open .pdv-mobile-backdrop {
    opacity: 1;
}

.pdv-mobile-drawer {
    position: absolute;
    right: 0;
    top: 0;
    width: min(390px, 88vw);
    height: 100%;
    padding: 18px;
    background: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: -22px 0 55px rgba(15, 23, 42, .18);
    transform: translateX(100%);
    transition: transform .24s ease;
}

.pdv-mobile-menu.is-open .pdv-mobile-drawer {
    transform: translateX(0);
}

.pdv-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef2f7;
}

.pdv-mobile-head img {
    height: 42px;
    width: auto;
    display: block;
}

.pdv-mobile-close {
    display: inline-flex;
    background: #f8fafc;
    box-shadow: none;
}

.pdv-mobile-links {
    display: grid;
    gap: 8px;
    padding: 18px 0;
}

.pdv-mobile-link {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 16px;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 11px;
    background: #fff;
    color: #172033;
    text-decoration: none;
    font-size: 14px;
    font-weight: 850;
    cursor: pointer;
}

.pdv-mobile-link:hover,
.pdv-mobile-link.is-active {
    color: var(--pdv-primary);
    background: #fff7ed;
    text-decoration: none;
}

.pdv-mobile-submenu {
    display: none;
    gap: 8px;
    padding-left: 8px;
}

.pdv-mobile-submenu.is-open {
    display: grid;
}

.pdv-mobile-subitem {
    display: block;
    padding: 13px 14px;
    border-radius: 16px;
    background: #f8fafc;
    color: #172033;
    text-decoration: none;
    border: 1px solid #eef2f7;
}

.pdv-mobile-subitem.is-active,
.pdv-mobile-subitem:hover {
    background: #fff7ed;
    border-color: #fed7aa;
    text-decoration: none;
}

.pdv-mobile-subitem strong {
    display: block;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.25;
}

.pdv-mobile-subitem small {
    display: block;
    color: #64748b;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 620;
    line-height: 1.45;
}

.pdv-mobile-bottom {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #eef2f7;
}

.pdv-mobile-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 18px;
    background: #f8fafc;
    color: #172033;
    text-decoration: none;
    margin-bottom: 10px;
}

.pdv-mobile-profile strong {
    display: block;
    font-size: 13px;
    font-weight: 850;
}

.pdv-mobile-profile small {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 620;
    margin-top: 2px;
}

.pdv-mobile-logout {
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 15px;
    background: #fef2f2;
    color: #dc2626;
    font-weight: 850;
    cursor: pointer;
}

.pdv-mobile-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pdv-mobile-auth a {
    min-height: 46px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 850;
}

.pdv-mobile-auth a:first-child {
    background: #f8fafc;
    color: #172033;
}

.pdv-mobile-auth a:last-child {
    background: var(--pdv-primary);
    color: #fff;
}

@media (max-width: 1080px) {
    .pdv-nav-shell {
        width: min(100% - 30px, 1120px);
        min-height: 74px;
    }

    .pdv-nav-menu,
    .pdv-account,
    .pdv-auth {
        display: none;
    }

    .pdv-mobile-open {
        display: inline-flex;
    }

    .pdv-brand img {
        height: 41px;
    }
}

@media (max-width: 520px) {
    .pdv-nav-shell {
        width: min(100% - 22px, 1120px);
        min-height: 68px;
    }

    .pdv-brand img {
        height: 38px;
    }
}


/* Inline safety layer: tetap jalan walau file public/public_html tidak terbaca */
body {
    font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.pdv-navbar ul,
.pdv-navbar li,
.pdv-mobile-menu ul,
.pdv-mobile-menu li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.pdv-navbar a,
.pdv-mobile-menu a {
    text-decoration: none !important;
}
.pdv-navbar img,
.pdv-mobile-menu img {
    max-width: none !important;
}
