*{box-sizing:border-box} :root{--navy:#142b4a;--blue:#2864dc;--blue2:#4b83f2;--ink:#1d2a3b;--muted:#7e8a9b;--line:#e9edf3;--bg:#f5f7fb;--green:#15966b;--red:#d94b55}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:14px}h1,h2,h3,b,strong{font-family:'Plus Jakarta Sans','DM Sans',sans-serif}a{text-decoration:none;color:inherit}.app-shell{min-height:100vh}.sidebar{width:250px;background:#142b4a;color:#d9e4f3;position:fixed;inset:0 auto 0 0;padding:27px 18px 18px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:11px;color:white;font:800 19px 'Plus Jakarta Sans';letter-spacing:-.7px;margin:0 8px 44px}.brand-mark{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#69a2ff,#3670e5);display:grid;place-items:center;color:white;font:800 20px 'Plus Jakarta Sans';box-shadow:0 7px 18px #0a1b3670}.brand-light{color:#8fb6ff}.brand small{display:block;font:500 9px 'DM Sans';letter-spacing:1.5px;color:#92a8c7;margin-top:2px}.side-label{font-size:9px;letter-spacing:1.7px;font-weight:700;color:#8196b4;padding:0 12px;margin:8px 0 12px}.side-nav{display:flex;flex-direction:column;gap:5px}.side-nav a{padding:12px 13px;border-radius:9px;color:#b7c6db;display:flex;gap:13px;align-items:center;font-weight:600;font-size:13px;transition:.2s}.side-nav a span{font-size:17px;width:18px;text-align:center}.side-nav a:hover,.side-nav a.active{background:#29466d;color:white}.side-nav a.active{box-shadow:inset 3px 0 #69a2ff}.sidebar-bottom{margin-top:auto}.help-card{border:1px solid #3a5274;background:#1b385d;border-radius:12px;padding:15px;margin:10px 2px 20px}.help-icon{color:#8eb7ff;font-size:20px;margin-bottom:9px}.help-card b{font-size:12px;color:white}.help-card p{font-size:11px;color:#9eb0ca;line-height:1.6;margin:6px 0 0}.side-foot{font-size:10px;color:#8094b1;text-align:center}.main-area{margin-left:250px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;position:sticky;top:0;z-index:10}.crumb{font-size:12px;color:#9aa5b4}.crumb span{margin:0 9px;color:#c2cad4}.crumb b{color:#34445a}.top-user{display:flex;align-items:center;gap:10px}.top-user b{font-size:12px;display:block}.top-user small{font-size:10px;color:var(--muted)}.avatar{width:35px;height:35px;border-radius:50%;background:#e8efff;color:#2864dc;display:grid;place-items:center;font-weight:800}.logout-link{margin-left:14px;color:#8492a4;font-size:18px}.menu-toggle{display:none}.content{padding:32px 38px 25px;flex:1;max-width:1600px;width:100%;margin:0 auto}.main-footer{padding:18px 38px;color:#9aa5b4;font-size:10px;display:flex;justify-content:space-between;border-top:1px solid #edf0f5}.welcome-row,.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.eyebrow{font-size:9px;font-weight:800;letter-spacing:1.7px;color:#7390b7;margin-bottom:9px}.welcome-row h1,.page-heading h1{font-size:25px;letter-spacing:-.8px;margin:0;color:#1a2a40}.welcome-row p,.page-heading p{color:#8a96a7;margin:8px 0 0;font-size:12px}.wave{color:#f2b84b;font-size:20px}.date-chip{background:#edf3ff;color:#376bd0;border-radius:30px;padding:10px 14px;font-size:10px;font-weight:700;white-space:nowrap}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:20px}.stat-card,.panel{background:#fff;border:1px solid #edf0f5;border-radius:13px;box-shadow:0 5px 20px #203c6106}.stat-card{padding:18px 19px}.stat-top{display:flex;justify-content:space-between;color:#8b97a8;font-size:11px;font-weight:600}.stat-dot{width:7px;height:7px;border-radius:50%;background:#72a0f5;box-shadow:0 0 0 4px #edf3ff}.stat-value{font:800 27px 'Plus Jakarta Sans';letter-spacing:-1px;margin:15px 0 8px;color:#1d2d45}.stat-note{font-size:10px;color:#a2adba}.stat-note span{color:#3b7be5;margin-left:4px}.dashboard-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:17px}.welcome-panel{position:relative;overflow:hidden;min-height:270px;padding:27px 29px;background:linear-gradient(115deg,#18375f,#23538d);color:white;border:0}.panel-kicker{font-size:9px;letter-spacing:1.8px;color:#a6c4f4;font-weight:700}.welcome-panel h2{font-size:27px;line-height:1.25;letter-spacing:-1px;margin:17px 0 10px;position:relative;z-index:1}.welcome-panel h2 em{font-style:normal;color:#92baff}.welcome-panel p{max-width:380px;color:#c0d0e5;line-height:1.7;font-size:11px;margin:0 0 20px;position:relative;z-index:1}.btn{border:0;border-radius:8px;padding:11px 15px;font:700 11px 'DM Sans';display:inline-flex;align-items:center;gap:13px;justify-content:center;cursor:pointer;transition:.2s}.btn-primary{background:#316fe5;color:white;box-shadow:0 5px 12px #2864dc25}.btn-primary:hover{background:#1f59c8;transform:translateY(-1px)}.welcome-panel .btn-primary{background:#fff;color:#24569b;position:relative;z-index:2}.decor-orb{position:absolute;border:1px solid #ffffff19;border-radius:50%}.orb-one{width:240px;height:240px;right:-50px;top:-80px}.orb-two{width:180px;height:180px;right:20px;bottom:-120px;background:#ffffff08}.quick-panel{padding:22px}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.panel-heading h3,.table-toolbar h3{font-size:13px;margin:0}.panel-heading p,.table-toolbar p{font-size:10px;color:#98a3b1;margin:5px 0 0}.heading-icon{font-size:22px;color:#477ee1}.quick-link{display:flex;align-items:center;gap:12px;padding:12px 2px;border-top:1px solid #f0f2f6}.quick-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-size:16px}.quick-icon.blue{background:#edf3ff;color:#3975df}.quick-icon.purple{background:#f2efff;color:#8065d9}.quick-icon.orange{background:#fff4e8;color:#d58a37}.quick-link span:nth-child(2){flex:1}.quick-link b{display:block;font-size:11px}.quick-link small{display:block;color:#98a3b1;font-size:9px;margin-top:4px}.quick-link strong{color:#9aa8ba}.notice{display:flex;gap:12px;background:#eef5ff;border:1px solid #dfebff;border-radius:10px;padding:13px 16px;margin-top:18px;color:#4674bb}.notice>span{font-size:18px}.notice b{font-size:10px}.notice p{font-size:10px;margin:4px 0 0;color:#7189aa}.page-heading{margin-bottom:23px}.page-heading .btn{white-space:nowrap}.table-panel{padding:20px;margin-bottom:18px}.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}.search-input{border:1px solid #e7ebf1;border-radius:7px;padding:9px 12px;font:11px 'DM Sans';outline:none;min-width:190px}.search-input:focus,.field:focus{border-color:#77a2ef;box-shadow:0 0 0 3px #eaf1ff}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th{text-align:left;color:#8793a4;font-size:9px;text-transform:uppercase;letter-spacing:.8px;font-weight:700;padding:11px 12px;background:#f8f9fc;border-top:1px solid #eef1f5;border-bottom:1px solid #eef1f5}td{padding:13px 12px;border-bottom:1px solid #f0f2f6;font-size:11px;color:#536176}td b{color:#29394f;font-size:11px}tbody tr:hover{background:#fbfcff}.empty{text-align:center;padding:30px;color:#9ba6b4}.code-pill{display:inline-block;background:#edf3ff;color:#376bd0;padding:5px 7px;border-radius:5px;font-size:9px;font-weight:700}.table-sub{display:block;color:#9aa5b4;font-size:9px;margin-top:4px}.btn-icon{border:1px solid #e8edf4;background:white;color:#6680a4;border-radius:6px;width:29px;height:29px;cursor:pointer}.btn-icon.danger{color:#d85a65}.actions{display:flex;gap:5px}.actions form{margin:0}.modal-backdrop{display:none;position:fixed;inset:0;background:#0c1b2e80;z-index:40;align-items:center;justify-content:center;padding:20px}.modal-backdrop.open{display:flex}.modal{background:white;border-radius:14px;width:min(480px,100%);padding:23px;max-height:90vh;overflow:auto;box-shadow:0 20px 70px #08172b50}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:18px}.modal-head h3{margin:0;font-size:16px}.modal-head p{margin:5px 0;color:#9aa5b4;font-size:10px}.modal label,.login-form label{display:block;font-size:10px;font-weight:700;color:#526178;margin:13px 0 7px}.field{width:100%;border:1px solid #e4e9f0;border-radius:7px;padding:11px 12px;font:12px 'DM Sans';outline:none;background:white;color:#29394f}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}.btn-ghost{background:#f1f3f7;color:#637187}.alert{padding:12px 15px;border-radius:8px;font-size:11px;margin-bottom:16px}.alert.success{background:#e9f8f1;color:#16845f}.alert.error{background:#fff0f0;color:#c74750}.badge-soft{background:#f0f5ff;color:#4b75bf;padding:7px 10px;border-radius:20px;font-size:9px;font-weight:700}.check{width:16px;height:16px;accent-color:#316fe5}.krs-submit-row{padding:17px 5px 2px;display:flex;justify-content:space-between;align-items:center}.krs-submit-row>div small{display:block;color:#8d9aaa;font-size:9px}.krs-submit-row strong{font-size:22px;color:#2c65cf}.krs-submit-row strong small{display:inline;font-size:10px}.history-panel{margin-top:20px}.status{display:inline-block;padding:5px 8px;border-radius:20px;font-size:9px;font-weight:700}.status.pending{background:#fff5e5;color:#bd8125}.status.approved{background:#e7f7ef;color:#17865f}.status.rejected{background:#fff0f0;color:#c64b55}.text-link{color:#3974d9;font-size:10px;font-weight:700}.inline-actions{display:flex;gap:5px}.btn-mini{padding:7px 9px;font-size:9px;border-radius:6px}.btn-success{background:#e5f6ee;color:#16845f}.btn-danger{background:#fff0f0;color:#c64b55}.muted{color:#9aa5b4;font-size:10px}.login-body{background:#f3f6fb;min-height:100vh;display:grid;place-items:center;padding:28px}.login-wrap{width:min(1050px,100%);min-height:630px;background:white;border-radius:20px;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;box-shadow:0 25px 80px #1b355215}.login-visual{background:linear-gradient(145deg,#142b4a,#214f88);padding:35px 42px;color:white;display:flex;flex-direction:column;position:relative;overflow:hidden}.brand-white{margin:0}.login-hero{margin:auto 0;position:relative;z-index:2}.eyebrow.light{color:#a7c5f3}.login-hero h1{font-size:39px;line-height:1.2;letter-spacing:-1.8px;margin:18px 0}.login-hero h1 em{font-style:normal;color:#8db7ff}.login-hero p{max-width:360px;color:#c1d1e6;line-height:1.8;font-size:12px}.login-bottom{font-size:9px;color:#91a8c7;position:relative;z-index:2}.login-shape{position:absolute;width:360px;height:360px;border:1px solid #ffffff20;border-radius:50%;right:-170px;bottom:-150px;box-shadow:0 0 0 35px #ffffff08,0 0 0 75px #ffffff05}.login-form-side{display:grid;place-items:center;padding:45px}.login-form{width:min(350px,100%)}.login-form h2{font-size:25px;letter-spacing:-.8px;margin:0 0 8px}.muted{line-height:1.6}.login-form form{margin-top:27px}.login-form .field{padding:13px}.login-form .btn{margin-top:22px;padding:13px}.btn-full{width:100%}.login-disclaimer{display:block;color:#a3adba;font-size:9px;margin-top:18px;line-height:1.6}.mobile-brand{display:none}.print-body{background:#eef1f5;padding:25px}.print-actions{max-width:850px;margin:0 auto 15px;display:flex;justify-content:space-between}.print-sheet{background:white;max-width:850px;min-height:700px;margin:auto;padding:55px 60px;box-shadow:0 8px 30px #1d2d4510}.print-brand{font:800 25px 'Plus Jakarta Sans';color:#2864dc}.print-brand span{color:#1d2d45}.print-sheet h2{text-align:center;font-size:18px;margin:25px 0 5px}.print-sheet>p{text-align:center;font-size:9px;color:#8491a2}.print-sheet hr{border:0;border-top:2px solid #233d60;margin:22px 0}.print-meta{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:25px}.print-meta small{display:block;color:#8c98a8;font-size:9px;margin-bottom:4px}.print-meta b{font-size:11px}.print-sheet table{white-space:normal}.print-sheet th,.print-sheet td{font-size:9px;padding:10px 8px}.print-total{margin:20px 0 0 auto;width:240px;display:grid;grid-template-columns:1fr auto;gap:12px;font-size:11px}.signature{display:flex;justify-content:space-between;margin:80px 25px 0;font-size:10px}.print-note{text-align:center;color:#a0a9b6;font-size:8px;margin-top:55px}
@media(max-width:1050px){.sidebar{width:220px}.main-area{margin-left:220px}.content{padding:27px 25px}.topbar{padding:0 25px}.stats-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:.25s;width:250px}.sidebar.show{transform:translateX(0)}.main-area{margin-left:0}.menu-toggle{display:block;border:0;background:none;font-size:20px;color:#49617e}.topbar{height:65px;padding:0 16px;gap:12px;justify-content:flex-start}.crumb{flex:1}.top-user{gap:7px}.top-user>div:nth-child(2){display:none}.logout-link{margin-left:4px}.content{padding:24px 15px}.welcome-row,.page-heading{align-items:flex-start;flex-direction:column}.date-chip{align-self:flex-start}.stats-grid{gap:10px}.stat-card{padding:14px}.stat-value{font-size:23px}.dashboard-grid{grid-template-columns:1fr}.welcome-panel{min-height:250px}.main-footer{padding:15px;gap:8px;flex-direction:column}.table-panel{padding:14px}.table-toolbar{align-items:flex-start;flex-direction:column}.search-input{width:100%}.login-body{padding:0}.login-wrap{border-radius:0;min-height:100vh;grid-template-columns:1fr}.login-visual{display:none}.login-form-side{padding:28px}.mobile-brand{display:flex;align-items:center;gap:10px;margin-bottom:55px;color:#1d2d45}.mobile-brand .brand-mark{color:white}.login-form{max-width:390px}.print-body{padding:10px}.print-sheet{padding:25px 18px}.print-meta{gap:10px}.print-sheet table{font-size:8px}.print-sheet th,.print-sheet td{padding:7px 4px}.print-actions{padding:0 5px}}
@media print{.print-body{background:white;padding:0}.print-actions{display:none}.print-sheet{box-shadow:none;margin:0;max-width:none;padding:15mm}.print-note{margin-top:35px}}


/* =========================================
   WARKRS - MODERN CRUD DESIGN
========================================= */

.crud-page {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.crud-heading {
    align-items: center;
    gap: 18px;
}

.crud-heading h1 {
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -.7px;
    margin: 5px 0;
}

.crud-heading p {
    color: #8190a5;
    font-size: 12px;
    margin: 0;
}

.crud-add-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 17px;
    box-shadow: 0 5px 14px rgba(40, 100, 220, .15);
}

.crud-plus {
    font-size: 17px;
}

/* Ringkasan data */
.crud-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    width: fit-content;
    min-width: 230px;
    padding: 17px 22px;
    background: linear-gradient(135deg, #ffffff, #f5f8ff);
    border: 1px solid #e8eef8;
    border-radius: 14px;
}

.crud-summary-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 47px;
    height: 47px;
    border-radius: 13px;
    background: #eaf1ff;
    color: #2864dc;
    font-size: 24px;
}

.crud-summary-label,
.crud-summary small {
    display: block;
    color: #8491a5;
    font-size: 11px;
}

.crud-summary strong {
    display: block;
    color: #1d3150;
    font-size: 23px;
    margin: 2px 0;
}

/* Tabel */
.crud-table-card {
    border: 1px solid #e9edf4;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}

.crud-toolbar {
    padding-bottom: 19px;
    gap: 15px;
}

.crud-toolbar h3 {
    color: #1b304e;
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 5px;
}

.crud-toolbar p {
    color: #8995a8;
    font-size: 11px;
    margin: 0;
}

.crud-search-wrapper {
    position: relative;
    width: 240px;
}

.crud-search {
    width: 100%;
    padding-left: 35px !important;
}

.crud-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #8492a7;
    font-size: 20px;
    pointer-events: none;
}

.crud-table {
    width: 100%;
    border-collapse: collapse;
}

.crud-table thead th {
    background: #f5f7fb;
    color: #65758e;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .55px;
    white-space: nowrap;
}

.crud-table tbody td {
    color: #43536b;
    font-size: 12px;
}

.crud-table tbody tr:hover {
    background: #f8faff;
}

.crud-action-heading {
    text-align: center;
}

.crud-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.crud-delete-form {
    display: inline-flex;
    margin: 0;
}

.crud-edit-button,
.crud-delete-button {
    width: 33px;
    height: 33px;
    border-radius: 9px;
    background: #f3f6fc;
    border: 1px solid #e8edf5;
    color: #2864dc;
    cursor: pointer;
    transition: .2s ease;
}

.crud-edit-button:hover {
    background: #e8f0ff;
    border-color: #cbdcff;
}

.crud-delete-button {
    color: #d94b5b;
}

.crud-delete-button:hover {
    background: #fff0f1;
    border-color: #ffd4d8;
}

.crud-table-footer {
    padding-top: 14px;
    color: #8995a8;
    font-size: 11px;
}

/* Data kosong */
.crud-empty {
    padding: 40px 15px !important;
    text-align: center;
    color: #8190a5 !important;
}

.crud-empty-icon {
    font-size: 30px;
    color: #a9b9d3;
    margin-bottom: 8px;
}

.crud-empty strong {
    display: block;
    color: #40516a;
    font-size: 13px;
}

.crud-empty p {
    margin: 5px 0 0;
    font-size: 11px;
}

/* Modal formulir */
.crud-modal {
    width: min(540px, calc(100% - 30px));
    max-width: 540px;
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 20px 65px rgba(20, 43, 74, .18);
}

.crud-modal-head {
    margin-bottom: 22px;
}

.crud-modal-head h3 {
    color: #1c3150;
    font-size: 18px;
    font-weight: 800;
    margin: 6px 0;
}

.crud-modal-head p {
    color: #8995a8;
    font-size: 11px;
    margin: 0;
}

.crud-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.crud-field-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.crud-field-group label {
    color: #42536d;
    font-size: 11px;
    font-weight: 700;
    margin: 0;
}

.crud-required {
    color: #e34d5d;
}

.crud-field-group .field {
    width: 100%;
    min-height: 42px;
    border: 1px solid #e0e7f0;
    border-radius: 9px;
    padding: 10px 12px;
    background: #fbfcfe;
    color: #263750;
    font-size: 12px;
    transition: .2s ease;
}

.crud-field-group .field:focus {
    outline: none;
    border-color: #5689e9;
    background: #fff;
    box-shadow: 0 0 0 3px #eaf1ff;
}

.crud-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 25px;
}

/* Tampilan HP */
@media(max-width: 760px) {
    .crud-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .crud-heading h1 {
        font-size: 22px;
    }

    .crud-summary {
        width: 100%;
    }

    .crud-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .crud-search-wrapper {
        width: 100%;
    }

    .crud-modal {
        padding: 19px;
    }

    .crud-modal-actions {
        flex-wrap: wrap;
    }
}
