:root {
    --biru-tua: #0b3d91;
    --biru-utama: #1565c0;
    --biru-muda: #4fc3f7;
    --biru-pucat: #e3f2fd;
    --aksen: #ffb300; /* orange aksen tipis */
    --sukses: #2e7d32;
}

body {
    background-color: #f4f8fc;
    font-family: 'Segoe UI', Roboto, -apple-system, sans-serif;
}

/* ---------- SIDEBAR ---------- */
.sidebar {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--biru-tua) 0%, var(--biru-utama) 55%, var(--biru-muda) 100%);
    color: #fff;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 250px;
    z-index: 1030;
    transition: transform 0.25s ease;
    overflow-y: auto;
}

.sidebar .brand {
    padding: 1.1rem 1rem;
    font-weight: 700;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    gap: .5rem;
}

.sidebar .nav-link {
    color: rgba(255,255,255,0.85);
    padding: .65rem 1.1rem;
    border-radius: 6px;
    margin: 2px 10px;
    font-size: .92rem;
}

.sidebar .nav-link.active,
.sidebar .nav-link:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
}

.sidebar .nav-link i { width: 20px; text-align: center; margin-right: 6px; }

.main-content {
    margin-left: 250px;
    padding: 1.5rem;
    min-height: 100vh;
}

.topbar {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(21,101,192,0.08);
    padding: .75rem 1rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-toggle-btn {
    display: none;
    border: none;
    background: var(--biru-utama);
    color: #fff;
    border-radius: 6px;
    padding: .4rem .7rem;
}

/* ---------- CARDS / WIDGETS ---------- */
.stat-card {
    border: none;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--biru-utama), var(--biru-muda));
    box-shadow: 0 4px 14px rgba(21,101,192,0.25);
}

.stat-card.orange { background: linear-gradient(135deg, #ef6c00, var(--aksen)); box-shadow: 0 4px 14px rgba(239,108,0,0.25); }
.stat-card.green  { background: linear-gradient(135deg, #1b5e20, #66bb6a); box-shadow: 0 4px 14px rgba(27,94,32,0.25); }

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(21,101,192,0.08);
}

.card-header {
    background: var(--biru-pucat);
    border-bottom: 1px solid rgba(21,101,192,0.1);
    border-radius: 12px 12px 0 0 !important;
    font-weight: 600;
    color: var(--biru-tua);
}

.btn-primary {
    background: var(--biru-utama);
    border-color: var(--biru-utama);
}
.btn-primary:hover { background: var(--biru-tua); border-color: var(--biru-tua); }

.btn-outline-primary { color: var(--biru-utama); border-color: var(--biru-utama); }

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--biru-tua), var(--biru-utama) 50%, var(--biru-muda));
    padding: 1rem;
}

.auth-card {
    max-width: 460px;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.auth-card .card-header {
    background: linear-gradient(135deg, var(--biru-tua), var(--biru-utama));
    color: #fff;
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 0;
}

/* ---------- MOBILE RESPONSIVE ---------- */
@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.show { transform: translateX(0); }
    .main-content { margin-left: 0; padding: 1rem; }
    .sidebar-toggle-btn { display: inline-block; }
    .sidebar-overlay {
        display: none;
        position: fixed; inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 1020;
    }
    .sidebar-overlay.show { display: block; }
}

.table-responsive { border-radius: 10px; overflow: hidden; }
.badge { font-weight: 500; }

