/* =====================================================================
   WINFALAK — Modern UI layer
   Dimuat PALING AKHIR di Default.master, sehingga menimpa gaya lama
   tanpa mengubah halaman-halaman .aspx satu per satu.
   ===================================================================== */

/* ---------- Font (self-contained via jsDelivr, versi dikunci) ---------- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
    src: url('https://cdn.jsdelivr.net/npm/@fontsource/inter@5.1.0/files/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
    src: url('https://cdn.jsdelivr.net/npm/@fontsource/inter@5.1.0/files/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
    src: url('https://cdn.jsdelivr.net/npm/@fontsource/inter@5.1.0/files/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
    src: url('https://cdn.jsdelivr.net/npm/@fontsource/inter@5.1.0/files/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap;
    src: url('https://cdn.jsdelivr.net/npm/@fontsource/plus-jakarta-sans@5.1.0/files/plus-jakarta-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap;
    src: url('https://cdn.jsdelivr.net/npm/@fontsource/plus-jakarta-sans@5.1.0/files/plus-jakarta-sans-latin-800-normal.woff2') format('woff2'); }

/* Banyak halaman memakai style inline font-family:'Lucida Sans'.
   Nama itu dipetakan ulang ke Inter supaya seluruh situs ikut lebih jelas
   tanpa perlu mengedit setiap halaman. */
