.system-page {
    background: #f8f9fa;
}

.system-page .container {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.system-page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.system-page-title {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin: 0;
    font-weight: 500;
}

.system-page-title .bi {
    color: #0d6efd;
    font-size: .9em;
}

.system-page-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .5rem;
}

.system-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
}

.system-page .card {
    border-color: #dee2e6;
    border-radius: .5rem;
}

.system-page .card-header {
    background: #f8f9fa;
    font-weight: 600;
}

.system-page .table > :not(caption) > * > * {
    vertical-align: middle;
}

.system-page .table-actions {
    width: 180px;
    text-align: right;
    white-space: nowrap;
}

.system-page .table-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}

.system-page .filter-actions {
    display: flex;
    gap: .5rem;
}

.system-page .management-card .card-body {
    overflow-x: auto;
}

.system-page .management-card .table {
    margin-bottom: 1rem;
}

.system-page .management-card .management-add-form {
    min-width: 420px;
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
}

.system-page .search-card {
    padding: 1rem;
}

.system-form-shell {
    max-width: 820px;
}

.system-page .system-stat-card {
    border: 1px solid #dee2e6;
    border-radius: .5rem;
    box-shadow: 0 .25rem .75rem rgba(15, 23, 42, .05);
}

.system-page .settlements-kpi {
    border-color: #b6d4fe;
    background: #f4f9ff;
}

.system-page .settlements-kpi .card-title {
    color: #495057;
}

.system-page .form-submit-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    padding-top: .5rem;
}

@media (max-width: 575.98px) {
    .system-page-header,
    .system-page-actions {
        align-items: stretch;
    }

    .system-page-header,
    .system-page-actions,
    .system-page-actions .btn {
        width: 100%;
    }

    .system-page-actions .btn {
        min-height: 2.5rem;
    }

    .system-page-actions > form,
    .system-page-actions > form .btn {
        width: 100%;
    }

    .system-page .filter-actions {
        flex-direction: column;
    }
}