/* ---------- STEPPER PROGRESS (dashboard mahasiswa) ---------- */
.progress-hero {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    padding: 1.5rem 1.5rem 1.25rem;
    flex-wrap: wrap;
}
.progress-ring {
    --pct: 0;
    width: 132px; height: 132px;
    border-radius: 50%;
    flex-shrink: 0;
    background: conic-gradient(var(--biru-utama) calc(var(--pct) * 1%), #eef2f7 0);
    display: flex; align-items: center; justify-content: center;
    position: relative;
    transition: background 0.6s ease;
}
.progress-ring.pr-complete {
    background: conic-gradient(#ffb300 calc(var(--pct) * 1%), #eef2f7 0);
}
.progress-ring::before {
    content: "";
    position: absolute; inset: 11px;
    background: #fff;
    border-radius: 50%;
    box-shadow: inset 0 2px 6px rgba(11,61,145,0.08);
}
.progress-ring-inner {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; align-items: center;
}
.progress-ring-value { font-weight: 800; font-size: 1.7rem; color: var(--biru-tua); line-height: 1; }
.progress-ring-value .pct-sign { font-size: 1rem; font-weight: 700; }
.progress-ring-caption { font-size: .68rem; color: #8a94a3; font-weight: 600; margin-top: 2px; }
.progress-ring.pr-complete .progress-ring-value { color: #c98a00; }
.progress-ring.pr-complete::after {
    content: "\f6b0";
    font-family: "bootstrap-icons";
    position: relative; z-index: 3;
}

.progress-hero-info { flex: 1 1 320px; min-width: 220px; }
.progress-hero-info .ph-title { font-weight: 800; font-size: 1.05rem; color: var(--biru-tua); margin-bottom: 2px; }
.progress-hero-info .ph-sub { font-size: .82rem; color: #6c757d; margin-bottom: .9rem; }

.progress-chip-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: .5rem;
    width: 100%;
}
.progress-chip {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .4rem .6rem;
    border-radius: 20px;
    font-size: .76rem;
    font-weight: 600;
    white-space: nowrap;
    background: #f4f6fb;
    color: #6c757d;
    border: 1px solid #eef0f5;
}
.progress-chip i { font-size: .82rem; }
.progress-chip.chip-done { background: rgba(46,125,50,0.1); color: #2e7d32; border-color: rgba(46,125,50,0.18); }
.progress-chip.chip-active { background: rgba(255,179,0,0.12); color: #c98a00; border-color: rgba(255,179,0,0.22); }
.progress-chip.chip-warning { background: rgba(198,40,40,0.1); color: #c62828; border-color: rgba(198,40,40,0.18); }
.progress-chip.chip-blocked { background: rgba(106,27,154,0.1); color: #6a1b9a; border-color: rgba(106,27,154,0.18); }
.progress-chip.chip-pending { background: #f4f6fb; color: #adb5bd; }
.progress-chip .chip-pct { font-weight: 800; opacity: .85; }

@media (max-width: 767.98px) {
    .progress-chip-grid { flex-wrap: wrap; }
    .progress-chip { flex: 1 1 calc(50% - .5rem); }
}

.stepper-card-header {
    background: linear-gradient(135deg, var(--biru-tua), var(--biru-utama) 70%, var(--biru-muda));
    color: #fff;
    border-radius: 12px 12px 0 0;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.05rem;
}

.stepper-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1.75rem 1rem 0.5rem;
}

.stepper-track {
    display: flex;
    align-items: flex-start;
    min-width: max-content;
}

.stepper-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 128px;
    flex-shrink: 0;
    text-align: center;
}

.stepper-circle {
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; flex-shrink: 0; position: relative; z-index: 2;
}
.stepper-circle.st-done {
    background: linear-gradient(135deg, var(--biru-tua), var(--biru-utama)); color: #fff;
    box-shadow: 0 3px 10px rgba(11,61,145,0.35);
}
.stepper-circle.st-active {
    background: linear-gradient(135deg, #c98a00, var(--aksen)); color: #fff;
    box-shadow: 0 0 0 6px rgba(255,179,0,0.18);
    animation: sijudul-pulse-amber 2.2s infinite;
}
.stepper-circle.st-warning {
    background: linear-gradient(135deg, #b71c1c, #e53935); color: #fff;
    box-shadow: 0 3px 10px rgba(183,28,28,0.3);
}
.stepper-circle.st-blocked {
    background: linear-gradient(135deg, #4a148c, #8e24aa); color: #fff;
    box-shadow: 0 3px 10px rgba(74,20,140,0.3);
}
.stepper-circle.st-pending {
    background: #fff; color: #c3cbd6; border: 2px solid #e3e8f0;
}
@keyframes sijudul-pulse-amber {
    0%   { box-shadow: 0 0 0 0 rgba(255,179,0,.4); }
    70%  { box-shadow: 0 0 0 10px rgba(255,179,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,179,0,0); }
}

.stepper-connector {
    flex: 1;
    height: 3px;
    background: #e3e8f0;
    margin-top: 27px;
    min-width: 24px;
    border-radius: 2px;
}
.stepper-connector.st-done { background: linear-gradient(90deg, var(--biru-tua), var(--biru-utama)); }

.stepper-label { font-weight: 700; color: var(--biru-tua); font-size: .88rem; margin-top: .6rem; }
.stepper-node.st-pending .stepper-label { color: #adb5bd; }
.stepper-status { font-size: .76rem; margin-top: .2rem; display: flex; align-items: center; gap: 4px; justify-content: center; }
.stepper-status.st-done { color: #2e7d32; font-weight: 600; }
.stepper-status.st-active { color: #c98a00; font-weight: 600; }
.stepper-status.st-warning { color: #c62828; font-weight: 600; }
.stepper-status.st-blocked { color: #6a1b9a; font-weight: 600; }
.stepper-status.st-pending { color: #adb5bd; }
.stepper-date { font-size: .72rem; color: #8a94a3; margin-top: 1px; }
.stepper-desc {
    font-size: .74rem; color: #6c757d; margin-top: 3px; line-height: 1.25;
    max-width: 128px;
}

.stepper-progress-wrap { padding: 0 1.25rem 1.25rem; }
.stepper-progress-bar {
    height: 34px; border-radius: 17px; background: #eef2f7;
    overflow: hidden; position: relative;
}
.stepper-progress-fill {
    height: 100%; border-radius: 17px;
    background: linear-gradient(90deg, var(--biru-tua), var(--biru-utama), var(--biru-muda));
    transition: width .5s ease;
}
.stepper-progress-label {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .82rem; color: var(--biru-tua);
    text-shadow: 0 1px 2px rgba(255,255,255,.6);
}

@media (max-width: 575.98px) {
    .stepper-circle { width: 44px; height: 44px; font-size: 1.1rem; }
    .stepper-node { width: 96px; }
    .stepper-connector { margin-top: 21px; }
    .stepper-label { font-size: .78rem; }
    .stepper-desc { max-width: 96px; }
}

/* ---------- REKAP ACCORDION (rekap global per prodi) ---------- */
.rekap-accordion .accordion-item {
    border: none; border-radius: 12px; overflow: hidden; margin-bottom: .9rem;
    box-shadow: 0 2px 10px rgba(21,101,192,0.08);
}
.rekap-accordion .accordion-button {
    background: var(--biru-pucat); color: var(--biru-tua); font-weight: 700;
    font-size: .98rem;
}
.rekap-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--biru-tua), var(--biru-utama));
    color: #fff; box-shadow: none;
}
.rekap-accordion .accordion-button:focus { box-shadow: none; }
.rekap-accordion .accordion-button::after { filter: none; }
.rekap-accordion .accordion-button:not(.collapsed)::after { filter: invert(1) brightness(2); }
.rekap-prodi-count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 26px; height: 26px; padding: 0 8px; border-radius: 13px;
    background: rgba(21,101,192,0.12); color: var(--biru-tua);
    font-size: .78rem; font-weight: 700; margin-left: .6rem;
}
.rekap-accordion .accordion-button:not(.collapsed) .rekap-prodi-count {
    background: rgba(255,255,255,0.22); color: #fff;
}
.rekap-progress-mini {
    width: 90px; height: 6px; border-radius: 3px; background: rgba(21,101,192,0.12);
    margin-left: .75rem; overflow: hidden; display: inline-block; vertical-align: middle;
}
.rekap-progress-mini-fill { height: 100%; background: linear-gradient(90deg, var(--biru-tua), var(--biru-muda)); }
.rekap-accordion .accordion-button:not(.collapsed) .rekap-progress-mini { background: rgba(255,255,255,0.25); }
.rekap-accordion .accordion-button:not(.collapsed) .rekap-progress-mini-fill { background: #fff; }

.rekap-search-wrap { position: relative; margin-bottom: .75rem; }
.rekap-search-wrap i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #9aa5b1; }
.rekap-search-wrap input { padding-left: 34px; border-radius: 8px; }

.rank-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%; font-weight: 700; font-size: .82rem; color: #fff;
    background: #adb5bd;
}
.rank-badge.rank-1 { background: linear-gradient(135deg, #ffd54f, #ff9800); }
.rank-badge.rank-2 { background: linear-gradient(135deg, #cfd8dc, #90a4ae); }
.rank-badge.rank-3 { background: linear-gradient(135deg, #d7a06a, #a1682f); }

.rekap-empty-row { text-align: center; color: #adb5bd; padding: 1.5rem 0; }

/* ======================================================================
   AUTH SPLIT PANEL (login.php) - dark navy brand panel + white form panel
   ====================================================================== */
.auth-split-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef1f8;
    padding: 24px;
}
.auth-split-card {
    width: 100%;
    max-width: 980px;
    min-height: 560px;
    display: flex;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(11, 61, 145, 0.18);
}
.auth-panel-brand {
    flex: 1 1 46%;
    position: relative;
    background: linear-gradient(160deg, var(--biru-tua) 0%, var(--biru-utama) 65%, #0d3f92 100%);
    color: #fff;
    padding: 45px 42px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.auth-panel-brand::after {
    content: "";
    position: absolute;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    left: -110px; bottom: -110px;
}
.auth-panel-brand::before {
    content: "";
    position: absolute;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    right: -60px; top: -60px;
}
.auth-brand-row {
    display: flex;
    align-items: center;
    gap: .7rem;
    position: relative;
    z-index: 2;
}
.auth-brand-logo {
    width: 42px; height: 42px;
    background: #fff;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--biru-tua);
    font-size: 1.25rem;
    flex-shrink: 0;
}
.auth-brand-row .brand-name { font-weight: 800; font-size: 1.05rem; line-height: 1.2; }
.auth-brand-row .brand-sub { font-size: .72rem; opacity: .8; }

.auth-panel-brand .auth-welcome-tag {
    margin-top: auto;
    position: relative; z-index: 2;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--aksen);
    text-transform: uppercase;
}
.auth-panel-brand h1 {
    position: relative; z-index: 2;
    font-weight: 800;
    font-size: 1.9rem;
    line-height: 1.25;
    margin: .5rem 0 .9rem;
}
.auth-panel-brand p {
    position: relative; z-index: 2;
    font-size: .88rem;
    opacity: .88;
    line-height: 1.65;
    max-width: 340px;
}
.auth-panel-brand .auth-copyright {
    position: relative; z-index: 2;
    font-size: .74rem;
    opacity: .7;
    margin-top: 2.5rem;
}

.auth-panel-form {
    flex: 1 1 54%;
    padding: 55px 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.auth-panel-form h2 { font-weight: 800; font-size: 1.7rem; margin-bottom: .3rem; color: #1a2332; }
.auth-panel-form .auth-form-sub { color: #8a94a3; font-size: .87rem; margin-bottom: 1.6rem; }
.auth-panel-form label { font-weight: 600; font-size: .84rem; color: #3a4453; margin-bottom: .3rem; }
.auth-panel-form .form-control {
    background: #f4f6fb;
    border: 1px solid #eef0f5;
    border-radius: 10px;
    padding: .68rem .9rem;
}
.auth-panel-form .form-control:focus {
    background: #fff;
    border-color: var(--biru-utama);
    box-shadow: 0 0 0 3px rgba(21,101,192,0.14);
}
.auth-password-wrap { position: relative; }
.auth-password-wrap .form-control { padding-right: 2.6rem; }
.auth-toggle-eye {
    position: absolute;
    right: .9rem; top: 50%;
    transform: translateY(-50%);
    background: none; border: none;
    color: #9aa5b1; cursor: pointer; padding: 0;
}
.auth-toggle-eye:hover { color: var(--biru-utama); }

.auth-row-between {
    display: flex; align-items: center; justify-content: space-between;
    margin: .2rem 0 1.4rem;
    font-size: .84rem;
}
.auth-row-between a { color: var(--biru-utama); text-decoration: none; font-weight: 600; }
.auth-row-between a:hover { text-decoration: underline; }

.btn-auth-submit {
    background: linear-gradient(135deg, var(--biru-tua), var(--biru-utama));
    border: none;
    border-radius: 10px;
    padding: .78rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: .02em;
    transition: .2s;
}
.btn-auth-submit:hover {
    background: linear-gradient(135deg, #082a68, var(--biru-tua));
    color: #fff;
    box-shadow: 0 8px 18px rgba(11,61,145,0.28);
}
.auth-switch-link { text-align: center; font-size: .87rem; color: #6c757d; margin-top: 1.6rem; }
.auth-switch-link a { color: var(--biru-utama); font-weight: 700; text-decoration: none; }
.auth-switch-link a:hover { text-decoration: underline; }

@media (max-width: 860px) {
    .auth-split-card { flex-direction: column; max-width: 480px; }
    .auth-panel-brand { padding: 34px 30px; }
    .auth-panel-brand p { max-width: none; }
    .auth-panel-brand .auth-copyright { margin-top: 1.5rem; }
    .auth-panel-form { padding: 34px 30px; }
}

/* ======================================================================
   MODERN GRADIENT STAT CARDS (dashboard v2 - dipakai superadmin dkk)
   ====================================================================== */
.dash-welcome-title { font-weight: 800; font-size: 1.25rem; color: var(--biru-tua); margin-bottom: .15rem; }
.dash-welcome-sub { color: #8a94a3; font-size: .84rem; margin-bottom: 1.4rem; }

.stat-card-v2 {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 16px;
    padding: 1.2rem 1.3rem;
    color: #fff;
    min-height: 112px;
    box-shadow: 0 10px 22px rgba(11, 61, 145, 0.16);
}
.stat-card-v2 .sc-icon {
    position: absolute;
    right: 1rem; top: 1rem;
    font-size: 1.9rem;
    opacity: .3;
}
.stat-card-v2 .sc-label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    opacity: .88;
    display: flex; align-items: center; gap: 6px;
}
.stat-card-v2 .sc-value { font-size: 1.9rem; font-weight: 800; line-height: 1.2; margin: .2rem 0 .25rem; }
.stat-card-v2 .sc-sub { font-size: .76rem; opacity: .92; display: flex; align-items: center; gap: 5px; }

.sc-navy   { background: linear-gradient(135deg, #0b2f6e 0%, #17509e 100%); }
.sc-blue   { background: linear-gradient(135deg, #1565c0 0%, #4fa8ea 100%); }
.sc-green  { background: linear-gradient(135deg, #146c2e 0%, #43a047 100%); }
.sc-indigo { background: linear-gradient(135deg, #2b2f8f 0%, #5c6bc0 100%); }
.sc-teal   { background: linear-gradient(135deg, #00695c 0%, #26a69a 100%); }
.sc-purple { background: linear-gradient(135deg, #4527a0 0%, #7e57c2 100%); }
.sc-cyan   { background: linear-gradient(135deg, #006064 0%, #26c6da 100%); }
.sc-amber  { background: linear-gradient(135deg, #c98a00 0%, #ffb300 100%); }
.sc-red    { background: linear-gradient(135deg, #b71c1c 0%, #e53935 100%); }
.sc-slate  { background: linear-gradient(135deg, #37474f 0%, #607d8b 100%); }

.dash-role-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--biru-pucat); color: var(--biru-tua);
    font-weight: 700; font-size: .78rem;
    padding: .35rem .8rem; border-radius: 20px;
    margin-bottom: 1rem;
}

.prodi-card-v2 {
    border: none;
    border-radius: 16px;
    padding: 1.25rem 1.35rem;
    color: #fff;
    box-shadow: 0 10px 22px rgba(11, 61, 145, 0.14);
}
.prodi-card-v2 .pc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.prodi-card-v2 .pc-icon {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(255,255,255,0.18);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem;
}
.prodi-card-v2 .pc-name { font-weight: 700; font-size: .88rem; }
.prodi-card-v2 .pc-value { font-size: 1.85rem; font-weight: 800; margin: .1rem 0 .35rem; }
.prodi-card-v2 .pc-foot { font-size: .76rem; opacity: .92; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.prodi-card-v2 .pc-foot span { display: inline-flex; align-items: center; gap: 4px; }

.info-panel-v2 {
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--biru-pucat) 0%, #eef4fb 100%);
    border-left: 4px solid var(--biru-utama);
    padding: 1.1rem 1.3rem;
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    color: #274063;
}
.info-panel-v2 i { font-size: 1.3rem; color: var(--biru-utama); margin-top: .1rem; }
.info-panel-v2 strong { color: var(--biru-tua); }

/* ======================================================================
   JUDUL - STORY CELEBRATION CARD (dashboard mahasiswa/judul.php)
   ====================================================================== */
.judul-story-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    padding: 2.3rem 2.1rem;
    background: linear-gradient(150deg, var(--biru-tua) 0%, var(--biru-utama) 55%, #0d3f92 100%);
    color: #fff;
    box-shadow: 0 22px 50px rgba(11, 61, 145, 0.3);
    margin-bottom: 1.5rem;
}
.judul-story-card::before {
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.16) 1.6px, transparent 1.6px);
    background-size: 26px 26px;
    opacity: .5;
}
.judul-story-card::after {
    content: "";
    position: absolute;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    right: -80px; top: -100px;
}
.judul-story-glow {
    position: absolute;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: rgba(255,179,0,0.15);
    left: -70px; bottom: -90px;
}
.judul-story-inner { position: relative; z-index: 2; }
.judul-story-ribbon {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: rgba(255,255,255,0.18);
    padding: .45rem 1rem;
    border-radius: 22px;
    font-weight: 800;
    font-size: .74rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}
.judul-story-ribbon i { color: #ffd54f; }
.judul-story-prodi { font-size: .78rem; opacity: .82; margin-bottom: .3rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; }
.judul-story-title {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: .9rem;
    max-width: 640px;
}
.judul-story-desc {
    font-size: .88rem;
    opacity: .88;
    line-height: 1.7;
    max-width: 620px;
    margin-bottom: 1.6rem;
}
.judul-story-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1.1rem;
}
.judul-story-student { display: flex; align-items: center; gap: .8rem; }
.judul-story-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.15rem;
    flex-shrink: 0;
}
.judul-story-student .st-name { font-weight: 700; font-size: .92rem; }
.judul-story-student .st-sub { font-size: .74rem; opacity: .8; }
.judul-story-date-badge {
    font-size: .74rem;
    font-weight: 700;
    background: rgba(255,255,255,0.16);
    padding: .4rem .85rem;
    border-radius: 14px;
    display: inline-flex; align-items: center; gap: 6px;
}
.judul-story-actions { margin-top: 1.25rem; display: flex; gap: .6rem; flex-wrap: wrap; position: relative; z-index: 2; }
.btn-story-download {
    background: #fff;
    color: var(--biru-tua);
    border: none;
    border-radius: 10px;
    padding: .55rem 1.1rem;
    font-weight: 700;
    font-size: .84rem;
    display: inline-flex; align-items: center; gap: 6px;
    transition: .2s;
}
.btn-story-download:hover { background: #ffd54f; color: #5c3d00; }
.btn-story-outline {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 10px;
    padding: .55rem 1.1rem;
    font-weight: 700;
    font-size: .84rem;
    display: inline-flex; align-items: center; gap: 6px;
    transition: .2s;
}
.btn-story-outline:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* ---------- FORM PENGAJUAN JUDUL (2 kolom) ---------- */
.judul-form-card { border: none; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 22px rgba(11,61,145,0.1); }
.judul-form-card .jf-header {
    background: linear-gradient(135deg, var(--biru-tua), var(--biru-utama));
    color: #fff; padding: 1.1rem 1.4rem;
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
}
.judul-form-card .jf-header .jf-badge {
    background: rgba(255,255,255,0.18); padding: .3rem .8rem; border-radius: 14px; font-size: .76rem; font-weight: 700;
}
.judul-pilihan-block { border: 1px solid #eef0f5; border-radius: 12px; padding: 1.2rem 1.3rem; height: 100%; }
.judul-pilihan-block .jp-num {
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--biru-pucat); color: var(--biru-tua);
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: .88rem; margin-right: .5rem;
}
.judul-pilihan-block .jp-title { font-weight: 700; color: var(--biru-tua); display: flex; align-items: center; margin-bottom: 1rem; }

/* ---------- RIWAYAT PENGAJUAN (list card, ganti tabel polos) ---------- */
.riwayat-judul-item {
    border: 1px solid #eef0f5;
    border-radius: 14px;
    padding: 1.1rem 1.3rem;
    margin-bottom: .9rem;
    transition: .15s;
}
.riwayat-judul-item:hover { box-shadow: 0 6px 18px rgba(11,61,145,0.08); border-color: #dde5f5; }
.riwayat-judul-item .rj-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; margin-bottom: .6rem; }
.riwayat-judul-item .rj-attempt { font-size: .74rem; font-weight: 700; color: #8a94a3; text-transform: uppercase; letter-spacing: .04em; }
.riwayat-judul-item .rj-opt { font-size: .86rem; margin-bottom: .3rem; display: flex; gap: .5rem; }
.riwayat-judul-item .rj-opt .rj-tag {
    flex-shrink: 0; font-size: .68rem; font-weight: 800; color: var(--biru-utama);
    background: var(--biru-pucat); border-radius: 6px; padding: .1rem .4rem; height: fit-content;
}
.riwayat-judul-item .rj-note { font-size: .78rem; color: #c62828; margin-top: .5rem; background: rgba(198,40,40,0.06); padding: .5rem .7rem; border-radius: 8px; }

/* ---------- PEMBIMBING PROFILE CARD ---------- */
.dosen-profile-card {
    display: flex; align-items: center; gap: 1.3rem;
    background: linear-gradient(135deg, var(--biru-tua), var(--biru-utama));
    color: #fff; border-radius: 18px; padding: 1.6rem 1.8rem;
    box-shadow: 0 14px 30px rgba(11,61,145,0.22);
    flex-wrap: wrap;
}
.dosen-profile-avatar {
    width: 76px; height: 76px; border-radius: 50%;
    background: rgba(255,255,255,0.18);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; flex-shrink: 0;
}
.dosen-profile-card h5 { font-weight: 800; margin-bottom: .2rem; }
.dosen-profile-card .dp-meta { font-size: .84rem; opacity: .9; display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .4rem; }
.dosen-profile-card .dp-meta span { display: inline-flex; align-items: center; gap: 5px; }

.empty-state-v2 {
    text-align: center;
    padding: 2.5rem 1.5rem;
    color: #6c757d;
}
.empty-state-v2 .es-icon {
    width: 78px; height: 78px; border-radius: 50%;
    background: var(--biru-pucat); color: var(--biru-utama);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin: 0 auto 1.1rem;
}
.empty-state-v2 h6 { color: var(--biru-tua); font-weight: 700; margin-bottom: .4rem; }
.empty-state-v2 p { font-size: .86rem; max-width: 420px; margin: 0 auto; }

.mini-req-steps { display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap; margin-top: 1.4rem; }
.mini-req-step {
    display: flex; align-items: center; gap: .4rem;
    font-size: .76rem; font-weight: 600;
    padding: .4rem .8rem; border-radius: 20px;
    background: #f4f6fb; color: #adb5bd;
}
.mini-req-step.mrs-done { background: rgba(46,125,50,0.1); color: #2e7d32; }
.mini-req-step.mrs-active { background: rgba(255,179,0,0.12); color: #c98a00; }

/* ---------- ACTION / STATUS DETAIL CARD (dipakai sempro, exhibisi, sidang) ---------- */
.action-card { border: none; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 22px rgba(11,61,145,0.1); margin-bottom: 1.25rem; }
.action-card .ac-header {
    background: linear-gradient(135deg, var(--biru-tua), var(--biru-utama));
    color: #fff; padding: 1.1rem 1.4rem; font-weight: 700;
    display: flex; align-items: center; gap: .5rem;
}
.action-card .ac-body { padding: 1.6rem; }

.status-detail-card { border: none; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 22px rgba(11,61,145,0.08); margin-bottom: 1.25rem; }
.status-detail-card .sdc-header {
    background: linear-gradient(135deg, var(--biru-tua), var(--biru-utama));
    color: #fff; padding: 1.1rem 1.4rem; font-weight: 700;
    display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap;
}
.sd-row { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 1.4rem; border-bottom: 1px solid #f1f3f8; }
.sd-row:last-child { border-bottom: none; }
.sd-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--biru-pucat); color: var(--biru-utama);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem; flex-shrink: 0;
}
.sd-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #8a94a3; margin-bottom: .2rem; }
.sd-value { font-size: .92rem; color: #2b3648; font-weight: 600; }
.sd-value.muted { color: #adb5bd; font-weight: 500; }

/* ---------- BEBAN DOSEN (dashboard Ka Prodi) ---------- */
.beban-bar-track {
    width: 100%; max-width: 220px; height: 12px; border-radius: 6px;
    background: #eef2f7; overflow: hidden; display: inline-block; vertical-align: middle;
}
.beban-bar-fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--biru-tua), var(--biru-muda)); transition: width .4s ease; }
.beban-bar-fill.flag-tersedia { background: linear-gradient(90deg, #1b5e20, #66bb6a); }
.beban-bar-fill.flag-sedang { background: linear-gradient(90deg, #01579b, #4fc3f7); }
.beban-bar-fill.flag-cukup { background: linear-gradient(90deg, #e65100, #ffb300); }
.beban-bar-fill.flag-padat { background: linear-gradient(90deg, #b71c1c, #ef5350); }
.flag-badge-tersedia { color: #2e7d32; font-weight: 600; }
.flag-badge-sedang { color: #01579b; font-weight: 600; }
.flag-badge-cukup { color: #e65100; font-weight: 600; }
.flag-badge-padat { color: #b71c1c; font-weight: 600; }