@font-face { font-family: 'Lucida Sans'; font-style: normal; font-weight: 400; font-display: swap;
    src: url('https://cdn.jsdelivr.net/npm/@fontsource/inter@5.1.0/files/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Lucida Sans'; font-style: normal; font-weight: 700; font-display: swap;
    src: url('https://cdn.jsdelivr.net/npm/@fontsource/inter@5.1.0/files/inter-latin-700-normal.woff2') format('woff2'); }

/* ---------- Token warna ---------- */
:root {
    --wf-font: 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --wf-font-head: 'Plus Jakarta Sans', 'Inter', 'Segoe UI', Arial, sans-serif;

    --wf-night: #070b1a;
    --wf-night-2: #0e1530;
    --wf-glass: rgba(14, 21, 48, 0.72);
    --wf-glass-border: rgba(255, 255, 255, 0.10);

    --wf-surface: #ffffff;
    --wf-surface-2: #f4f7f6;
    --wf-text: #1e2a32;
    --wf-text-soft: #4a5866;
    --wf-border: #dde4e9;

    --wf-primary: #13795b;
    --wf-primary-dark: #0d5c45;
    --wf-primary-soft: #e6f4ee;
    --wf-gold: #e8b84a;
    --wf-gold-soft: #fff6dd;
    --wf-navy: #1d2747;

    --wf-radius: 16px;
    --wf-radius-sm: 10px;
    --wf-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* ---------- Dasar ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body,
body.wf {
    margin: 0;
    font-family: var(--wf-font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--wf-text);
    background-color: var(--wf-night);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

td, th, input, select, textarea, button, label {
    font-family: var(--wf-font);
    font-size: 14px;
    color: var(--wf-text);
}

p { line-height: 1.7; animation-duration: .5s; -webkit-animation-duration: .5s; }

h1, h2, h3, h4 {
    font-family: var(--wf-font-head);
    color: var(--wf-navy);
    line-height: 1.3;
}
h1 { font-size: 22px; margin: 8px 0 14px; }

a, a:visited { color: var(--wf-primary); text-decoration: none; }
a:hover, a:focus { color: var(--wf-primary-dark); text-decoration: underline; opacity: 1; }

::selection { background: var(--wf-gold); color: #1a1a1a; }

/* ---------- Latar langit malam ---------- */
.full-screen-background-image {
    min-width: 0 !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
.wf-bg-shade {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 50% -10%, rgba(40, 70, 160, 0.35), transparent 60%),
        linear-gradient(180deg, rgba(7, 11, 26, 0.35) 0%, rgba(7, 11, 26, 0.75) 100%);
}

.MainFrame { margin: 0 !important; padding: 0 !important; min-height: 100vh; }

/* ---------- Header ---------- */
.wf-header {
    position: relative;
    z-index: 950;
    padding: 18px 16px 6px;
}
.wf-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.wf-brand {
    display: inline-flex;
    align-items: flex-end;
    gap: 8px;
    text-decoration: none !important;
}
.wf-brand img { height: 44px; width: auto; display: block; filter: drop-shadow(0 2px 10px rgba(232, 184, 74, 0.25)); }
.wf-brand .wf-version {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .4px;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid var(--wf-glass-border);
    padding: 1px 8px;
    border-radius: 999px;
    margin-bottom: 4px;
}
.wf-tagline {
    text-align: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13.5px;
    margin: 4px 16px 0;
    letter-spacing: .2px;
}

/* tombol menu (hamburger) — hanya tampil di layar kecil */
.wf-burger,
#sidebar-expand-btn.wf-burger {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 14px !important;
    border-radius: 10px !important;
    border: 1px solid var(--wf-glass-border) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    font: 600 14px var(--wf-font);
    cursor: pointer;
    box-shadow: none !important;
    line-height: 1.2;
}
.wf-burger:hover { background: rgba(255, 255, 255, 0.16) !important; color: var(--wf-gold) !important; }
.wf-burger .fa { font-size: 16px; }

/* Running text */
.marquee { max-width: 1200px; margin: 0 auto; padding: 0 16px; color: var(--wf-gold); font-weight: 500; text-align: center; }
.marquee:empty, .marquee span:empty { display: none; }

/* ---------- Menu utama (desktop) ---------- */
.MainMenu.wf-mainmenu {
    position: sticky;
    top: 0;
    z-index: 900;
    padding: 10px 16px;
    margin-bottom: 18px;
}
.wf-mainmenu-inner {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--wf-glass);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid var(--wf-glass-border);
    border-radius: 14px;
    padding: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.ddsmoothmenu { font: 600 14px var(--wf-font); width: 100%; }
.ddsmoothmenu > ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
}
.ddsmoothmenu ul li { float: none; margin: 0; }
.ddsmoothmenu > ul > li { display: block; }

.ddsmoothmenu ul li a,
.ddsmoothmenu ul li a:link,
.ddsmoothmenu ul li a:visited {
    font: 600 14px/1.2 var(--wf-font);
    color: rgba(255, 255, 255, 0.92);
    background: transparent;
    padding: 10px 14px;
    border-radius: 10px;
    box-shadow: none;
    white-space: nowrap;
    text-decoration: none;
}
.ddsmoothmenu > ul > li > a { padding-right: 26px; }
.ddsmoothmenu > ul > li > a::after {
    content: "";
    position: absolute;
    right: 11px;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -5px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    opacity: .6;
}
.ddsmoothmenu ul li a:hover,
.ddsmoothmenu ul li a.selected,
.ddsmoothmenu > ul > li.wf-active > a {
    background: rgba(255, 255, 255, 0.10);
    color: var(--wf-gold);
    text-decoration: none;
    opacity: 1;
}
.ddsmoothmenu > ul > li.wf-active > a { box-shadow: inset 0 -2px 0 var(--wf-gold); }

.downarrowclass, .rightarrowclass, .ddshadow, .toplevelshadow { display: none !important; }

/* submenu */
.ddsmoothmenu ul li ul {
    min-width: 270px;
    padding: 6px;
    margin-top: 6px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.ddsmoothmenu ul li ul li a,
.ddsmoothmenu ul li ul li a:link,
.ddsmoothmenu ul li ul li a:visited {
    font: 500 14px/1.35 var(--wf-font);
    width: auto;
    white-space: normal;
    padding: 10px 12px;
    margin: 0;
    background: transparent;
    color: var(--wf-text);
    border-radius: 8px;
    box-shadow: none;
}
.ddsmoothmenu ul li ul li a:hover,
.ddsmoothmenu ul li ul li a.wf-active {
    background: var(--wf-primary-soft);
    color: var(--wf-primary-dark);
}

/* ---------- Sidebar (menu mobile) ---------- */
.sidebar {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: -310px !important;
    width: 300px !important;
    max-width: 86vw;
    padding-bottom: 0 !important;
    background: var(--wf-night-2) !important;
    border-right: 1px solid var(--wf-glass-border);
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.5);
    z-index: 1100 !important;
    transition: left .25s ease;
}
.sidebar-open .sidebar { left: 0 !important; }
.sidebar .sidebar-container { position: absolute; top: 0; bottom: 0 !important; left: 0; width: 100%; overflow-y: auto; }
.sidebar .sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 12px;
    border-bottom: 1px solid var(--wf-glass-border);
    position: sticky;
    top: 0;
    background: var(--wf-night-2);
    z-index: 2;
}
.sidebar .brand { display: flex; align-items: center; gap: 10px; color: #fff; font: 800 18px var(--wf-font-head); letter-spacing: .5px; padding: 0 !important; height: auto !important; line-height: 1.2 !important; }
.sidebar .brand img { height: 30px; width: auto; }
.sidebar #sidebar-collapse-btn {
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid var(--wf-glass-border) !important;
    color: #fff !important;
    border-radius: 10px !important;
    width: 38px;
    height: 38px;
    padding: 0 !important;
    cursor: pointer;
    box-shadow: none !important;
}
.sidebar #sidebar-collapse-btn:hover { color: var(--wf-gold) !important; }

.wf-snav { list-style: none; margin: 0; padding: 8px 10px 40px; }
.wf-snav li { list-style: none; }
.wf-snav-head {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 12px;
    margin: 2px 0;
    background: transparent !important;
    border: 0 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font: 600 15px var(--wf-font) !important;
    text-align: left;
    cursor: pointer;
}
.wf-snav-head:hover, .wf-snav > li.open > .wf-snav-head { background: rgba(255, 255, 255, 0.07) !important; color: #fff !important; }
.wf-snav > li.wf-active > .wf-snav-head { color: var(--wf-gold) !important; }
.wf-snav-head .fa-chevron-down { font-size: 12px; opacity: .6; transition: transform .2s; }
.wf-snav > li.open > .wf-snav-head .fa-chevron-down { transform: rotate(180deg); }
.wf-snav-sub { list-style: none; margin: 0 0 6px; padding: 0 0 0 12px; display: none; border-left: 1px solid var(--wf-glass-border); margin-left: 14px; }
.wf-snav > li.open > .wf-snav-sub { display: block; }
.wf-snav-sub a, .wf-snav-sub a:visited {
    display: block;
    padding: 9px 12px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14.5px;
    line-height: 1.35;
    text-decoration: none;
}
.wf-snav-sub a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; text-decoration: none; }
.wf-snav-sub a.wf-active { color: var(--wf-gold); background: rgba(232, 184, 74, 0.10); }
.wf-snav-sub a.wf-snav-all { color: rgba(255, 255, 255, 0.55); font-size: 13px; }

.sidebar-overlay {
    display: block !important;
    position: fixed !important;
    inset: 0;
    left: 0 !important;
    background: rgba(3, 6, 15, 0.6) !important;
    opacity: 0;
    pointer-events: none;
    z-index: 1050 !important;
    transition: opacity .25s ease;
}
.sidebar-open .sidebar-overlay { opacity: 1; pointer-events: auto; }

/* ---------- Kartu konten ---------- */
.ContentFrame { padding: 0 16px; }
.TableContain {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--wf-surface);
    border-radius: var(--wf-radius);
    box-shadow: var(--wf-shadow);
    border-collapse: separate;
}
.tdContain { padding: 22px 24px; vertical-align: top; }

