/* =========================================================
   DIREKTORI SISTEM
   Institutional / Government Portal
========================================================= */

.systems-page {
    background: #f4f6f8;
}

/* =========================================================
   HEADING
========================================================= */

.systems-heading {
    padding: 30px 0 26px;
    border-bottom: 1px solid #dce2e8;
    background: #ffffff;
}

.systems-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #7a8491;
    font-size: 12px;
}

.systems-breadcrumb a {
    color: #4c5a6b;
    text-decoration: none;
}

.systems-breadcrumb a:hover {
    color: #0b3568;
    text-decoration: underline;
}

.systems-title-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.systems-kicker {
    margin: 0 0 5px;
    color: #9d0b2a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.systems-title-row h1 {
    margin: 0 0 7px;
    color: #0b3568;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
}

.systems-intro {
    max-width: 850px;
    margin: 0;
    color: #4d5968;
    font-size: 14px;
    line-height: 1.65;
}

.systems-total {
    min-width: 145px;
    padding-left: 20px;
    border-left: 3px solid #9d0b2a;
    text-align: right;
}

.systems-total span {
    display: block;
    margin-bottom: 3px;
    color: #6d7784;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.systems-total strong {
    display: block;
    color: #0b3568;
    font-size: 30px;
    font-weight: 800;
}

/* =========================================================
   CONTENT
========================================================= */

.systems-content {
    padding: 26px 0 55px;
}

.systems-content .container {
    max-width: 1280px;
}

/* =========================================================
   CATEGORY FILTER
========================================================= */

.systems-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 18px;
    border: 1px solid #cfd7df;
    background: #ffffff;
}

.systems-filter {
    min-height: 44px;
    padding: 10px 15px;
    border: 0;
    border-right: 1px solid #d8dee5;
    color: #27384c;
    background: #ffffff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.systems-filter:hover {
    color: #0b3568;
    background: #f3f6f9;
}

.systems-filter.active {
    color: #ffffff;
    background: #0b3568;
}

/* =========================================================
   PANEL
========================================================= */

.systems-panel {
    border: 1px solid #cfd7df;
    background: #ffffff;
}

.systems-panel-header {
    padding: 18px 20px 14px;
    border-bottom: 1px solid #dce2e8;
}

.systems-panel-header h2 {
    margin: 0 0 3px;
    color: #0b3568;
    font-size: 20px;
    font-weight: 800;
}

.systems-panel-header p {
    margin: 0;
    color: #707b88;
    font-size: 12px;
}

/* =========================================================
   SEARCH
========================================================= */

.systems-search-row {
    padding: 14px 20px;
    border-bottom: 1px solid #dce2e8;
    background: #f8f9fb;
}

.systems-search-field {
    position: relative;
    max-width: 620px;
}

.systems-search-field i {
    position: absolute;
    top: 50%;
    left: 13px;
    color: #7b8591;
    transform: translateY(-50%);
}

.systems-search-field input {
    width: 100%;
    height: 40px;
    padding: 8px 12px 8px 37px;
    border: 1px solid #bac4cf;
    border-radius: 4px;
    background: #ffffff;
    color: #27384c;
    font-size: 12px;
    outline: none;
}

.systems-search-field input:focus {
    border-color: #0b3568;
    box-shadow: 0 0 0 2px rgba(11,53,104,.08);
}

/* =========================================================
   TABLE
========================================================= */

.systems-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.systems-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 12px;
}

.systems-table th {
    padding: 11px 12px;
    border-right: 1px solid #294f7c;
    border-bottom: 1px solid #183e6a;
    color: #ffffff;
    background: #0b3568;
    font-size: 10.5px;
    font-weight: 800;
    text-align: left;
    text-transform: uppercase;
}

.systems-table th:last-child {
    border-right: 0;
}

.systems-table td {
    padding: 13px 12px;
    border-right: 1px solid #d9e0e6;
    border-bottom: 1px solid #d9e0e6;
    vertical-align: top;
    color: #2f3b49;
    background: #ffffff;
}

.systems-table tr:nth-child(even) td {
    background: #fafbfc;
}

.systems-table tbody tr:hover td {
    background: #f1f5f8;
}

.systems-table td:last-child {
    border-right: 0;
}

.systems-table .col-no {
    width: 60px;
}

.systems-table .col-system {
    width: 400px;
}

.systems-table .col-category {
    width: 150px;
}

.systems-table .col-status {
    width: 100px;
}

.systems-table .col-action {
    width: 145px;
}

.systems-number {
    text-align: center;
    font-weight: 700;
}

/* =========================================================
   SYSTEM NAME
========================================================= */

.systems-name-cell {
    display: grid;
    grid-template-columns: 42px minmax(0,1fr);
    gap: 11px;
    align-items: center;
}

.systems-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #c9d4df;
    border-radius: 4px;
    color: #0b3568;
    background: #f3f6f9;
    font-size: 16px;
}

.systems-name-cell strong {
    display: block;
    margin-bottom: 2px;
    color: #0b3568;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
}

.systems-name-cell span {
    display: block;
    color: #7a8491;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

/* =========================================================
   LABELS
========================================================= */

.systems-category-label {
    display: inline-block;
    padding: 4px 8px;
    border: 1px solid #c6d2df;
    border-radius: 3px;
    color: #30445d;
    background: #f4f7fa;
    font-size: 9.5px;
    font-weight: 800;
    text-transform: uppercase;
}

.systems-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 9.5px;
    font-weight: 800;
    text-transform: uppercase;
}

.systems-status.active {
    border: 1px solid #a7c6b4;
    color: #28623f;
    background: #f1f7f3;
}

.systems-status.inactive {
    border: 1px solid #d8b5bd;
    color: #8b3044;
    background: #faf2f4;
}

/* =========================================================
   ACTION
========================================================= */

.systems-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid #0b3568;
    border-radius: 4px;
    color: #0b3568;
    background: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.systems-action:hover {
    color: #ffffff;
    background: #0b3568;
}

.systems-action.disabled {
    border-color: #d5dbe1;
    color: #9aa3ad;
    background: #f6f7f8;
}

/* =========================================================
   EMPTY
========================================================= */

.systems-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 45px 20px;
    color: #707b88;
    text-align: center;
}

.systems-empty i {
    margin-bottom: 10px;
    color: #8f99a5;
    font-size: 30px;
}

.systems-empty strong {
    margin-bottom: 4px;
    color: #27384c;
    font-size: 14px;
}

.systems-empty span {
    font-size: 12px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 992px) {

    .systems-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .systems-total {
        padding-left: 14px;
        text-align: left;
    }

    .systems-filter-bar {
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .systems-filter {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

@media (max-width: 700px) {

    .systems-heading {
        padding: 22px 0 20px;
    }

    .systems-title-row h1 {
        font-size: 28px;
    }

    .systems-table {
        table-layout: auto;
    }

    .systems-table thead {
        display: none;
    }

    .systems-table,
    .systems-table tbody,
    .systems-table tr,
    .systems-table td {
        display: block;
        width: 100%;
    }

    .systems-table tr {
        border-bottom: 1px solid #cfd7df;
    }

    .systems-table td {
        padding: 9px 12px;
        border-right: 0;
        border-bottom: 1px solid #edf0f2;
    }

    .systems-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 4px;
        color: #77818e;
        font-size: 9px;
        font-weight: 800;
        text-transform: uppercase;
    }

    .systems-number {
        display: none !important;
    }

    .systems-action {
        width: 100%;
    }
}