/* scrollbar halus untuk area yang bisa digeser */
.tdContain::-webkit-scrollbar, .ajax__tab_body::-webkit-scrollbar { height: 6px; width: 6px; }
.tdContain::-webkit-scrollbar-thumb, .ajax__tab_body::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.18); border-radius: 6px; }
.tdContain::-webkit-scrollbar-track, .ajax__tab_body::-webkit-scrollbar-track { background: transparent; }

/* ---------- Judul bagian ---------- */
.title {
    background: linear-gradient(135deg, var(--wf-primary) 0%, var(--wf-primary-dark) 100%);
    color: #fff;
    border: 0;
    box-shadow: 0 6px 16px rgba(19, 121, 91, 0.25);
    padding: 12px 16px;
    font: 700 17px/1.35 var(--wf-font-head);
    letter-spacing: .2px;
    text-align: center;
}
.title2 {
    background: linear-gradient(135deg, #24315a 0%, var(--wf-navy) 100%);
    color: #fff;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(29, 39, 71, 0.25);
    padding: 10px 16px;
    font: 700 16px/1.35 var(--wf-font-head);
    letter-spacing: .2px;
}
.title3 {
    background: var(--wf-primary-soft);
    color: var(--wf-primary-dark);
    border: 0;
    border-left: 4px solid var(--wf-primary);
    border-radius: 10px;
    padding: 8px 12px;
    font: 700 14.5px/1.35 var(--wf-font-head);
}
.title *, .title2 *, .title3 * { color: inherit; font-family: inherit; }

.TitleLink, .TitleLink span { font-family: var(--wf-font-head) !important; color: var(--wf-primary-dark) !important; line-height: 1.35; }
.TitleLink:hover { opacity: 1; color: var(--wf-primary) !important; }

/* ---------- Form ---------- */
input[type="text"], input[type="password"], input[type="email"], input[type="number"],
input[type="search"], input[type="date"], input[type="time"], input:not([type]), select, textarea {
    font-family: var(--wf-font);
    font-size: 14px;
    color: var(--wf-text);
    background-color: #fff;
    border: 1px solid #c9d3da;
    border-radius: 8px;
    padding: 5px 6px;
    min-height: 34px;
    transition: border-color .15s, box-shadow .15s;
}
select { padding: 5px 8px; }
textarea { font-size: 14px; line-height: 1.5; min-height: 0; }
input:focus, select:focus, textarea:focus {
    outline: none;
    background-color: #fff;
    border-color: var(--wf-primary);
    box-shadow: 0 0 0 3px rgba(19, 121, 91, 0.18);
}
input[type="checkbox"], input[type="radio"] { accent-color: var(--wf-primary); width: 16px; height: 16px; vertical-align: middle; min-height: 0; }
label { padding-left: 4px; }

input[type="submit"], input[type="button"], input[type="reset"],
button:not(.collapse-btn):not(.wf-snav-head):not([class*="fb"]) {
    cursor: pointer;
    font: 600 14px/1.2 var(--wf-font);
    color: #fff;
    background: var(--wf-primary);
    border: 1px solid var(--wf-primary-dark);
    border-radius: 10px;
    padding: 8px 16px;
    box-shadow: 0 2px 6px rgba(19, 121, 91, 0.25);
    transition: background-color .15s, transform .05s, box-shadow .15s;
}
input[type="submit"]:hover, input[type="button"]:hover, input[type="reset"]:hover,
button:not(.collapse-btn):not(.wf-snav-head):not([class*="fb"]):hover {
    background: var(--wf-primary-dark);
    border-color: var(--wf-primary-dark);
    color: #fff;
    opacity: 1;
}
input[type="submit"]:active, input[type="button"]:active { transform: translateY(1px); }
input[type="button"]:focus, input[type="submit"]:focus { color: #fff; box-shadow: 0 0 0 3px rgba(19, 121, 91, 0.3); }
input[type="submit"]:disabled, input[type="button"]:disabled { opacity: .55; cursor: not-allowed; }

input[type="image"] { transition: transform .15s, opacity .15s; }
input[type="image"]:hover { opacity: .85; transform: translateY(-1px); }

/* ---------- Ikon menu cepat di beranda ---------- */
.ImageHome {
    width: 46px !important;
    height: 46px !important;
    padding: 5px;
    background: #fff;
    border: 1px solid var(--wf-border) !important;
    border-radius: 12px;
    opacity: 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform .15s, box-shadow .15s, border-color .15s;
}
.ImageHome:hover {
    border-color: var(--wf-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(19, 121, 91, 0.22);
}

/* ---------- Tabel data ---------- */
.datagridheader, .datagridheader td, .datagridheader th {
    background: var(--wf-primary-soft) !important;
    border: 1px solid #b9dccb !important;
    color: var(--wf-primary-dark) !important;
    font-weight: 600;
}
.datagridheader a { color: var(--wf-primary-dark) !important; }
tr.datagridheader ~ tr:hover { background: #f0f8f4 !important; }

.buttonDiv {
    background: var(--wf-surface-2);
    border: 1px solid var(--wf-border);
    border-radius: 12px;
    padding: 10px 12px;
}
.fotoframe, .imageShadow { border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); border: 0; }

/* Tab AjaxControlToolkit -> gaya pill */
.ajax__tab_xp .ajax__tab_header { background: none !important; padding: 0 0 6px; white-space: normal; font-size: 0; }
.ajax__tab_xp .ajax__tab_header .ajax__tab_outer,
.ajax__tab_xp .ajax__tab_header .ajax__tab_inner,
.ajax__tab_xp .ajax__tab_header .ajax__tab_tab { background: none !important; height: auto !important; padding: 0 !important; margin: 0 !important; }
.ajax__tab_xp .ajax__tab_header > span { display: inline-block; margin: 0 6px 6px 0; }
.ajax__tab_xp .ajax__tab_header .ajax__tab_tab {
    display: inline-block;
    padding: 8px 14px !important;
    border-radius: 999px;
    background: var(--wf-surface-2) !important;
    border: 1px solid var(--wf-border);
    color: var(--wf-text-soft) !important;
    font: 600 13.5px var(--wf-font) !important;
    cursor: pointer;
}
.ajax__tab_xp .ajax__tab_header .ajax__tab_hover .ajax__tab_tab { border-color: var(--wf-primary); color: var(--wf-primary-dark) !important; }
.ajax__tab_xp .ajax__tab_header .ajax__tab_active .ajax__tab_tab {
    background: var(--wf-primary) !important;
    border-color: var(--wf-primary);
    color: #fff !important;
}
.ajax__tab_xp .ajax__tab_body {
    border: 1px solid var(--wf-border) !important;
    border-radius: 12px;
    padding: 14px !important;
    font-family: var(--wf-font) !important;
    font-size: 14px !important;
    background: #fff;
}

/* jQuery UI datepicker & dialog */
.ui-widget { font-family: var(--wf-font) !important; font-size: 14px !important; }
.ui-datepicker { border-radius: 12px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25); padding: 6px; }

/* ---------- Bar user login ---------- */
.wf-userbar {
    position: fixed;
    z-index: 1000;
    right: 12px;
    bottom: 12px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--wf-border);
    border-radius: 12px;
    padding: 6px 8px 6px 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    font-weight: 600;
}
.wf-userbar table td { padding: 0 2px; }
.wf-userbar input[type="button"] { padding: 6px 12px; font-size: 13px; }

/* ---------- Footer ---------- */
.wf-footer {
    max-width: 1200px;
    margin: 36px auto 0;
    padding: 24px 16px 56px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13.5px;
}
.wf-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 8px; margin-bottom: 16px; }
.wf-footer-links a, .wf-footer-links a:visited {
    color: rgba(255, 255, 255, 0.88) !important;
    padding: 6px 14px;
    border: 1px solid var(--wf-glass-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
    font-weight: 500;
}
.wf-footer-links a:hover { color: var(--wf-gold) !important; border-color: rgba(232, 184, 74, 0.5); text-decoration: none; }
.wf-counter { margin-bottom: 8px; color: rgba(255, 255, 255, 0.7); }
.wf-counter strong { color: var(--wf-gold); font-weight: 700; font-size: 15px; padding: 0 2px; }
.wf-copy { color: rgba(255, 255, 255, 0.5); font-size: 12.5px; }

/* tombol kembali ke atas */
.cd-top {
    border-radius: 50%;
    background-color: var(--wf-primary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
@media only screen and (min-width: 1024px) {
    .cd-top { width: 48px; height: 48px; }
}

/* ---------- Responsif ---------- */
@media (max-width: 991px) {
    .wf-header {
        position: sticky;
        top: 0;
        padding: 10px 12px;
        background: var(--wf-glass);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--wf-glass-border);
    }
    .wf-header-inner { justify-content: space-between; }
    .wf-burger, #sidebar-expand-btn.wf-burger { display: inline-flex; }
    .wf-brand img { height: 34px; }
    .wf-header-spacer { width: 84px; }
    .wf-tagline { display: none; }
    .MainMenu.wf-mainmenu { display: none; }
    .ContentFrame { padding: 0 10px; margin-top: 14px; }
}

@media (max-width: 767px) {
    body, body.wf { font-size: 15px; }

    /* kartu konten jadi blok penuh, isi yang lebar bisa digeser */
    .TableContain, .TableContain > tbody, .TableContain > tbody > tr { display: block; width: 100% !important; }
    .TableContain { border-radius: 14px; }
    .tdContain {
        display: block;
        width: 100% !important;
        padding: 14px 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .tdContain img { max-width: 100%; height: auto; }
    .ajax__tab_xp .ajax__tab_body { height: auto !important; overflow-x: auto; padding: 10px !important; }
    .tdContain img.ImageHome { max-width: none; width: 40px !important; height: 40px !important; padding: 4px; border-radius: 10px; }
    .news .col-xs-2 { padding-left: 2px; padding-right: 2px; text-align: center; margin-bottom: 6px; }

    .title { font-size: 16px; padding: 10px 12px; }
    .title2 { font-size: 15px; padding: 9px 12px; }

    input[type="submit"], input[type="button"] { padding: 10px 16px; }

    /* beranda: kolom kanan sudah dipindah ke atas oleh script halaman */
    .news { width: 100% !important; }
    .news > tbody > tr > td { padding-left: 4px !important; padding-right: 4px !important; }

    .wf-footer { margin-top: 24px; padding-bottom: 72px; }
    .wf-userbar { left: 10px; right: 10px; bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

#divFilter
{
    padding: 20px;
}

/* menu utama tanpa submenu (mis. Produk & Jasa Kami) */
.ddsmoothmenu > ul > li.wf-nosub > a { padding-right: 14px; }
.ddsmoothmenu > ul > li.wf-nosub > a::after { display: none; }
.ddsmoothmenu > ul > li.wf-nosub > a .fa { margin-left: 6px; font-size: 11px; opacity: .7; }
a.wf-snav-head, a.wf-snav-head:hover, a.wf-snav-head:visited { text-decoration: none !important; }
a.wf-snav-head .fa-external-link { font-size: 12px; opacity: .6; }

/* ---- Logo WinFalak (2026-11-30): logo berlatar terang ditaruh di "chip" putih agar kontras di header gelap ---- */
.wf-brand .wf-logo-chip { display: inline-flex; align-items: center; background: #fff; border-radius: 14px; padding: 4px 12px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); }
.wf-brand img.wf-logo { height: 54px; width: auto; filter: none; }
.sidebar .brand img.wf-logo { height: 36px; width: auto; background: #fff; border-radius: 10px; padding: 3px 8px; }
@media (max-width: 767px) {
    .wf-brand .wf-logo-chip { padding: 3px 8px; border-radius: 10px; }
    .wf-brand img.wf-logo { height: 38px; }
}
